Emulator Issues #9795
closedOSX Failed to build when filesystem is case-sensitive
0%
Description
Hi there.
When I trying to build dolphin-emu for OSX 10.11 I've get the following error:
[ 56%] Built target core
[ 56%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/cocoa/tooltip.mm.o
[ 56%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/cocoa/utils_base.mm.o
[ 56%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/cocoa/window.mm.o
[ 56%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/core/bitmap.cpp.o
[ 56%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/core/cfstring.cpp.o
[ 56%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/core/colour.cpp.o
/var/root/dolphin-emu/Externals/wxWidgets3/src/osx/cocoa/tooltip.mm:27:14: fatal error: 'Appkit/Appkit.h'
file not found
#include <Appkit/Appkit.h>
^
1 error generated.
make[2]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/cocoa/tooltip.mm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/all] Error 2
make: *** [all] Error 2
After digging around. I found case-sensitive HFS+ filesystem will cause this problem.
So doing following solved me a problem.
in Externals/wxWidgets3/CMakeFiles/wx.dir/src/osx/cocoa/tooltip.mm.o
26: #if wxOSX_USE_COCOA_OR_CARBON
27: #include <Appkit/Appkit.h>
change to
26: #if wxOSX_USE_COCOA_OR_CARBON
27: #include <AppKit/AppKit.h>