Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
espenhjo
Posted - 11/15/2004 : 03:22:03 AM Origin Version (Select Help-->About Origin): 7.5 SR4 Operating System: WinXP
I have the function find_roots_x in my workspace, compiled and linked. I also have a header file find_roots_x.h with the following content:
#ifndef _FIND_ROOTS_X_H #define _FIND_ROOTS_X_H
int find_roots_x(string strFunc1, double dXLo, double dXHi, double strFunc2);
#endif
This header file is included in nlsf.fit with the line: #include <find_roots_x.h>
Even though I get error messages when I try to compile an NLSF function which calls the function find_roots_x: C:\Documents and Settings\ejohanne\Application Data\OriginLab\Origin75E\User Files\OriginC\NLSF\_nlfParPlaneOriginC.fit(50) :Error, function or variable find_roots_x not found
I have used the same approach earlier with another function and then it worked. What could be wrong?
-- Espen
1 L A T E S T R E P L I E S (Newest First)
espenhjo
Posted - 11/16/2004 : 02:08:31 AM I found the solution.
The header files also had to be included in the fitting function file!