Hi Benjamin, It looks like the Jasper headers have changed, have a look at the docs on Jasper to see if they have removed particular headers in recent releases.
Robert. On 12 September 2012 00:09, benjamin bish <benc...@comcast.net> wrote: > Hi, > I'm trying to build OSG 3.1.1 in PCLinuxOS 2012 32bit (mandriva based). > I'm getting an error at ReaderWriterJP2.o > > Code: > Scanning dependencies of target osgdb_jp2 > [ 81%] Building CXX object > src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/ReaderWriterJP2.o > /home/benjamin/flightgear2.9/src/OpenSceneGraph-3.1.1/src/osgPlugins/jp2/ReaderWriterJP2.cpp: > In member function ‘virtual osgDB::ReaderWriter::ReadResult > ReaderWriterJP2::readImage(const std::string&, const > osgDB::ReaderWriter::Options*) const’: > /home/benjamin/flightgear2.9/src/OpenSceneGraph-3.1.1/src/osgPlugins/jp2/ReaderWriterJP2.cpp:224:85: > error: ‘jas_stream_freopen’ was not declared in this scope > /home/benjamin/flightgear2.9/src/OpenSceneGraph-3.1.1/src/osgPlugins/jp2/ReaderWriterJP2.cpp: > In member function ‘virtual osgDB::ReaderWriter::WriteResult > ReaderWriterJP2::writeImage(const osg::Image&, const std::string&, const > osgDB::ReaderWriter::Options*) const’: > /home/benjamin/flightgear2.9/src/OpenSceneGraph-3.1.1/src/osgPlugins/jp2/ReaderWriterJP2.cpp:428:86: > error: ‘jas_stream_freopen’ was not declared in this scope > make[2]: *** [src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/ReaderWriterJP2.o] > Error 1 > make[1]: *** [src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/all] Error 2 > make: *** [all] Error 2 > > > > I have jasper packages installed: jasper libjasper1 libjasper1.701_1 > libjasper1.701_1-devel libjasper-devel > > I'm building out of source: > > Code: > cmake -D CMAKE_BUILD_TYPE="Release" -D > CMAKE_INSTALL_PREFIX="/home/benjamin/flightgear2.9" ../OpenSceneGraph-3.1.1 > > > > I don't know what's going on. Please help. > > Thank you! > benjamin > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=49958#49958 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org