• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 40 41 42 43 44 ... 117 Next »

Dolphin refusing to compile with SDL-2.0.4
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Dolphin refusing to compile with SDL-2.0.4
10-04-2014, 02:48 PM
#1
AutoFire Offline
Member
***
Posts: 85
Threads: 11
Joined: Nov 2011
I'm at my wit's end here; please help me!

For whatever reason, Dolphin simply refuses to compile with SDL-2.0.4. I always get the following error message:

Code:
[ 59%] Building CXX object Source/Core/InputCommon/CMakeFiles/inputcommon.dir/ControllerInterface/ControllerInterface.cpp.o
In file included from /home/alec/dolphin-emu/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp:24:0:
/home/alec/dolphin-emu/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h:9:17: fatal error: SDL.h: No such file or directory
#include <SDL.h>
                 ^
compilation terminated.
make[2]: *** [Source/Core/InputCommon/CMakeFiles/inputcommon.dir/ControllerInterface/ControllerInterface.cpp.o] Error 1
make[1]: *** [Source/Core/InputCommon/CMakeFiles/inputcommon.dir/all] Error 2
make: *** [all] Error 2

SDL.h is in /usr/local/include/SDL2, which is apparently where it's supposed to be. I don't know why the compiler can't find it.
Computer specs in profile
Find
Reply
10-05-2014, 02:55 AM
#2
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,513
Threads: 55
Joined: Dec 2011
When you run
Code:
cmake ..

does it say "Using shared SDL2" at all?

In fact, you might as well post the entire output of cmake .. so we can see what's going on.
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode