C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 12th, 2002, 07:50 PM
Beans4You's Avatar
Beans4You Beans4You is offline
Some day I will be a Lambda!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: NJ
Posts: 18 Beans4You User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question unresolved external errors ???

What causes an external link error?

I have developed 2 separate header files that compile with no errors and run. But, when I have one the header files call the other I get several external link errors.

Also, I'm running Win2K with a VC++ 6.0 compiler, if it matters.

Quote:
Linking...
test.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Db::~Db(void)" (??1Db@@UAE@XZ)
test.obj : error LNK2001: unresolved external symbol "public: __thiscall Db:: Db(class DbEnv *,unsigned int)" (??0Db@@QAE@PAVDbEnv@@I@Z)
Debug/InfoCell.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.



Thanks,
Eric

Last edited by Beans4You : October 12th, 2002 at 07:54 PM.

Reply With Quote
  #2  
Old October 13th, 2002, 05:39 AM
Analyser's Avatar
Analyser Analyser is offline
*bounce*
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2002
Location: Delft, The Netherlands
Posts: 510 Analyser User rank is Corporal (100 - 500 Reputation Level)Analyser User rank is Corporal (100 - 500 Reputation Level)Analyser User rank is Corporal (100 - 500 Reputation Level)Analyser User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 20 h 37 m 7 sec
Reputation Power: 9
Send a message via ICQ to Analyser
Since it's probably your code that's at fault, post some. The output above is too little to go on.
__________________
"A poor programmer is he who blames his tools."
http://analyser.oli.tudelft.nl/

Reply With Quote
  #3  
Old October 13th, 2002, 09:23 AM
Beans4You's Avatar
Beans4You Beans4You is offline
Some day I will be a Lambda!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: NJ
Posts: 18 Beans4You User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb

Once again...

I was very frustrated last night so I turned off the computer and went to bed. When I cranked up the CPU this morning I said to myself, "Self check your libraries". Well that was it. I forgot to build it against the libdb41d.lib. Thanks for everyone's help, and yes I'm a moron.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > unresolved external errors ???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway