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

Mattias Helsing helsing72 at gmail.com
Thu Mar 19 02:42:42 PDT 2009

Hi John

I'm catching up with the list and just saw this. I'm not a mac user
but I recently made a submission in the Find3rdPartyDependencies.cmake
and freetype area that is in the osg-2.8 branch (not 2.8.0). As I
understand you have 2.8.0?

If you want to try it out I've attached the file


On 3/19/09, Robert Osfield <robert.osfield at gmail.com> wrote:
> Hi John,
> This does sounds like a CMake bug.  I wonder if reverting to old version of
> CMake might help.
> Robert.
> On Wed, Mar 18, 2009 at 8:17 PM, john casu <john at chiraldynamics.com> wrote:
>> Robert,
>> I put debugging messages in FindFreeType.cmake, and the behavior is as
>> expected within that cmake file, i.e. FREETYPE_INCLUDE_DIRS gets set
>> correctly.
>> The issue, as far as I can tell, is why cmake on os/x either isn't
>> exporting FREETYPE_INCLUDE_DIRS, or there's a typo somewhere outside that
>> file so that the variable isn't getting picked up.
>> I spent a little time trying to debug this, but I'm not really getting
>> anywhere, given that I have little cmake experience.  But, everything does
>> seem to be working as expected, so it's a little bit of a mystery.
>> certainly, the code in Find3rdPartyDependencies.cmake doesn't seem to be
>> traversed, and src/osgPlugins/freetype/CMakeLists.txt seems to be correct.
>> Unfortunately, I don't have enough time, right now, to devote to debugging
>> this in any depth.   And since I do have a workaround, I'm not blocked.
>> ------------------
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=8734#8734
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Find3rdPartyDependencies.cmake
Type: application/octet-stream
Size: 5128 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090319/583327bc/attachment-0003.obj>

More information about the osg-users mailing list