C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28629
Number of posts: 94611

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
unresolved external error when linking Posted by hondashadow on 30 Aug 2007 at 6:46 AM
Hi!

I am using C++ builder 5, and I get the following error:

[Linker Error] Unresolved external 'GetRLSimuValue(float, float)' referenced from C:\PROJECT\COMMON\RFCS.OBJ

I added the RFCS.OBJ file to my project but keep getting this error.

Can anyone tell me how to solve this?
Report
Re: unresolved external error when linking Posted by MT2002 on 30 Aug 2007 at 5:55 PM

Is there a library file (RFCS.LIB, perhaps?) that you need to link with?


[.:EvolutionEngine][.:MicroOS Operating System][Website :: OS Development Series]
Report
Re: unresolved external error when linking Posted by hondashadow on 31 Aug 2007 at 2:35 AM
:
: Is there a library file (RFCS.LIB, perhaps?) that you need to link
: with?
:
:
[.:EvolutionEngine][.:MicroOS
: Operating
: System][Website
: :: OS Development Series]

:

Good point. I'll check on that.
Thanks!
Report
Re: unresolved external error when linking Posted by hondashadow on 4 Sept 2007 at 2:44 AM
:
: Is there a library file (RFCS.LIB, perhaps?) that you need to link
: with?
:
I looked but there's no LIB file to be found. I also don't understand why it says that: I looked inside the rfcs.cpp file and I can't find any call to this function? Or am I misreading the error message and should I be looking somewhere else?
Report
Re: unresolved external error when linking Posted by MT2002 on 4 Sept 2007 at 3:25 AM
RFCS.OBJ is refrencing the function 'GetRLSimuValue'. However the linker cannot find the symbol--which is what the error is saying.

It is not referring to RFCS.cpp, it is referring to the compilied object file.

One of the source files that are used to build RFCS.OBJ are refrencing 'GetRLSimuValue', but the linker cant find it to link and resolve the final symbols (to build the final *.exe)

This can also be any externel libraries that your code is using. i.e., if you are using Win32 API, or another API library that calls that routine.


[.:EvolutionEngine][.:MicroOS Operating System][Website :: OS Development Series]
Report
Re: unresolved external error when linking Posted by BitByBit_Thor on 4 Sept 2007 at 3:26 AM
: :
: : Is there a library file (RFCS.LIB, perhaps?) that you need to link
: : with?
: :
: I looked but there's no LIB file to be found. I also don't
: understand why it says that: I looked inside the rfcs.cpp file and I
: can't find any call to this function? Or am I misreading the error
: message and should I be looking somewhere else?

I'd say you're looking in the right place. It might be 'hidden from sight' using macro's.
Did you Search through the code or go through it manually?
There might be a compiler option to only do a preprocessor step and output to the 'unrolled' code to a file.

Best Regards,
Richard

The way I see it... Well, it's all pretty blurry



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.