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
Problems compiling 4.0 release builds on windows
Moderator: Developers
Re: Problems compiling 4.0 release builds on windows
Okay, I decided to try a win32 release build, and everything compiled fine.
- Torr Samaho
- Lead Developer
- Posts: 1543
- Joined: Fri May 25, 2012 6:03 pm
- Location: Germany
Re: Problems compiling 4.0 release builds on windows
This should be fixed now.xabis wrote: 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
Re: Problems compiling 4.0 release builds on windows
I've not been present on the Zandronum forums for a long time. I didn't know 4.0 was a thing! Is there any reason that 3.0 hasn't yet had a stable release if 4.0 is already in development?
Re: Problems compiling 4.0 release builds on windows
Because all 4.0 is is the latest commit of ZDoom merged with the latest commit of Zandronum. It's not really stable or tested in any way, and AFAIK 3.0 is top priority and is pretty close to release(TM).Dragonfly wrote:I've not been present on the Zandronum forums for a long time. I didn't know 4.0 was a thing! Is there any reason that 3.0 hasn't yet had a stable release if 4.0 is already in development?
<capodecima> i dont say any more word without my loyer jenova