Hi Anders,

Could it be that the project files by CMake are still referencing the
old freetype path/lib name, rather than the new one.  Try doing a
clean CMake generation of the project files to see if this updates the
libs etc. properly.

Robert.

On Feb 19, 2008 6:21 PM, Anders Backman <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> Before I dwell into debugging-mode. Is there anyone having problems with the
> svn version of osg when it comes to loading freetype fonts  with the
> osgdb_freetype plugin?
>
> After I checked out the latest osg from svn I had problems with loading
> fonts.
>
> My colleague running linux has the same problem.
> I have built the latest freetype from source, as I saw that there was an
> update between November and now that required a version change of the
> Freetype library: 2.3.5 is the version Im using now.
>
> If the problem would have been local to my installation, I would have
> suspected something with the linking/building of freetype vs freetype
> plugin.
> But as the problem also reveals itself under linux, Im a little confused.
>
> But as I said, I havent studied the problem in detail just yet.
> I just wanted to see if anyone had experienced the same problem.
>
>
>
> when running osgviewer.exe cow.osg and pressing 's to get the stats I get
> the text:
>
> Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
> Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
> Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
>  Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
> Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
> Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
>  Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
> Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
> Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
>  Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
> Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
> Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
>  Warning: Could not find plugin to read objects from file
> "C:\Windows\Fonts\arial.ttf".
>
> When I set OSG_NOTIFY_LEVEL=DEBUG and run for example osgtext I get:
>
> itr='C:\projects\algoryx\svn\trunk\configuration\\..\data'
>  FindFileInPath() : trying
> C:\projects\algoryx\svn\trunk\data\fonts\arial.ttf ...
> itr='C:\projects\algoryx\svn\trunk\configuration\\..\data\textures'
> FindFileInPath() : trying
> C:\projects\algoryx\svn\trunk\data\textures\fonts\arial.ttf ...
>  itr='C:\projects\algoryx\svn\trunk\configuration\\..\data\models'
> FindFileInPath() : trying
> C:\projects\algoryx\svn\trunk\data\models\fonts\arial.ttf ...
> itr='C:\projects\algoryx\svn\trunk\configuration\\..\data\collada'
>  FindFileInPath() : trying
> C:\projects\algoryx\svn\trunk\data\collada\fonts\arial.ttf ...
> itr='C:\projects\algoryx\svn\trunk\configuration\\..\spirit\data'
> FindFileInPath() : trying
> C:\projects\algoryx\svn\trunk\spirit\data\fonts\arial.ttf ...
>  itr=''
> FindFileInPath() : trying
> C:\projects\algoryx\svn\dependencies\agx_dependencies_071106_Windows_32_VISTA_VS2008\OpenSceneGraph\bin\fonts\arial.ttf
> ...
> itr='C:\projects\algoryx\svn\trunk\configuration\\..\data'
>  FindFileInPath() : trying C:\projects\algoryx\svn\trunk\data\arial.ttf ...
> itr='C:\projects\algoryx\svn\trunk\configuration\\..\data\textures'
> FindFileInPath() : trying
> C:\projects\algoryx\svn\trunk\data\textures\arial.ttf ...
>  itr='C:\projects\algoryx\svn\trunk\configuration\\..\data\models'
> FindFileInPath() : trying
> C:\projects\algoryx\svn\trunk\data\models\arial.ttf ...
> itr='C:\projects\algoryx\svn\trunk\configuration\\..\data\collada'
>  FindFileInPath() : trying
> C:\projects\algoryx\svn\trunk\data\collada\arial.ttf ...
> itr='C:\projects\algoryx\svn\trunk\configuration\\..\spirit\data'
> FindFileInPath() : trying
> C:\projects\algoryx\svn\trunk\spirit\data\arial.ttf ...
>  itr=''
> FindFileInPath() : trying
> C:\projects\algoryx\svn\dependencies\agx_dependencies_071106_Windows_32_VISTA_VS2008\OpenSceneGraph\bin\arial.ttf
> ...
> itr='.'
> FindFileInPath() : trying
> C:\projects\algoryx\svn\dependencies\agx_dependencies_071106_Windows_32_VISTA_VS2008\OpenSceneGraph\bin\fonts\arial.ttf
> ...
>  itr='C:/winnt/fonts'
> FindFileInPath() : trying C:\winnt\fonts\fonts\arial.ttf ...
> itr='C:/windows/fonts'
> FindFileInPath() : trying C:\windows\fonts\fonts\arial.ttf ...
> itr='C:\Windows\fonts'
>  FindFileInPath() : trying C:\Windows\fonts\fonts\arial.ttf ...
> itr='.'
> FindFileInPath() : trying
> C:\projects\algoryx\svn\dependencies\agx_dependencies_071106_Windows_32_VISTA_VS2008\OpenSceneGraph\bin\arial.ttf
> ...
>  itr='C:/winnt/fonts'
> FindFileInPath() : trying C:\winnt\fonts\arial.ttf ...
> itr='C:/windows/fonts'
> FindFileInPath() : trying C:\Windows\Fonts\arial.ttf ...
> FindFileInPath() : USING C:\Windows\Fonts\arial.ttf
>
> itr='C:\projects\algoryx\svn\dependencies\agx_dependencies_071106_Windows_32_VISTA_VS2008\OpenSceneGraph\bin'
> FindFileInPath() : trying
> C:\projects\algoryx\svn\dependencies\agx_dependencies_071106_Windows_32_VISTA_VS2008\OpenSceneGraph\bin\osgPlugins-2.3.4\osgdb_freetype.dll
> ...
>  FindFileInPath() : USING
> C:\projects\algoryx\svn\dependencies\agx_dependencies_071106_Windows_32_VISTA_VS2008\OpenSceneGraph\bin\osgPlugins-2.3.4\osgdb_freetype.dll
> DynamicLibrary::failed loading "osgPlugins-2.3.4/osgdb_freetype.dll"
>  No valid object found for C:\Windows\Fonts\arial.ttf
>
>
>
> /Anders
>
>
> --
>
>
> ________________________________________________________________
>  Anders Backman               Email:    [EMAIL PROTECTED]
>  HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
>  Umea university              Cellular: +46 (0)70-392 64 67
>  S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
>                                http://www.cs.umu.se/~andersb
> _______________________________________________
> 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