Show whole topic Jun 10, 2011 7:47 pm
alzi Offline
Developer, Moderator
Registered since: Aug 12, 2007
Location: Ditzingen (nahe Stuttgart)


Subject: Re: We need you for dedicated server testing
Hm, i get the same linking error here and I realy don't know why.
This makes no sense.
The function is declared in menuevents.h, defined in menuevents.cpp and gets compiled into menuevents.obj. But the linker says it can't be resolved. And only from servergame.obj. All other objects that have references to the same function get linked correctly. I'm searching for the problem for an hour now and couldn't find anything -.-

Edit: haha, found it! There where some predeclarations of structures as classes. This lead to the fact that the linker didn't regognize that the sendPlayerList() in menuevents.obj was the same as in servergame.obj. I have commited the changes to the SVN, so now you should be able to build it Smiling
Albert Ziegenhagel
This post has been edited 2 times. Last edit on Jun 10, 2011 8:17 pm by alzi.