Hi Tufan,

Did you add the bin folder of the 3rdParty directory to your path ? Maybe
your program don't find the libpng13.dll.

Mourad


On Thu, Jan 7, 2010 at 3:12 PM, Jean-Sébastien Guay <
[email protected]> wrote:

> Hi Tufan,
>
>
>  Yes C:\Users\Tufan\Desktop\New Folder\OpenSceneGraph-2.8.2\bin is in my
>> path. I don't get any error messages I can load bmp image but cannot png. I
>> don't know why.
>>
>
> The difference is that the BMP plugin does not need any additional DLLs
> (other than the plugin itself of course) but the PNG plugin does (something
> like libpng13.dll). So I suspect you don't have this DLL.
>
> This DLL is part of the 3rdParty dependencies, so you either have it
> already (if you compiled OSG from source) or you need to download the
> appropriate 3rdParty dependencies for your version of Visual Studio. See
> this page:
>
> http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies
>
> You could then copy all the DLLs from your 3rdparty\bin folder to your
> OpenSceneGraph-2.8.2\bin folder so it will be found when osgDB loads the PNG
> plugin.
>
> 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
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to