Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Sample World project linker errors - please help.

Author
Message
Gemie
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 6th Nov 2006 06:10
I can compile 7 out of the 15 sample projects, and World is not one of them.

Here are 2 of the linker errors from World:

World error LNK2005: "void __cdecl dbUpdateBSP(void)" (?dbUpdateBSP@@YAXXZ) already defined in darksdk.lib(DarkSDKWorld.obj)

World error LNK2005: "void __cdecl dbDeleteBSP(void)" (?dbDeleteBSP@@YAXXZ) already defined in darksdk.lib(DarkSDKWorld.obj)

Anyone have any advice on how to get World to compile?
Gemie
17
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 6th Nov 2006 06:45
Ok I've narrowed down the problem. If I comment out these 2 lines it compiles:

//dbLoadBSP ( "ikzdm1.pk3", "ikzdm1.bsp" );
//dbSetBSPCameraCollision ( 1, 0, 0.75, 0 );

hrmmmm..

Login to post a reply

Server time is: 2024-06-17 08:06:41
Your offset time is: 2024-06-17 08:06:41