BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unresolved External

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Claude
Guest





PostPosted: Fri Apr 02, 2004 2:16 pm    Post subject: Unresolved External Reply with quote



Hi,

I am getting: [Linker Error] Unresolved external 'ReportAnError(...)'

I have my library file that contains ReportAnError in a directory in my
library path but the linker can't find the library.
I 'edit option source' and add the library file to either SPARELIBS or
LIBFILES and the program links.
How do I add my library using ide? Which menu item?
I have 20 programs. Is there a way to have the library file found without
updating 20 programs?


Back to top
Arnie Mauer
Guest





PostPosted: Fri Apr 02, 2004 2:46 pm    Post subject: Re: Unresolved External Reply with quote



"Claude" <claude (AT) dev (DOT) scomage.com> wrote

Quote:
Hi,

I am getting: [Linker Error] Unresolved external 'ReportAnError(...)'

I have my library file that contains ReportAnError in a directory in my
library path but the linker can't find the library.
I 'edit option source' and add the library file to either SPARELIBS or
LIBFILES and the program links.
How do I add my library using ide? Which menu item?
I have 20 programs. Is there a way to have the library file found without
updating 20 programs?

I think you'll have to add the LIB to all of the projects. Otherwise, the
linker doesn't know what LIBs (other than the standard BCB LIBs) are
required.

- Arnie



Back to top
Claude
Guest





PostPosted: Tue Apr 06, 2004 1:44 pm    Post subject: Re: Unresolved External Reply with quote



Hi,

Thanks for the reply.

Is there a ide menu item I use or do I just edit the bpr file directly?

Claude
"Arnie Mauer" <xxx (AT) nowhere (DOT) net> wrote

Quote:
"Claude" <claude (AT) dev (DOT) scomage.com> wrote in message
news:406d759e$1 (AT) newsgroups (DOT) borland.com...
Hi,

I am getting: [Linker Error] Unresolved external
'ReportAnError(...)'

I have my library file that contains ReportAnError in a directory in my
library path but the linker can't find the library.
I 'edit option source' and add the library file to either SPARELIBS or
LIBFILES and the program links.
How do I add my library using ide? Which menu item?
I have 20 programs. Is there a way to have the library file found
without
updating 20 programs?

I think you'll have to add the LIB to all of the projects. Otherwise, the
linker doesn't know what LIBs (other than the standard BCB LIBs) are
required.

- Arnie





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.