[osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

Eric Sokolowsky esok.osg at gmail.com
Thu Mar 19 12:03:50 PDT 2009


I  compiled svn with cmake 2.6.3 on OSX without difficulty, in a clean
directory, using all of the default settings, so I cannot confirm the
existence of this bug.

-Eric

On Mon, Mar 16, 2009 at 9:19 PM, john casu <osgforum at tevs.eu> wrote:

> I'm trying to build the latest svn version of OSG 2.8.0 on OS/X, and I'm
> having a problem when building osgdb_freetype, specifically the header file
> ft2build.h cannot be located:
> Scanning dependencies of target osgdb_freetype
> [ 98%] Building CXX object
> src/osgPlugins/freetype/CMakeFiles/osgdb_freetype.dir/FreeTypeFont.cpp.o
> In file included from
> /Users/casuj/OpenSceneGraph/OpenSceneGraph-2.8.0-svn/src/osgPlugins/freetype/FreeTypeFont.cpp:14:
> /Users/casuj/OpenSceneGraph/OpenSceneGraph-2.8.0-svn/src/osgPlugins/freetype/FreeTypeFont.h:19:22:
> error: ft2build.h: No such file or directory
> /Users/casuj/OpenSceneGraph/OpenSceneGraph-2.8.0-svn/src/osgPlugins/freetype/FreeTypeFont.h:20:10:
> error: #include expects "FILENAME" or <FILENAME>
>
> However, CMakeCache.txt shows that this file has been located:
> enterprise:OpenSceneGraph-2.8.0-svn casuj$ fgrep FREETYPE CMakeCache.txt
>
> CMakeCache.txt:FREETYPE_INCLUDE_DIR_freetype2:PATH=/usr/local/include/freetype2
> CMakeCache.txt:FREETYPE_INCLUDE_DIR_ft2build:PATH=/usr/local/include
> CMakeCache.txt:FREETYPE_LIBRARY:FILEPATH=/usr/local/lib/libfreetype.dylib
>
> and the file itself does in fact exist:
> enterprise:OpenSceneGraph-2.8.0-svn casuj$ ls -l
> /usr/local/include/ft2build.h
> -rw-r--r--  1 root  admin  3890 Mar  5  2007 /usr/local/include/ft2build.h
>
> Can anyone shed light on how to workaround this ?
>
> Thanks,
>
> -john c.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=8569#8569
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090319/dee98853/attachment-0003.htm>


More information about the osg-users mailing list