Project

General

Profile

Actions

Emulator Issues #9795

closed

OSX Failed to build when filesystem is case-sensitive

Added by wynn1212 about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
OS X
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-1112

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>

Actions

Also available in: Atom PDF