Problems compiling 4.0 release builds on windows

killall -9

Moderator: Developers

User avatar
xabis
Topic author
New User
Offline
Posts: 2
Joined: Sat Feb 11, 2017 6:05 pm

Problems compiling 4.0 release builds on windows

Post#1 by xabis » 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

User avatar
xabis
Topic author
New User
Offline
Posts: 2
Joined: Sat Feb 11, 2017 6:05 pm

Re: Problems compiling 4.0 release builds on windows

Post#2 by xabis » Sat Feb 11, 2017 7:11 pm

Okay, I decided to try a win32 release build, and everything compiled fine.

User avatar
Torr Samaho
Lead Developer
Offline
Posts: 1411
Joined: Fri May 25, 2012 6:03 pm

Re: Problems compiling 4.0 release builds on windows

Post#3 by Torr Samaho » Sun Feb 12, 2017 1:37 pm

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

This should be fixed now.

User avatar
Dragonfly
 
Offline
Posts: 20
Joined: Thu Oct 22, 2015 9:10 pm

Re: Problems compiling 4.0 release builds on windows

Post#4 by Dragonfly » Wed Feb 15, 2017 4:56 pm

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?

User avatar
Sean
Zandronum Tester
Offline
Posts: 641
Joined: Thu Jan 16, 2014 9:09 pm
Contact:

Re: Problems compiling 4.0 release builds on windows

Post#5 by Sean » Wed Feb 15, 2017 8:15 pm

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?

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).

Code: Select all

<Nour> eh
<Nour> just ignore them
<Nour> they're not worth it anyways.
<Gustavo6046> but Nour, I can't, I have autism!!!


Return to “Development”



Who is online

Users browsing this forum: No registered users and 1 guest