Problems compiling 4.0 release builds on windows
Posted: Sat Feb 11, 2017 6:19 pm
Hello,
I am trying to test the 4.0 alpha branch. Since there are no published binaries available, I am building it myself.
I am able to build the DEBUG configuration just fine, but any of the RELEASE builds throw a linker error, which I have no idea how to get around. Any help would be appreciated! This is a win64 build using visual studio 2015. I am using x64 versions of the deps (fmod, ssl) and turning off openal.
I would like to test a release build specifically, because there are pretty bad performance problems using the debug version (very low fps) and want to compare.
Error LNK2019 unresolved external symbol "public: int __cdecl line_t::Index(void)const " (?Index@line_t@@QEBAHXZ) referenced in function "bool __cdecl P_ChangeSwitchTexture(struct side_t *,int,unsigned char,bool *)" (?P_ChangeSwitchTexture@@YA_NPEAUside_t@@HEPEA_N@Z) Zandronum D:\dev\src\zandronum-zdoom-sync\BUILD\src\p_switch.obj 1
I am trying to test the 4.0 alpha branch. Since there are no published binaries available, I am building it myself.
I am able to build the DEBUG configuration just fine, but any of the RELEASE builds throw a linker error, which I have no idea how to get around. Any help would be appreciated! This is a win64 build using visual studio 2015. I am using x64 versions of the deps (fmod, ssl) and turning off openal.
I would like to test a release build specifically, because there are pretty bad performance problems using the debug version (very low fps) and want to compare.
Error LNK2019 unresolved external symbol "public: int __cdecl line_t::Index(void)const " (?Index@line_t@@QEBAHXZ) referenced in function "bool __cdecl P_ChangeSwitchTexture(struct side_t *,int,unsigned char,bool *)" (?P_ChangeSwitchTexture@@YA_NPEAUside_t@@HEPEA_N@Z) Zandronum D:\dev\src\zandronum-zdoom-sync\BUILD\src\p_switch.obj 1