Re: [osg-users] osgdb_freetype.dll not getting built

2009-01-31 Thread Mattias Helsing
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/MattiasHelsing/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 pma...@skew-matrix.com 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/3rdParty
 _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: osg-users-boun...@lists.openscenegraph.org
 [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Sinisa
 Kolaric
 Sent: Friday, January 30, 2009 3:11 PM
 To: osg-users@lists.openscenegraph.org
 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
 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

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgdb_freetype.dll not getting built

2009-01-31 Thread Paul Martz
?? 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: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] 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 pma...@skew-matrix.com 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: osg-users-boun...@lists.openscenegraph.org
 [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of 
 Sinisa Kolaric
 Sent: Friday, January 30, 2009 3:11 PM
 To: osg-users@lists.openscenegraph.org
 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
 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

___
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


Re: [osg-users] osgdb_freetype.dll not getting built

2009-01-31 Thread Mattias Helsing
Hi Paul,

On Sat, Jan 31, 2009 at 4:40 PM, Paul Martz pma...@skew-matrix.com wrote:
 ?? 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.
 :-)

Yes I spotted it the minute later. Sorry about that.


 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.

It is very strange how this works on some system and some don't.
What's sure is that many haven't got the same luck as you :-) It could
be related to experience with the studio or development experience but
I'm not sure At least it's easier to say try this zip instead than
We recognize your problem but we are not really sure about the
solution, you may need to compile the dependencies yourself

As a side note Mike's llibraries worked fine for me to but then I
needed to deliver. This was when he number of posts of can't load
fonts/arial.ttf/can't find osgdb_freetype/the freetype plugin
isn't compiled was at it's peak, so I just didn't dare to ship with
Mike's libraries.

Mattias


 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: osg-users-boun...@lists.openscenegraph.org
 [mailto:osg-users-boun...@lists.openscenegraph.org] 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 pma...@skew-matrix.com 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: osg-users-boun...@lists.openscenegraph.org
 [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
 Sinisa Kolaric
 Sent: Friday, January 30, 2009 3:11 PM
 To: osg-users@lists.openscenegraph.org
 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
 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

 ___
 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

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgdb_freetype.dll not getting built

2009-01-31 Thread Paul Martz
 It is very strange how this works on some system and some
 don't.
 What's sure is that many haven't got the same luck as you :-)

Ah! Good to know.

For what it's worth, I still have unexplained issues with Mike's Debug VS8
binaries on my _VS8_ build of OSG. For a while , I thought it was the
service pack issue, but even after installing the service pack, I still have
some issues, and no one else seems to encounter them.

There seems to be lots of non-reproducible issues with VS, the wldap32.lib
issue in the CURL plugin is another one. :-(
   -Paul

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osgdb_freetype.dll not getting built

2009-01-30 Thread Sinisa Kolaric
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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgdb_freetype.dll not getting built

2009-01-30 Thread Jason Daly

Sinisa Kolaric wrote:

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,
  


If you're pointing CMake at it manually, you'll also have to tell it 
where the library file itself is (not just the includes).


--J

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgdb_freetype.dll not getting built

2009-01-30 Thread Paul Martz
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/3rdParty
_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: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Sinisa
Kolaric
Sent: Friday, January 30, 2009 3:11 PM
To: osg-users@lists.openscenegraph.org
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
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