Project

General

Profile

Actions

Emulator Issues #3658

closed

SDL doesn't compile

Added by NicolasDelgado about 14 years ago.

Status:
Invalid
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

I can't compile an sdl problem with the first compile error can be fixed with what appears in this issue http://code.google.com/p/dolphin-emu/issues/detail?id=3338(same issue but this time with sdl 1.2.14-6)

Then get the following error:

Linking CXX executable ../../../Binaries/dolphin-emu
../InputCommon/libinputcommon.a(SDL.cpp.o): In function ciface::SDL::Joystick::UpdateOutput()': SDL.cpp:(.text+0x219): undefined reference to SDL_HapticUpdateEffect'
SDL.cpp:(.text+0x244): undefined reference to SDL_HapticStopEffect' SDL.cpp:(.text+0x251): undefined reference to SDL_HapticDestroyEffect'
SDL.cpp:(.text+0x26f): undefined reference to SDL_HapticNewEffect' SDL.cpp:(.text+0x287): undefined reference to SDL_HapticRunEffect'
../InputCommon/libinputcommon.a(SDL.cpp.o): In function ciface::SDL::Joystick::~Joystick()': SDL.cpp:(.text+0x2d8): undefined reference to SDL_HapticStopAll'
SDL.cpp:(.text+0x2fd): undefined reference to SDL_HapticDestroyEffect' SDL.cpp:(.text+0x30f): undefined reference to SDL_HapticClose'
../InputCommon/libinputcommon.a(SDL.cpp.o): In function ciface::SDL::Joystick::~Joystick()': SDL.cpp:(.text+0x358): undefined reference to SDL_HapticStopAll'
SDL.cpp:(.text+0x37d): undefined reference to SDL_HapticDestroyEffect' SDL.cpp:(.text+0x38f): undefined reference to SDL_HapticClose'
../InputCommon/libinputcommon.a(SDL.cpp.o): In function ciface::SDL::Joystick::Joystick(_SDL_Joystick*, int, unsigned int)': SDL.cpp:(.text+0xfdf): undefined reference to SDL_HapticOpenFromJoystick'
SDL.cpp:(.text+0xff0): undefined reference to `SDL_HapticQuery'
collect2: ld devolvió el estado de salida 1
make[2]: *** [Binaries/dolphin-emu] Error 1
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [all] Error 2

I try sdl 1.3 also and I have the same problem, before with changing lines like billiard said it worked (without rumble :P).

Phenom II 720 @ 3.4ghz x4
Gigabyte MA770T-UD3P
Corsair 2x1 GB DDR3 1333
XfX 9600GT

Archlinux x86_64

Actions

Also available in: Atom PDF