Hi,

we have the following problems:

We use osg-2.6.0
(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.6/OpenSceneGraph-2.6.0.zip)
and the 3rdPartyLibraries
(https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty/branches/3rdParty_win32binaries_vs80sp1,
Revision 531).

We have developed an application with visual studio and the instructions here:

http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio


The 3rdPartyLibraries are installed and can be found. When running our
application, we only see some small fonts, there must be something wrong with
the freetype-library.

Then, I set OSG_NOTIFY_LEVEL=debug an run the application again.
Here's the interesting output:

FindFileInPath() : USING C:\<some_path>\osgPlugins-2.6.0\osgdb_freetype.dll
DynamicLibrary::failed loading "osgPlugins-2.6.0/osgdb_freetype.dll"
No valid object found for C:\<some_path>\fonts\arial.ttf


The osgdb_freetype.dll is in the right path and is found by OSG. But it cannot
be loaded.


I checked the dependencies of osgdb_freetype.dll with the dependency walker of
Visual Studio, and I noticed that DWMAPI.DLL is not found on the system.


We have tested the applications on several windows-systems:

-- 2x Windows XP
-- 2x Windows XP Media Center Edition


First we think, the problems are only with the Media Center Edition, but this
isn't true. We have actually

-- one Windows XP and one Windows XP Media Center Edition the osgdb_freetype.dll
is loaded and works without problems

-- one Windows XP and one Windows XP Media Center Edition the osgdb_freetype.dll
is not loaded and it appears the described OSG-debug-message


On some systems is DWMAPI.DLL installed and can be found. On other systems is
DWMAPI.DLL never used for osgdb_freetype.dll (as seen in the dependency 
walker)???


Can someone help me, I have no idea what to do.

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

Reply via email to