Project

General

Profile

Actions

Emulator Issues #4356

closed

Compiling fails on Linux with SDL 1.3

Added by dubigrasu over 13 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

What's the problem?

Since revision 7339 I can no longer compile Dolphin with SDL 1.3.

Operating system and version:
32-bit and 64-bit Linux

Build command-line (not on Windows):
For building I'm using the standard method (cmake) as described in Wiki.

Please provide any additional information below.
These are the errors I'm getting at build time:

[ 35%] Building CXX object Source/Core/InputCommon/CMakeFiles/inputcommon.dir/Src/ControllerInterface/ControllerInterface.cpp.o
In file included from /root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp:16:
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h: In constructor ‘ciface::SDL::Joystick::ConstantEffect::ConstantEffect(size_t)’:
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h:89: error: no matching function for call to ‘ControllerInterface::Device::Output::Output(const size_t&)’
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h:97: note: candidates are: ControllerInterface::Device::Output::Output()
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h:97: note: ControllerInterface::Device::Output::Output(const ControllerInterface::Device::Output&)
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h:89: error: uninitialized member ‘ciface::SDL::Joystick::ConstantEffect::m_js’ with ‘const’ type ‘SDL_Joystick* const’
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h: In constructor ‘ciface::SDL::Joystick::RampEffect::RampEffect(size_t)’:
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h:99: error: no matching function for call to ‘ControllerInterface::Device::Output::Output(const size_t&)’
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h:97: note: candidates are: ControllerInterface::Device::Output::Output()
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h:97: note: ControllerInterface::Device::Output::Output(const ControllerInterface::Device::Output&)
/root/dolphin-emu-read-only/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h:99: error: uninitialized member ‘ciface::SDL::Joystick::RampEffect::m_js’ with ‘const’ type ‘SDL_Joystick* const’
make[2]: *** [Source/Core/InputCommon/CMakeFiles/inputcommon.dir/Src/ControllerInterface/ControllerInterface.cpp.o] Error 1
make[1]: *** [Source/Core/InputCommon/CMakeFiles/inputcommon.dir/all] Error 2
make: *** [all] Error 2

Actions

Also available in: Atom PDF