Re: [osg-users] Freetype doesn't show up in .net2005

2008-06-27 Thread Kim C Bale
Thanks that solved it.

Kim.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sébastien 
Guay
Sent: 26 June 2008 16:53
To: OpenSceneGraph Users
Subject: Re: [osg-users] Freetype doesn't show up in .net2005

Hi Kim,

 FREETYPE_INCLUDE_DIR_freetype2 = C:/Build/OpenSceneGraph
 2.4/3rdParty/include/freetype
 FREETYPE_INCLUDE_DIR_ft2build = C:/Build/OpenSceneGraph
 2.4/3rdParty/include/
 FREETYPE_LIBRARY_DEBUG = C:/Build/OpenSceneGraph
 2.4/3rdParty/lib/freetype219_D.lib

There is another value, FREETYPE_LIBRARY, which is only shown when Show 
advanced values is checked in CMake. (why?)  So I guess if you set that 
it'll generate the project.

I agree that there are problems detecting the dependencies when you 
specify the 3rdParty directory manually (using ACTUAL_3RDPARTY_DIR). I 
don't know why that happens. I always put my 3rdParty dir as a sibling 
of the OpenSceneGraph dir (which contains src/, include/, etc.) and that 
works for me (tm), so perhaps doing that would help. But in the case 
that's not possible, perhaps you could check out 
CMakeModules/Find3rdPartyDependencies.cmake and try to find out what's 
wrong with it in your usage pattern?

Hope this helps,

J-S
-- 
__
Jean-Sebastien Guay[EMAIL PROTECTED]
http://www.cm-labs.com/
 http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org*
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Freetype doesn't show up in .net2005

2008-06-26 Thread Kim C Bale
Dear all,


I'm having problems getting CMake 2.4 to find the appropriate files for
the freetype plugin in the osg2.4 distribution.

I was under the impression that as long as the 3rdParty folder was
specified correctly, CMake should find the necessary freetype files to
add it to the .Net solution. However CMake tells me freetype files
cannot be found.

So I decided to add them manually, I deleted the cache to start a fresh
and pointed CMake to the following directories.

FREETYPE_INCLUDE_DIR_freetype2 = C:/Build/OpenSceneGraph
2.4/3rdParty/include/freetype
FREETYPE_INCLUDE_DIR_ft2build = C:/Build/OpenSceneGraph
2.4/3rdParty/include/
FREETYPE_LIBRARY_DEBUG = C:/Build/OpenSceneGraph
2.4/3rdParty/lib/freetype219_D.lib

And yet the plugin still doesn't appear in my .net solution.

Can anyone see my error? Or point me in the direction of a post that
can?

Forgive me if this has already been posted, I had a good look beforehand
but couldn't find an answer to my problem.


Cheers!


Kim.*
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org