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.<br><br>-Eric<br><br><div class="gmail_quote">On Mon, Mar 16, 2009 at 9:19 PM, john casu <span dir="ltr"><osgforum@tevs.eu></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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:<br>

Scanning dependencies of target osgdb_freetype<br>
[ 98%] Building CXX object src/osgPlugins/freetype/CMakeFiles/osgdb_freetype.dir/FreeTypeFont.cpp.o<br>
In file included from /Users/casuj/OpenSceneGraph/OpenSceneGraph-2.8.0-svn/src/osgPlugins/freetype/FreeTypeFont.cpp:14:<br>
/Users/casuj/OpenSceneGraph/OpenSceneGraph-2.8.0-svn/src/osgPlugins/freetype/FreeTypeFont.h:19:22: error: ft2build.h: No such file or directory<br>
/Users/casuj/OpenSceneGraph/OpenSceneGraph-2.8.0-svn/src/osgPlugins/freetype/FreeTypeFont.h:20:10: error: #include expects "FILENAME" or <FILENAME><br>
<br>
However, CMakeCache.txt shows that this file has been located:<br>
enterprise:OpenSceneGraph-2.8.0-svn casuj$ fgrep FREETYPE CMakeCache.txt<br>
CMakeCache.txt:FREETYPE_INCLUDE_DIR_freetype2:PATH=/usr/local/include/freetype2<br>
CMakeCache.txt:FREETYPE_INCLUDE_DIR_ft2build:PATH=/usr/local/include<br>
CMakeCache.txt:FREETYPE_LIBRARY:FILEPATH=/usr/local/lib/libfreetype.dylib<br>
<br>
and the file itself does in fact exist:<br>
enterprise:OpenSceneGraph-2.8.0-svn casuj$ ls -l /usr/local/include/ft2build.h<br>
-rw-r--r--  1 root  admin  3890 Mar  5  2007 /usr/local/include/ft2build.h<br>
<br>
Can anyone shed light on how to workaround this ?<br>
<br>
Thanks,<br>
<br>
-john c.<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=8569#8569" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=8569#8569</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br>