(Using Origin 8.0.63.988 SR6 on Windows XP Pro)
I wrote an elaborate Origin C code to import, process, and analyze my data. It worked like a charm, including fitting using NLFitSession, which requires "..\originlab\NLFitSession.h".
Then, I closed Origin, and when I started it again later and try to compile, I get this:
compiling...
myfile.c
compiling...
NumFunctionOrganizer__PCH.OPH
compiling...
NLFitSession__PCH.OPH
Linking...
C:\Program Files\Origin8\OriginC\originlab\NUMFUNCTIONORGANIZER.H(1222) :Error, Function nlsf_get_category_list@IAAAAAAALBAABAAA was called, but its body could not be located during linking.
Linking Failed!
The code the message is referring to is this
int NLFunctionList::GetCategoryList(vector<string> &vsCategorys)
{
///Jasmine 02/17/09 QA80-10378 SHARE_FUNCTION_ORGANIZER_CODE_WITH_SELECTCAT
return nlsf_get_category_list(vsCategorys);
///End SHARE_FUNCTION_ORGANIZER_CODE_WITH_SELECTCAT
}
I have never even opened this file before. I tried to replace the line with 'return 0' to no effect. I stripped down my code to only
#include <Origin.h>
#include <..\originlab\NLFitSession.h>
and still the problem remains.
So now I'm stuck with loads of data and a hundreds of lines of code that don't do ****. Has anyone have ANY idea how to solve this problem?