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 <osgfo...@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@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to