| T O P I C R E V I E W |
| kenkenken |
Posted - 01/06/2007 : 01:01:08 AM Origin Version 7.0(Select Help-->About Origin): Operating System: windowsXP
Following is my test program. However when I try to compile it, it always said "Error, Function smooth@HAKAaHAHAHAHA was called, but its body could not be located during linking."
#include <origin.h> #include <graph.h> #include <data.h> #include <wksheet.h> #include <page.h> #include <stdio.h> void temp() { Worksheet wks("Data1"); Curve crv(wks,1); smooth(crv,1); }
|
| 2 L A T E S T R E P L I E S (Newest First) |
| Mike Buess |
Posted - 01/06/2007 : 08:08:04 AM If Zachary's solution doesn't work you should update to the latest version of Origin 7.0 (SR4) by running Help > Check for Updates.
Mike Buess Origin WebRing Member |
| zachary_origin |
Posted - 01/06/2007 : 06:22:43 AM Hi,
Take a look at the "System" branch of the Workspace (the left panel) in Code Builder and make sure there is a file named internal.c. By default, it should be there. But if not, you need right click "system", select "add file" and then browser to Installation/OriginC/System/internal.c. After that, it will be compiled without error (maybe Rebuild All is needed).
By the way, graph.h, data.h.... have been included in Origin.h (you can see this by locating the cursor beside the text of "origin.h", right-click the button and select '"open origin.h"). So you do not need include these header files again.
Zachary OriginLab Technical Services.
Edited by - zachary_origin on 01/06/2007 06:28:06 AM |
|
|