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
 LabTalk Forum
 Custom FitFunc - Code Builder compiling problem

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
PaDx9 Posted - 06/13/2024 : 05:49:00 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin 2023b (64-bit) SR1
Operating System: Windows 11

I tried to create a custom fitting function, see the following .FDF file.

https://my.originlab.com/ftp/forum_and_kbase/Images/testCoreShellCylinder.FDF

There are no invisible non-ASCII characters.

When trying to compile this, I get the errors:

Linking...
Done!
compiling...
_nlftestCoreShellCylinder.fit
C:\Users\XXX\AppData\Local\OriginLab\100b\TMP\OriginC\NLSF\_nlftestCoreShellCylinder.fit(103) :Error, invalid ascii char notation
C:\Users\XXX\AppData\Local\OriginLab\100b\TMP\OriginC\NLSF\_nlftestCoreShellCylinder.fit(103) :Error, invalid ascii char notation
C:\Users\XXX\AppData\Local\OriginLab\100b\TMP\OriginC\NLSF\_nlftestCoreShellCylinder.fit(103) :Error, general compile error
C:\Users\XXX\AppData\Local\OriginLab\100b\TMP\OriginC\NLSF\_nlftestCoreShellCylinder.fit(85) :Error, error(s) found in compiling function _nlsftestCoreShellCylinder
Compile Failed!



I have no idea what causes these errors. Can anyone please help me to find the error(s) in the code?

2   L A T E S T    R E P L I E S    (Newest First)
PaDx9 Posted - 06/14/2024 : 04:08:40 AM
quote:
Originally posted by YimingChen

To initialize the parameter list, use the syntax:

my_params params;
params.a = a;
params.Lc = Lc;
params.fi = fi;
...


James



It worked, thanks!
YimingChen Posted - 06/13/2024 : 09:35:15 AM
To initialize the parameter list, use the syntax:

my_params params;
params.a = a;
params.Lc = Lc;
params.fi = fi;
...


James

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