Originally I was having an issue with CMake where it did not configure the gsoap project correctly as it apparently didn't have any sources listed, I edited the CMakeLists.txt file to manually input each file and then that worked.
Tried compiling the source and projects except for worldserver and authserver compile.
Here's the buildlog:
1>------ Build started: Project: revision.h, Configuration: Release Win32 ------
1>-- WARNING - Missing or outdated git - did you forget to install a recent version?
1>-- WARNING - Observe that for revision hash/date to work you need at least version 1.7
1>-- WARNING - Missing repository tags - you may need to pull tags with git fetch -t
1>-- WARNING - Continuing anyway - note that the versionstring will be set to 0000-00-00 00:00:00 (Archived)
1>Build log was saved at "file://c:\Users\XXXXX\Documents\My Files\tc2\src\genrev\revision.h.dir\Release\BuildLog.htm"
1>revision.h - 0 error(s), 0 warning(s)
2>------ Build started: Project: worldserver, Configuration: Release Win32 ------
3>------ Build started: Project: authserver, Configuration: Release Win32 ------
3>Performing Pre-Link Event...
2>Performing Pre-Link Event...
3>Linking...
2>Linking...
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzgets referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzungetc referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzgetc referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gztell referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzread referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzclose referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzseek referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzprintf referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzerror referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzputs referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzputc referenced in function _test_gzio
3>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzopen referenced in function _test_gzio
3>C:\Users\XXXXX\Documents\My Files\tc2\bin\Release\authserver.exe : fatal error LNK1120: 12 unresolved externals
3>Build log was saved at "file://c:\Users\XXXXX\Documents\My Files\tc2\src\server\authserver\authserver.dir\Release\BuildLog.htm"
3>authserver - 13 error(s), 0 warning(s)
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzgets referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzungetc referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzgetc referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gztell referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzread referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzclose referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzseek referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzprintf referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzerror referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzputs referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzputc referenced in function _test_gzio
2>zlib.lib(example.obj) : error LNK2019: unresolved external symbol _gzopen referenced in function _test_gzio
2>C:\Users\XXXXX\Documents\My Files\tc2\bin\Release\worldserver.exe : fatal error LNK1120: 12 unresolved externals
2>worldserver - 13 error(s), 0 warning(s)
========== Build: 1 succeeded, 2 failed, 11 up-to-date, 0 skipped ==========
Also, I can't generate project files with TOOLS checked in CMake as I get these errors:
You have called ADD_LIBRARY for library bzip2 without any source files. This typically indicates a problem with your CMakeLists.txt file
You have called ADD_LIBRARY for library mpq without any source files. This typically indicates a problem with your CMakeLists.txt file
...
...
...
CMake Error at src/tools/vmap4_extractor/CMakeLists.txt:34 (add_executable):
add_executable called with incorrect number of arguments
CMake Error at src/tools/vmap4_extractor/CMakeLists.txt:36 (target_link_libraries):
Cannot specify link libraries for target "vmap4extractor" which is not
built by this project.
This is a clean pull from the current revision and I'm trying to compile 32bit.
Compile or cmake problems
in Help and Support
Posted
Originally I was having an issue with CMake where it did not configure the gsoap project correctly as it apparently didn't have any sources listed, I edited the CMakeLists.txt file to manually input each file and then that worked.
Tried compiling the source and projects except for worldserver and authserver compile.
Here's the buildlog:
This is a clean pull from the current revision and I'm trying to compile 32bit.
Relevant build specs:
Windows Vista x64 bit
Microsoft Visual Studio 2008
Thanks.