The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 FFT
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mtremblay

Albania
Posts

Posted - 03/16/2009 :  12:36:16 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver 8 SR4 and Service Release (Select Help-->About Origin):
Operating System: XP

From a Labtalk script in Origin 7.5, I call an OriginC file which computes an FFT of a specified signal. The OriginC file I use is similar to the example file you have posted at www.originlab.com/ftp/programming/FFTUsingNAG.c.

The line that calls the FFT function is:
int iRet = FFT(VstimIn, VstimOut);

Where VstimIn, VstimOut are complex vectors.

When I run my file in Origin8 it appears OriginC cannot find the FFT function that is called and posts the following error in CodeBuilder.

compiling...
MNAGFFT.C

C:\PROGRA~1\ORIGINLAB\ORIGIN8\MNAGFFT.C(46) :Error, Function FFT@IAAAAAAAMAAABAAAMAAABAAA was called, but its body could not be located during linking.

I did add the #include <OC_nag8.h> statement to the OriginC file for the NAG files.

Did the FFT call in Origin8 change, if so what is the equivalent call in Origin8?


Deanna

China
Posts

Posted - 03/19/2009 :  11:21:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please see this QuickHelp item for the solution:
http://wiki.originlab.com/~originla/howto/index.php?title=QuickHelp:Why_is_there_a_compile_error_for_the_FFT_function_call_in_my_program

Deanna
OriginLab Technical Services

Edited by - Deanna on 03/20/2009 05:45:22 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000