svn: MSVC linker errors (Resolved)
Posted: 17 Apr 2007, 00:47
I'm having trouble compling the latest svn using VC++ 2005 Express.
Here's what I did:
Any ideas what I missed?
Here's what I did:
- Downloaded and extracted the DevPackage
- Checked out the svn
- Opened win32\Warzone2100.vcproj
- Changed the __dvpkg__ with the path to the DevPackage in C++ & Linker
- Added the paths to the platform SDK include/ and lib/ directories
- Added " user32.lib advapi32.lib" To Linker->Input->Additional Dependencies
- Added
to main.c (on line 79)#define PACKAGE "warzone2100"
#define LOCALEDIR "" - Removed "Ghost" files from file list (Any file that prodcued an error on opening)
- Complied
Code: Select all
1> Creating library D:\Coding\Projects\warzone\win32\Debug\Warzone2100-Dbg.lib and object D:\Coding\Projects\warzone\win32\Debug\Warzone2100-Dbg.exp
1>audio.obj : error LNK2019: unresolved external symbol _audio_GetIDFromStr referenced in function _audio_SetTrackVals
1>message.obj : error LNK2001: unresolved external symbol _audio_GetIDFromStr
1>stats.obj : error LNK2001: unresolved external symbol _audio_GetIDFromStr
1>D:\Coding\Projects\warzone\win32\Debug\Warzone2100-Dbg.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://d:\Coding\Projects\warzone\win32\Debug\BuildLog.htm"
1>Warzone2100 - 4 error(s), 2757 warning(s)