i’m building https://github.com/dev2dev/OpenSceneGraph-port-to-IOS , it depends on freetype ,so we need ” #include ” in some files.
I always get the build error : ‘ft2build.h’ not found.
have tried https://stackoverflow.com/a/2109083 ,but didnt work for me.
Have you installed the
freetypepackage? If not, and you have MacPorts, you can install withsudo port install freetype.ft2build.hwill then be located at/opt/local/include/ft2build.h.You will need to follow the instructions on the StackOverflow question you mentioned on how to add
/opt/local/includeto the User Header Search Paths in Xcode.