Emulator Issues #5530
closedLinux compilation with included SDL broken
0%
Description
When compiling the latest Dolphin version (11 July) under Debian without libsdl installed, I receive the following error message:
[ 58%] Building CXX object Source/Core/InputCommon/CMakeFiles/inputcommon.dir/Src/ControllerInterface/ControllerInterface.cpp.o
In file included from /root/dolphin-emu/Externals/SDL/include/SDL_config.h:42:0,
from /root/dolphin-emu/Externals/SDL/include/SDL_stdinc.h:30,
from /root/dolphin-emu/Externals/SDL/include/SDL_main.h:26,
from /root/dolphin-emu/Externals/SDL/include/SDL.h:30,
from /root/dolphin-emu/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h:8,
from /root/dolphin-emu/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp:16:
/root/dolphin-emu/Externals/SDL/include/SDL_config_minimal.h:38:22: error: conflicting declaration ‘typedef unsigned int size_t’
/usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h:212:23: error: ‘size_t’ has a previous declaration as ‘typedef long unsigned int size_t’
make[2]: *** [Source/Core/InputCommon/CMakeFiles/inputcommon.dir/Src/ControllerInterface/ControllerInterface.cpp.o] Erreur 1
make[1]: *** [Source/Core/InputCommon/CMakeFiles/inputcommon.dir/all] Erreur 2
make: *** [all] Erreur 2
Using gcc 4.7 does the same.
Thanks.
CCox