Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: ed on October 28, 2007, 09:16:15 am
-
First of all, some introductions. I'm (hopefully) going to be helping out RazorsKiss on the Fringespace mod (http://fringespace.org/index.php), mainly doing features/gameplay coding - I might also have a look at the multi-player network code.
Anyways, I have been trying to get the code and build it so I can have a play around/look at the code. I'm using Visual Studio 2005 Pro.
- I got the code of CVS (using these instructions http://www.hard-light.net/wiki/index.php/Getting_the_FreeSpace2:_SCP_Source_Code).
- Opened the VS2005 .SLN file.
- Built the solution.
- Got these linker errors:
Linking...
freespace.obj : error LNK2019: unresolved external symbol "void __cdecl multi_pxo_help_close(void)" (?multi_pxo_help_close@@YAXXZ) referenced in function "void __cdecl game_leave_state(int,int)" (?game_leave_state@@YAXHH@Z)
freespace.obj : error LNK2019: unresolved external symbol "void __cdecl multi_pxo_close(void)" (?multi_pxo_close@@YAXXZ) referenced in function "void __cdecl game_leave_state(int,int)" (?game_leave_state@@YAXHH@Z)
freespace.obj : error LNK2019: unresolved external symbol "void __cdecl multi_pxo_help_init(void)" (?multi_pxo_help_init@@YAXXZ) referenced in function "void __cdecl game_enter_state(int,int)" (?game_enter_state@@YAXHH@Z)
freespace.obj : error LNK2019: unresolved external symbol "void __cdecl multi_pxo_init(int)" (?multi_pxo_init@@YAXH@Z) referenced in function "void __cdecl game_enter_state(int,int)" (?game_enter_state@@YAXHH@Z)
freespace.obj : error LNK2019: unresolved external symbol "void __cdecl multi_pxo_help_do(void)" (?multi_pxo_help_do@@YAXXZ) referenced in function "void __cdecl game_do_state(int)" (?game_do_state@@YAXH@Z)
freespace.obj : error LNK2019: unresolved external symbol "void __cdecl multi_pxo_do(void)" (?multi_pxo_do@@YAXXZ) referenced in function "void __cdecl game_do_state(int)" (?game_do_state@@YAXH@Z)
D:\Freespace_scp\fs2_open\projects\MSVC_2005\Debug\fs2_open_3_6_9d.exe : fatal error LNK1120: 6 unresolved externals
I cant seem to find any function definitions for these functions in code - am I missing a library or something?
-
add the following files to the 'code' project
- network/chat_api.h
- network/chat_api.cpp
- network/multi_pxo.cpp
- network/multi_pxo.h
-
Sweet, builds now! How come those files aren't part of the project?
-
Cause they were added only a week or two ago by a coder who (I presume) uses VC6 and no one had updated the 2005 project file.
-
Yeah, I only use VC6 (under Wine, since I don't run Windows) so those are the only project files that I can update.