Meadville Space Center
Welcome, Guest. Please login or register.
December 01, 2020, 10:14:22 AM

Login with username, password and session length
Search:     Advanced search
Welcome to the new Meadville Space Center forums!
25068 Posts in 2094 Topics by 2267 Members
Latest Member: Apollo Next
* Home Help Search Login Register
+  Meadville Space Center
|-+  Project Apollo - NASSP
| |-+  Project Apollo - NASSP Development
| | |-+  Programming (Moderators: movieman, dseagrav, Swatch, lassombra)
| | | |-+  Build Problems
« previous next »
Pages: [1] Print
Author Topic: Build Problems  (Read 2644 times)
rwitham
Project Team Member
Full Member
****
Posts: 18


View Profile Email
« on: May 02, 2008, 06:04:04 PM »

Is anyone else having build problems with the latest in CVS.

I just did a CVS update then a full build and received the following errors

Code:
7>ProjectApolloMFD.obj : error LNK2019: unresolved external symbol _send@16 referenced in function "void __cdecl send_agc_key(char)" (?send_agc_key@@YAXD@Z)
7>ProjectApolloMFD.obj : error LNK2019: unresolved external symbol _connect@12 referenced in function "void __cdecl UplinkStateVector(double)" (?UplinkStateVector@@YAXN@Z)
7>ProjectApolloMFD.obj : error LNK2019: unresolved external symbol _htons@4 referenced in function "void __cdecl UplinkStateVector(double)" (?UplinkStateVector@@YAXN@Z)
7>ProjectApolloMFD.obj : error LNK2019: unresolved external symbol _inet_addr@4 referenced in function "void __cdecl UplinkStateVector(double)" (?UplinkStateVector@@YAXN@Z)
7>ProjectApolloMFD.obj : error LNK2019: unresolved external symbol _closesocket@4 referenced in function "void __cdecl UplinkStateVector(double)" (?UplinkStateVector@@YAXN@Z)
7>ProjectApolloMFD.obj : error LNK2019: unresolved external symbol _WSAGetLastError@0 referenced in function "void __cdecl UplinkStateVector(double)" (?UplinkStateVector@@YAXN@Z)
7>ProjectApolloMFD.obj : error LNK2019: unresolved external symbol _socket@12 referenced in function "void __cdecl UplinkStateVector(double)" (?UplinkStateVector@@YAXN@Z)
7>ProjectApolloMFD.obj : error LNK2019: unresolved external symbol _WSAStartup@8 referenced in function "void __cdecl ProjectApolloMFDopcDLLInit(struct HINSTANCE__ *)" (?ProjectApolloMFDopcDLLInit@@YAXPAUHINSTANCE__@@@Z)

Thanks,
Reuben
Logged
bluespace88
Project Team Member
Full Member
****
Posts: 241



View Profile
« Reply #1 on: May 02, 2008, 06:14:14 PM »

which vc version are you using?  I had to add a winsock library, but that was only under VC6.
Logged
Swatch
Moderator
Hero Member
****
Posts: 1003


jasonims
View Profile
« Reply #2 on: May 02, 2008, 06:15:00 PM »

wow...I just had this same problem...

go to properties of the affected module and add WS2_32.lib to the Additional Dependencies box.
Logged

My Project Apollo Work:
CM Visual
 -VC (~75% complete: texture work beginning again; mesh-78%; texture-70%)
Propulsion Particle Improvements (Focused on S1B right now, BETA 1.0 has been commited)
New Docking Method (~50% complete: research complete; coding partially completed, testing not underway)

Future Work:  (if it's here, it's deemed unnecessary to upcoming release)

Older Work:  (if it's here, it's fair game to whoever wants to improve)
EMS Implementation (committed: minor flaws, but groundwork is there, needs extensive testing)
EMS scrolls (committed: not refined, but usable)
SM Visual (committed: mesh-finished, texture-60%; possibly revisited in future)
J2 Texture (commited: room for improvement)
LRV (committed: mesh-finished, texture-90%; in future a ground up rebuild may be in order, but not on my plans)
bluespace88
Project Team Member
Full Member
****
Posts: 241



View Profile
« Reply #3 on: May 02, 2008, 06:16:01 PM »

yeah, thats the one.  Thanks for pointing that out.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!