Page 1 of 1

error compiling ioq3

Posted: Fri Dec 11, 2009 5:18 pm
by michael18
hello I want to compile the iourbanterror source but i got those errors:

libSDL.lib(SDL_dx5video.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_POV".
libSDL.lib(SDL_dx5video.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_Slider".
libSDL.lib(SDL_dx5video.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_RzAxis".
libSDL.lib(SDL_dx5video.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_RyAxis".
libSDL.lib(SDL_dx5video.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_RxAxis".
libSDL.lib(SDL_dx5video.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_ZAxis".
libSDL.lib(SDL_dx5video.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_YAxis".
libSDL.lib(SDL_dx5video.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_XAxis".
libSDL.lib(SDL_dx5video.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_Key".
libSDL.lib(SDL_dx5video.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_IID_IDirectDrawSurface3" in Funktion "_DX5_Available".
libSDL.lib(SDL_dx5yuv.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_IID_IDirectDrawSurface3".
libSDL.lib(SDL_dx5video.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_IID_IDirectDraw2" in Funktion "_DX5_VideoInit".
libSDL.lib(SDL_dx5video.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_IID_IDirectDrawGammaControl" in Funktion "_DX5_SetGammaRamp".
libSDL.lib(SDL_dx5events.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_SysMouse".
libSDL.lib(SDL_dx5events.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_GUID_SysKeyboard".
libSDL.lib(SDL_dx5events.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_IID_IDirectInputDevice2A" in Funktion "_DX5_DInputInit".

I already linked the sdl lib/include datas to visual c++ 2005...
thanks for help

Nicht aufgelöstes externes Symbol = Not resolved external symbol
Verweis auf nicht aufgelöstes externes Symbol = Link to not resolved external symbol
in Funktion = in function

Re: error compiling ioq3

Posted: Fri Dec 11, 2009 9:09 pm
by ^misantropia^
Seems you're missing the DirectX libs.

Re: error compiling ioq3

Posted: Sat Dec 12, 2009 12:44 am
by michael18
i still adding the microsoft directx sdk (august2009) but same error

Re: error compiling ioq3

Posted: Sat Dec 12, 2009 11:10 am
by ^misantropia^
No offense, but if you still get the same error then you didn't add the DX libs properly.

I suppose there is a simple workaround: toss out the included libsdl and have your project link to a libsdl downloaded from http://www.libsdl.org/

Re: error compiling ioq3

Posted: Sat Dec 12, 2009 3:05 pm
by michael18
ok i compiled the exe.
bzt now i get the error "Bad UI system trap: 53" when i start the game somebody know how to fix?

Re: error compiling ioq3

Posted: Sat Dec 12, 2009 7:46 pm
by ^misantropia^
Trap 53 is UI_GET_CDKEY. Try compiling with and without STANDALONE defined (I suspect it's defined now).

Re: error compiling ioq3

Posted: Sat Dec 12, 2009 8:54 pm
by michael18
how can i set the standalone option in visual c++?
I know when i compile something with msys i only need to edit the makefile,but how i can compile standalone with vc ++?


edit in the newer revisions of ioq3 it seems there istn any standalone command in the makefile anymore...

Re: error compiling ioq3

Posted: Sat Dec 12, 2009 9:39 pm
by ^misantropia^
Sorry, it isn't a make action, it's a compiler define. I don't know how to set/unset those with Visual Studio but the quick 'n' dirty way would be to add this to ui/ui_shared.h:

Code: Select all

#ifdef STANDALONE
#undef STANDALONE
#endif

Re: error compiling ioq3

Posted: Sat Dec 12, 2009 9:54 pm
by michael18
here is the source what i mean..i try to start it with quake3 but still the same bad error maybe you found the bug when you look into the source

Re: error compiling ioq3

Posted: Sun Dec 13, 2009 12:35 pm
by ^misantropia^
Thank you but no. Providing friendly advice on a forum is one thing. Sifting through other people's code, fixing their bugs for them is something quite different.

Re: error compiling ioq3

Posted: Sun Dec 13, 2009 1:16 pm
by michael18
ok sorry i dont know that *deleting link*
I fixing the ui trap 53 by my own adding getcdkey to cl_ui...
but now i getting bad ui system trap 81

is there any faq or something like taht over the worldwideweb which maybe describe the ui errors?Or how do you find this out?


it seems this happened after each ioq3 revision since 1.35...
Ill try Ioquake3 revision 1500 compile it without any problems but when i try quake3 i get the error...

The game crashed after the quake 3 id logo .