Emulator Issues #4461
closedCan't compile in Ubuntu Natty
0%
Description
What's the problem?
Can't compile in ubuntu
Dolphin version with the problem (as it appears in the title bar, Ex.: "R
4779" or "R 6403M"):
I have tried 1-2 weeks ago, and now with r7506.
Operating system and version: Ubuntu Natty
32-bit or 64-bit: 64
Build command-line (not on Windows):
Did what the wiki says
cmake ..
make
Please provide any additional information below.
I have this compile output:
[100%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Src/WiimoteConfigDiag.cpp.o
[100%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Src/WxUtils.cpp.o
[100%] Building CXX object Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/Src/X11Utils.cpp.o
make[2]: *** No rule to make target /usr/lib/libSM.so', needed by
Binaries/dolphin-emu'. Stop.
make[1]: *** [Source/Core/DolphinWX/CMakeFiles/dolphin-emu.dir/all] Error 2
make: *** [all] Error 2
I think this has something to do with natty having "multiarch" support, and library files are not where they used to be. Cmake has issues (I had to patch a few extra directory entries into file "/usr/share/cmake-2.8/Modules/FindGTK2.cmake", because without this cmake can't even find gtk libs. Anyway, this seems to be an issue with cmake and natty, but there must be some hacks on dolphin's side that can fix this.
More information about this can be found here: http://www.cmake.org/Bug/view.php?id=12037