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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 NLFitSession Err,. Function nlsf_get_category_list

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
t.n.vader Posted - 08/17/2010 : 9:09:05 PM
(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?
2   L A T E S T    R E P L I E S    (Newest First)
t.n.vader Posted - 08/17/2010 : 11:50:43 PM
Thank you very much for the quick and helpful reply. All's working again, now!
Penn Posted - 08/17/2010 : 10:35:25 PM
Hi,

The error message said that the function body of nlsf_get_category_list, which was defined in nlsf_utils.c, was not included in the current workspace. In your issue, you need to use the following script to include and compile the OriginC\Originlab\nlsf_utils.c file to your current workspace first.

Run.LoadOC(Originlab\nlsf_utils.c, 16)

You can refer to this page for more details.

Penn

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000