Quake3World.com
https://www.quake3world.com/forum/

error compiling ioq3
https://www.quake3world.com/forum/viewtopic.php?f=16&t=42228
Page 1 of 1

Author:  michael18 [ 12-11-2009 09:18 AM ]
Post subject:  error compiling ioq3

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

Author:  ^misantropia^ [ 12-11-2009 01:09 PM ]
Post subject:  Re: error compiling ioq3

Seems you're missing the DirectX libs.

Author:  michael18 [ 12-11-2009 04:44 PM ]
Post subject:  Re: error compiling ioq3

i still adding the microsoft directx sdk (august2009) but same error

Author:  ^misantropia^ [ 12-12-2009 03:10 AM ]
Post subject:  Re: error compiling ioq3

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/

Author:  michael18 [ 12-12-2009 07:05 AM ]
Post subject:  Re: error compiling ioq3

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?

Author:  ^misantropia^ [ 12-12-2009 11:46 AM ]
Post subject:  Re: error compiling ioq3

Trap 53 is UI_GET_CDKEY. Try compiling with and without STANDALONE defined (I suspect it's defined now).

Author:  michael18 [ 12-12-2009 12:54 PM ]
Post subject:  Re: error compiling ioq3

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

Author:  ^misantropia^ [ 12-12-2009 01:39 PM ]
Post subject:  Re: error compiling ioq3

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:
#ifdef STANDALONE
#undef STANDALONE
#endif

Author:  michael18 [ 12-12-2009 01:54 PM ]
Post subject:  Re: error compiling ioq3

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

Author:  ^misantropia^ [ 12-13-2009 04:35 AM ]
Post subject:  Re: error compiling ioq3

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.

Author:  michael18 [ 12-13-2009 05:16 AM ]
Post subject:  Re: error compiling ioq3

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 .

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/