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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Linking error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Mike Buess

USA
3037 Posts

Posted - 02/18/2004 :  5:21:53 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
A colleague gets the following linking error (Origin 7.5 SR1)...

C:\Program Files\OriginLab\Origin75\OriginC\system\internal.c(345) :Error, cannot find DLL @OUTL for external function

Earlier messages indicate the internal.c was compiled. How can he fix it? Is it possible he has the wrong version of internal.c?

Mike Buess
Origin WebRing Member

cpyang

USA
1406 Posts

Posted - 02/18/2004 :  7:00:18 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Cannot think of a reason.

What if you restart Origin and do a New Workspace and just add a new file and compile that, do you still see this error?

What other files are in the system folder?

CP


Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 02/18/2004 :  8:47:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
He sees errors during the startup compilation of the system folder so I asked him to Rebuild All and send me compiler messages. This is what he saw

compiling...
Origin.C
compiling...
internal.c
compiling...
sys_utils.c
compiling...
LT_wks.c
compiling...
LT_math.c
compiling...
OriginEvents.OP
compiling...
onmr.c
compiling...
matrix.c
compiling...
page_utils.c
compiling...
theme_utils.OP
compiling...
tree_utils.c
compiling...
analysis_utils.c
compiling...
LT_PE.c
compiling...
GetNBox.OP
Linking...
C:\Program Files\OriginLab\Origin75\OriginC\system\internal.c(345) :Error,
cannot find DLL @OUTL for external function
Linking Failed!

onmr.c is an NMR Tools file with which I've never had problems before, but you can look at it here. The rest look like the standard system files.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 02/18/2004 8:53:59 PM
Go to Top of Page

Iris_Bai

China
Posts

Posted - 02/18/2004 :  11:10:52 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I add a own c file into System folder of Code builder window and make some change in one *.h file. Then launch Origin again and all c files compile and link fine.

So cannot reproduce the problem Origin7.5 Sr1 here.

Could you give more detail regarding this?
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 02/18/2004 :  11:44:56 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I can't reproduce the problem either. I'll ask him to remove the custom c file from his system folder and try again.

Mike Buess
Origin WebRing Member
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 02/19/2004 :  5:04:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
My friend removed onmr.c from CodeBuilder's system folder and still gets the linking error. I sent him my copy of internal.c (also from 7.5 SR1) but that didn't help either. Now all he has in his CB workspace are the standard System files. (See list above.) He will contact support directly but I wanted to check for ideas here in the meantime.

Mike Buess
Origin WebRing Member
Go to Top of Page

hajo_old

Germany
141 Posts

Posted - 02/20/2004 :  03:11:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Mike

did you thy out to remove the user folder and set up a new one? So a compilation of all files from scratch is forced.
I darkly can rember of some similar problems switching from v7.5beta2 to beta3; solved that by killing the whole user installation path ...

Maybe that helps.
Hajo

-- --
Dipl.-Ing. Hans-Joerg Koch
Siemens VDO, Regensburg

SVDO_Origin1 is now hajo
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 02/20/2004 :  08:04:07 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Hajo,

That's definitely worth a try. Would it be sufficient to delete the OCTemp folder on the user path?

Mike Buess
Origin WebRing Member
Go to Top of Page

hajo_old

Germany
141 Posts

Posted - 02/20/2004 :  10:01:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Mike

you can try at a first attempt! I always choosed the "hard" version by deleting the complete user folder ...

But ... who knows ...

So far
Hajo

-- --
Dipl.-Ing. Hans-Joerg Koch
Siemens VDO, Regensburg

SVDO_Origin1 is now hajo
Go to Top of Page

pga

USA
Posts

Posted - 09/25/2007 :  11:04:56 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

Hi there!
i've just started in origin.i get exactly the same error message

"C:\Program Files\OriginLab\Origin75\OriginC\system\internal.c(345) :Error, cannot find DLL @OUTL for external function"

just by trying the programming tutorials or when trying to compile internal.c

I also get the following message:
"System Folder build failed! Please resolve"
in the script window when i start origin.

I am on WinXP and Origin 7.5 SR4.
I deleted the user path and redefined it as suggested in a previous post but it didn't work. Is there another way to resolve this?

Thanks in advance for any help.

G.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 09/26/2007 :  01:09:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
http://www.originlab.com/www/support/resultstech.aspx?ID=1080&language=English

Mike Buess
Origin WebRing Member
Go to Top of Page

pga

USA
Posts

Posted - 09/26/2007 :  8:28:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
thanks again!

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000