GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-Jul-2012, 14:11
aaroncohn's Avatar
aaroncohn aaroncohn is offline
Regular Member
 
Join Date: Feb 2004
Location: Bay Area, CA.
Posts: 570
aaroncohn is a jewel in the roughaaroncohn is a jewel in the roughaaroncohn is a jewel in the rough

Confused about Unresolved Externals (build config error?)


I'm running Visual Studio 10, and I have two projects, each containing a single class (Matrix, Fraction), within the same solution, one being dependent on the other. When I try to compile the dependent Matrix class, I get a whole bunch of unresolved externals from the independent Fraction class in the object file of the Matrix class. However, when I move all of the code into one project, it compiles just fine. I have checked the "this project is dependent on the other" box, so the build order reflects that. What else do I have to do to get the two projects to work together?
__________________
-Aaron
  #2  
Old 13-Jul-2012, 18:40
Mexican Bob's Avatar
Mexican Bob Mexican Bob is offline
Regular Member
 
Join Date: Mar 2008
Location: Chicxulub, Yucatán
Posts: 655
Mexican Bob is just really niceMexican Bob is just really niceMexican Bob is just really niceMexican Bob is just really nice

Re: Confused about Unresolved Externals (build config error?)


Quote:
Originally Posted by aaroncohn
I'm running Visual Studio 10, and I have two projects, each containing a single class (Matrix, Fraction), within the same solution, one being dependent on the other. When I try to compile the dependent Matrix class, I get a whole bunch of unresolved externals from the independent Fraction class in the object file of the Matrix class. However, when I move all of the code into one project, it compiles just fine. I have checked the "this project is dependent on the other" box, so the build order reflects that. What else do I have to do to get the two projects to work together?

...not sure how much support you're going to get in the C++ forum for a platform-specific tool-chain. You may find better results at http://www.gidforums.com/f-46.html


MxB
  #3  
Old 13-Jul-2012, 20:40
aaroncohn's Avatar
aaroncohn aaroncohn is offline
Regular Member
 
Join Date: Feb 2004
Location: Bay Area, CA.
Posts: 570
aaroncohn is a jewel in the roughaaroncohn is a jewel in the roughaaroncohn is a jewel in the rough

Re: Confused about Unresolved Externals (build config error?)


Thanks, MxB.
__________________
-Aaron
 
 

Recent GIDBlogConfiguring iptables for Webmin Servers Index Module by gidnetwork

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Including DDK headers trouble. Sarge C Programming Language 1 02-Feb-2012 17:07
Error LNK2001: unresolved external symbol "void __cdecl sleep(long)" Lejmer C Programming Language 4 23-Jan-2008 14:37
[Tutorial] GUI programming with FLTK dsmith FLTK Forum 10 03-Oct-2005 15:41
link error? pablowablo C++ Forum 14 19-Jun-2004 10:00

Network Sites: GIDNetwork · GIDApp · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 09:38.


vBulletin, Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.