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
 why the smooth functin could not be compiled

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
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

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