Project

General

Profile

Actions

Emulator Issues #5530

closed

Linux compilation with included SDL broken

Added by ccox421 almost 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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

Actions

Also available in: Atom PDF