[SDL] polygon filling

pchans at wm.edu pchans at wm.edu
Sat Sep 21 19:58:00 PDT 2002


Hello,

I would like my SDL-program never to use DirectX even if it is available.
I guess i have to recompile SDL so that it ignores the dx5 calls. I thought
removing the ENABLE_DIRECTX precompiler directive would be enough, but it
doesn't seem so. I have the following output at link time (OS = Win2K, IDE =
MSVC6.0) :

--------------------Configuration: SDL - Win32 Release--------------------
Linking...
SDL_dx5audio.obj : error LNK2005: _DX5_SoundFocus already defined in
SDL_dibvideo.obj
SDL_dx5audio.obj : warning LNK4006: _DX5_SoundFocus already defined in
SDL_dibvideo.obj; second definition ignored
   Creating library Release/SDL.lib and object Release/SDL.exp
Release/SDL.dll : fatal error LNK1169: one or more multiply defined symbols
found
Error executing link.exe.

SDL.dll - 2 error(s), 1 warning(s)

I haven't been able to find any doc on recompiling SDL wihtout dx, any idea
to do so?
Thx

Alexis





More information about the SDL mailing list