Closed aronkihui closed 10 years ago
Do you have the SDL2 development libraries installed?
Yes, I have it. I can compile OpenJK in 32bit mode without any problem. Just 64bit mode try to kill me and give me headache.
Do you have the 64bit sdl2 ?
The 32-bit libraries don't magically work with 64-bit.
Yes, I have XD
Can you double check it's finding your SDL2 library by running cmake -i
? Keeping pressing enter to accept all the settings until you get to a setting that looks like the SDL2 library path.
The issue occurs if someone have SDL 1.2 and SDL 2. I shouldn't have both libraries installed it seems XD.
Hi, when I compile OpenJK in 64bit mode, the default mode, at 12% the osx's terminal shows me an error and the compiling process stop right there.
This is the terminal output:
[ 12%] Building CXX object code/CMakeFiles/openjk_sp.x86_64.dir/sdl/sdl_snd.cpp.o /Users/arongutierrez/Downloads/OpenJK-master/code/sdl/sdl_snd.cpp:166:47: error: use of undeclared identifier 'SDL_GetCurrentAudioDriver' Com_Printf( "SDL audio driver is \"%s\".\n", SDL_GetCurrentAudio... ^ 1 error generated. make[2]: * [code/CMakeFiles/openjk_sp.x86_64.dir/sdl/sdl_snd.cpp.o] Error 1 make[1]: * [code/CMakeFiles/openjk_sp.x86_64.dir/all] Error 2 make: *\ [all] Error 2