Re: [osg-users] [osgPlugins] My PNG plugin in missing after building OSG V 3.0.1
Zachary Hilbun writes: Doing a search in Synaptic Package Manager it shows packages such as linpng12-dev and linpng++-dev but I have no idea if those are compatible with OSG. libpng12-dev is the package you have to install. It holds the headers that will trigger the PNG plugin enabling when compiling OSG. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] My PNG plugin in missing after building OSG V 3.0.1
ZacharyH wrote: You mentioned that you need the libpng development libraries installed on your system. The closest thing I have to that is ReaderWriterPNG.cpp under OpenSceneGraph-3.0.1/src/osgPlugins/png. Is that it? If not, where would I download what I need for my version of OGS? Is it documented anywhere that you have to do this if you want to do PNG? ReaderWriterPNG.cpp is the source code for the osgdb_png.so plugin. Many of the OSG plugins rely on a 3rd-party library to do their work (the PNG plugin need libpng, the JPEG plugin needs libjpeg, etc.) The 3rd party libraries are listed here: http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies Since you're on a Linux machine, your Linux distribution should have packages for most of these. Be aware, though that there are usually two packages for each library. One just lets you run programs that use the library, the other lets you develop programs to use the library. You need the development one. Usually, these packages have a -devel or -dev suffix. ZacharyH wrote: Doing a search in Synaptic Package Manager it shows packages such as linpng12-dev and linpng++-dev but I have no idea if those are compatible with OSG. That's the development package for libpng. That's the one you want. Since you're also developing for Qt, you want to make sure you have the -dev version of the Qt packages installed, too. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46266#46266 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] My PNG plugin in missing after building OSG V 3.0.1
Hi, I downloaded Chris Hanson's 3.0.1 release and copied osgdb_png.so to /usr/local/lib/osgPlugins-3.0.1/. The debug information says it is using it, but that there is still a problem: FindFileInPath() : USING /usr/local/lib/osgPlugins-3.0.1/osgdb_png.so Warning: dynamic library '/usr/local/lib/osgPlugins-3.0.1/osgdb_png.so' exists, but an error occurred while trying to open it: libpng.so.3: cannot open shared object file: No such file or directory DynamicLibrary::failed loading osgPlugins-3.0.1/osgdb_png.so Warning: Could not find plugin to read objects from file jet_fighter3-nobackgroundof.png. Thank you! Cheers, Zachary -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46274#46274 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] My PNG plugin in missing after building OSG V 3.0.1
Zachary Hilbun writes: libpng.so.3: cannot open shared object file: No such file or directory The plugin can't be loaded because it depends on libpng and you don't even have installed it. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] My PNG plugin in missing after building OSG V 3.0.1
libpng.so.3: cannot open shared object file: No such file or directory The plugin can't be loaded because it depends on libpng and you don't even have installed it. I believe this should be either in my binary build, and/or in my 3rdpart dependencies download kit. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] My PNG plugin in missing after building OSG V 3.0.1
Hi, Thanks Chris, I copied it to the correct location and now get back a non NULL from readImageFile. Thank you! Cheers, Zachary -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46285#46285 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [osgPlugins] My PNG plugin in missing after building OSG V 3.0.1
Hi, This is a Linux machine and I am using Eclipse for development of a Qt app. I installed OSG V 3.0.0 and found it did not have the Qt integration in it. I then downloaded and built OSG V 3.0.1. I need to read a PNG image but find that I have no osgdb_png.so in my 3.0.1 directory which is under /usr/local/lib/osgPlugins-3.0.1. I do have it under my home directory /OpenSceneGraph/lib/osgPlugins-3.0.0. Can I just copy the 3.0.0 plugin to my 3.0.1 directory or is there a version problem? Why didn't my osgdb_png.so get placed in the 3.0.1 plugin directory along with the rest of the plugins? How can I get it there? What needs to be set up in order for the plugins to be found? I now have 2 OSG versions on my computer. Can I safely get rid of the 3.0.0 version? How can I do that? Thank you! Cheers, Zachary -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46238#46238 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] My PNG plugin in missing after building OSG V 3.0.1
Hi, You mentioned that you need the libpng development libraries installed on your system. The closest thing I have to that is ReaderWriterPNG.cpp under OpenSceneGraph-3.0.1/src/osgPlugins/png. Is that it? If not, where would I download what I need for my version of OGS? Is it documented anywhere that you have to do this if you want to do PNG? Doing a search in Synaptic Package Manager it shows packages such as linpng12-dev and linpng++-dev but I have no idea if those are compatible with OSG. You mentioned I'm guessing you installed OSG-3.0.0 from a package in your Linux distribution. The only thing available from Synaptic Package Manager was version 2.8.3 so I downloaded version 3.0.0 from the OSG site. After I installed it (didn't need to build from source), I found out a mistake had been made in it and they had left out the Qt support. OSG V 3.0.1 didn't have a binary you could download so I had to build it from source. Thank you! Cheers, Zachary -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46248#46248 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] My PNG plugin in missing after building OSG V 3.0.1
On Tue, Mar 13, 2012 at 9:24 PM, Zachary Hilbun osgfo...@tevs.eu wrote: You mentioned that you need the libpng development libraries installed on your system. The closest thing I have to that is ReaderWriterPNG.cpp under OpenSceneGraph-3.0.1/src/osgPlugins/png. Is that it? Nope. You're looking for some headers and a .so library. If not, where would I download what I need for my version of OGS? Is it documented anywhere that you have to do this if you want to do PNG? PNG is usually covered in the third part dependencies discussion. Doing a search in Synaptic Package Manager it shows packages such as linpng12-dev and linpng++-dev but I have no idea if those are compatible with OSG. LibPNG dev is most likely what you want. Alternately, you can download current versions of all the thirdparty libraries from my web page http://openscenegraph.alphapixel.com/osg/downloads/free-openscenegraph-binary-downloads You mentioned I'm guessing you installed OSG-3.0.0 from a package in your Linux distribution. The only thing available from Synaptic Package Manager was version 2.8.3 so I downloaded version 3.0.0 from the OSG site. After I installed it (didn't need to build from source), I found out a mistake had been made in it and they had left out the Qt support. That's not necessarily a mistake. Many people don't want/need Qt support. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org