Problems compiling 4.0 release builds on windows

killall -9

Moderator: Developers

Post Reply
xabis
New User
Posts: 2
Joined: Sat Feb 11, 2017 6:05 pm

Problems compiling 4.0 release builds on windows

#1

Post 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

xabis
New User
Posts: 2
Joined: Sat Feb 11, 2017 6:05 pm

Re: Problems compiling 4.0 release builds on windows

#2

Post 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
Posts: 1443
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: Problems compiling 4.0 release builds on windows

#3

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

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

Re: Problems compiling 4.0 release builds on windows

#4

Post 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
Posts: 828
Joined: Thu Jan 16, 2014 9:09 pm
Location: Over there.
Clan Tag: [TSPG]
Contact:

Re: Problems compiling 4.0 release builds on windows

#5

Post 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

<Decay> csnxs try being less bitter and actually helpful to the community, thanks

Post Reply