thanks a lot J-S

the problem was that the libpng13.dll was not in the path. I thought that only 
osgdb_png.dll was needed 

i owe you one ;)

> Date: Wed, 4 Jun 2008 09:02:07 -0400
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: [osg-users] problem with osg 2.4 stable release
> 
> Hello David,
> 
> > i have a osgdb_png.dll file which is the result of the compilation and i 
> > can see in the visual studio ouput window that the dll is called anytime 
> > i try to read a png and then unloaded after the operation
> 
> The PNG plugin, like some others, has a dependency on an external DLL, 
> namely libpng13.dll in this case. Can you check if you have this in your 
> path? You can find it in the 3rdparty/bin directory. Put it in your 
> OSG/bin directory if you don't already have it. (or somewhere else where 
> you know your app will find it before any other DLL of the same name)
> 
> Additionally, you can try to set OSG_NOTIFY_LEVEL to DEBUG to see if 
> there are other problems. If, for example, the debug output shows that 
> the osgdb_png.dll plugin is loaded, then it finds your PNG file and 
> tries to open it and fails, it's most probably because either it can't 
> find the libpng13.dll, or because it's finding the wrong one (as 
> happened to me lately). Make sure in that case that the OSG bin 
> directory is early in your PATH or in the search path for DLLs, before 
> any other directory that may contain another copy of libpng13.dll.
> 
> Hope this helps,
> 
> J-S
> -- 
> ______________________________________________________
> Jean-Sebastien Guay    [EMAIL PROTECTED]
>                                 http://www.cm-labs.com/
>                          http://whitestar02.webhop.org/
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_________________________________________________________________
Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar 
siempre a la última
http://newsletters.msn.com/hm/maintenanceeses.asp?L=ES&C=ES&P=WCMaintenance&Brand=WL&RU=http%3a%2f%2fmail.live.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to