Jump to content

Linker errors w/ JK2 engine code.


Recommended Posts

Okay, so I'm using the visual studio 2012 and attempting to build the jk2 engine code just released a few days ago. I'm able to compile botlib, cgame, and game. However when I try to compile winded or jk2mp I get a ton of linker errors. Other than add a few casts to the code to shut the compiler up I haven't changed anything.

 

 

http://pastebin.com/isNwujuv

 

 

Copying the SetPlaneSignbits() function into the cm_load.cpp file fixes the first one, though seems really hacky...

 

Then for

1>be_ai_weight.obj : error LNK2001: unresolved external symbol "void __cdecl Q_strncpyz(char *,char const *,int)" (?Q_strncpyz@@YAXPADPBDH@Z)

Q_strncpyz is declared in q_shared.h and defined in q_shared.c. q_shared.h is included in the very first line of be_ai_weight.cpp?

 

Any help would be appreciated.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...