?? Please go back and read his original problem report. If the VS8 libraries
weren't compatible with VS9, this doesn't explain why CMake can't find them.
:-)

As it turns out, Mike VS8 libraries work great with VS9. I have two systems
in the office here with VS9 Express and Mike's VS8 binaries. Not only did
CMake find them, but the libraries work fine at runtime (osgviewer stats
display uses the FreeType plugin without a problem). I'm not sure I'd ship a
product with this compiler mix, but it works fine for development purposes.

>From the original email, it sounds like he isn't using the precompiled
binaries at all. Perhaps your VS9 binaries will help him, though, so thanks
for posting that.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mattias
Helsing
Sent: Saturday, January 31, 2009 5:18 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgdb_freetype.dll not getting built

Hi Sinisa,

You mention vc++ 2008 so I'm guessing you have visual studio 2008 with the
vc90 in which case the problem may well be that Mike's 3rdParty binaries are
(more or less) incompatible with your system. You should
try:

http://www.openscenegraph.org/projects/osg/wiki/Community/People/MattiasHels
ing/3rdParty_Win32Binaries_vc90.zip

The zip above will soon get updated as compiled with vc90 sp1

cheers
Mattias

On Fri, Jan 30, 2009 at 11:27 PM, Paul Martz <[email protected]> wrote:
> Check the mailing list archives. This comes up every few weeks or so.
>
> You might also look at the CMakeModules/FindFreeType.cmake script to 
> see if you can figure out why it can't find your library.
>
> If you have the precompiled binaries from Mike's repo in a sibling 
> directory called 3rdParty, OSG's CMake system will find it straight 
> away. Mike's repo is here:
>
> https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty/branches/3r
> dParty
> _win32binaries_vs80sp1
> It contains FreeType v2.3.5.
>
> Paul Martz
> Skew Matrix Software LLC
> http://www.skew-matrix.com
> +1 303 859 9466
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of 
> Sinisa Kolaric
> Sent: Friday, January 30, 2009 3:11 PM
> To: [email protected]
> Subject: [osg-users] osgdb_freetype.dll not getting built
>
> Hi
>
> I am trying to compile OpenSceneGraph 2.6.1 on Windows XP, but it 
> looks like CMake can't find FreeType in this source snapshot; the 
> resulting VC++ 2008 project thus does not contain a reference to this
plugin.
>
> So when I run a sample application (for example osgautotransform.exe), 
> I get a bunch of "Warning: Could not find plugin to read objects from 
> file ...\fonts\arial.ttf", simply because osgdb_freetype.dll isn't 
> there - it wasn't compiled.
>
> I downloaded the latest version of FreeType (2.3.8) and added a 
> reference to its include source manually in CMake, but the resulting 
> VC project still doesn't contain a reference to it. Any ideas? Thanks,
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> org
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to