Closed emlai closed 7 years ago
Thanks for the report!
Freetype is supposed to be built before MyGUI, you don't have to install it separately.
I'll try to figure out what's happening when there's Freetype from Homebrew.
By the way, do you use sandboxed calls to cmake and make? Please refer to "Caveats" section of the readme for details.
Yeah, I tried the sandboxed way after this failed, but it failed with the same error as well.
Hmm, I now uninstalled the homebrew freetype and got a different error:
[ 92%] Building CXX object src/osgPlugins/freetype/CMakeFiles/osgdb_freetype.dir/FreeTypeFont.cpp.o
In file included from /Users/emlai/Documents/Code/openmw-deps-mac/src/openscenegraph/src/osgPlugins/freetype/FreeTypeFont.cpp:14:
In file included from /Users/emlai/Documents/Code/openmw-deps-mac/src/openscenegraph/src/osgPlugins/freetype/FreeTypeFont.h:19:
/Library/Frameworks/Mono.framework/Headers/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h' file not
found
#include <freetype/config/ftheader.h>
^
@emlai are you rebuilding from scratch, i.e. purging build dir completely?
Yes.
This seems to be the same issue as (or related to) https://github.com/rougier/freetype-gl/issues/76.
Thanks for the update. Does downgrading to 7.3.1 help?
No, same error. Also tried with Xcode 8 GM seed, no luck.
It works if I remove freetype.framework
from /Library/Frameworks
.
@emlai: thanks for the update! I'll check if I can modify sandbox config to avoid that in the future.
e070069
Followed the instructions in the readme and got the following error when running
make
:I have freetype installed via homebrew.