From: Massimo Di S. <mas...@ya...> - 2010-02-17 17:34:32
|
Hi All, ring to build ossimplanet i get an error about ossimPredator and ffmpeg this the log from "make" in ossimPlanet : In file included from ../../../include/ossimPlanet/ossimPlanetLand.h:20, from ../../../include/ossimPlanet/ossimPlanet.h:11, from ../opvLoadModel.cpp:10: ../../../include/ossimPlanet/ossimPlanetLandCullCallback.h: In copy constructor ‘ossimPlanetLandCullCallback::ossimPlanetLandCullCallback(const ossimPlanetLandCullCallback&)’: ../../../include/ossimPlanet/ossimPlanetLandCullCallback.h:14: warning: base class ‘class osg::Object’ should be explicitly initialized in the copy constructor g++ -O2 -L../../../lib/Linux64 -L/usr/local/src/ossim/ossim/lib/ossim -L/usr/local/src/ossim/ossim/lib/ossim ossimplanetviewer.o opvLoadModel.o -lstdc++ -lossimPlanet -L/usr/local/lib64 -L/usr/local/lib -L/usr/local/bin -losgViewer -losgText -losgGA -losgDB -losgUtil -losg -lOpenThreads -lossimPredator -lossim -ljpeg -lz -lgpstk -lwms -lexpat -lcurl -lfreetype -o ossimplanetviewer /usr/local/lib/libossimPredator.so: undefined reference to `av_lockmgr_register' /usr/local/lib/libossimPredator.so: undefined reference to `av_get_bits_per_pixel' /usr/local/lib/libossimPredator.so: undefined reference to `av_free_packet' /usr/local/lib/libossimPredator.so: undefined reference to `av_pix_fmt_descriptors' collect2: ld returned 1 exit status make[4]: *** [ossimplanetviewer] Error 1 make[4]: Leaving directory `/usr/local/src/ossim/ossimPlanet/examples/ossimplanetviewer/Linux64.Opt' make[3]: *** [ossimplanetviewer.opt] Error 2 make[3]: Leaving directory `/usr/local/src/ossim/ossimPlanet/examples/ossimplanetviewer' make[2]: *** [default] Error 1 make[2]: Leaving directory `/usr/local/src/ossim/ossimPlanet/examples' make[1]: *** [default] Error 1 make[1]: Leaving directory `/usr/local/src/ossim/ossimPlanet/src' make: *** [default] Error 1 epi@epi:/usr/local/src/ossim/ossimPlanet$ sudo ldconfig [sudo] password for epi: epi@epi:/usr/local/src/ossim/ossimPlanet$ make Entering directory src make[1]: Entering directory `/usr/local/src/ossim/ossimPlanet/src' Entering directory ossimPlanet make[2]: Entering directory `/usr/local/src/ossim/ossimPlanet/src/ossimPlanet' make[3]: Entering directory `/usr/local/src/ossim/ossimPlanet/src/ossimPlanet/Linux64.Opt' make[3]: `libossimPlanet.so' is up to date. make[3]: Leaving directory `/usr/local/src/ossim/ossimPlanet/src/ossimPlanet/Linux64.Opt' make[3]: Entering directory `/usr/local/src/ossim/ossimPlanet/src/ossimPlanet' =====> Linux64.Opt/libossimPlanet.so and ../../lib/Linux64/libossimPlanet.so are in sync make[3]: Leaving directory `/usr/local/src/ossim/ossimPlanet/src/ossimPlanet' make[2]: Leaving directory `/usr/local/src/ossim/ossimPlanet/src/ossimPlanet' Entering directory ../examples make[2]: Entering directory `/usr/local/src/ossim/ossimPlanet/examples' Entering directory ossimplanetviewer make[3]: Entering directory `/usr/local/src/ossim/ossimPlanet/examples/ossimplanetviewer' make[4]: Entering directory `/usr/local/src/ossim/ossimPlanet/examples/ossimplanetviewer/Linux64.Opt' g++ -O2 -L../../../lib/Linux64 -L/usr/local/src/ossim/ossim/lib/ossim -L/usr/local/src/ossim/ossim/lib/ossim ossimplanetviewer.o opvLoadModel.o -lstdc++ -lossimPlanet -L/usr/local/lib64 -L/usr/local/lib -L/usr/local/bin -losgViewer -losgText -losgGA -losgDB -losgUtil -losg -lOpenThreads -lossimPredator -lossim -ljpeg -lz -lgpstk -lwms -lexpat -lcurl -lfreetype -o ossimplanetviewer /usr/local/lib/libossimPredator.so: undefined reference to `av_lockmgr_register' /usr/local/lib/libossimPredator.so: undefined reference to `av_get_bits_per_pixel' /usr/local/lib/libossimPredator.so: undefined reference to `av_free_packet' /usr/local/lib/libossimPredator.so: undefined reference to `av_pix_fmt_descriptors' collect2: ld returned 1 exit status make[4]: *** [ossimplanetviewer] Error 1 make[4]: Leaving directory `/usr/local/src/ossim/ossimPlanet/examples/ossimplanetviewer/Linux64.Opt' make[3]: *** [ossimplanetviewer.opt] Error 2 make[3]: Leaving directory `/usr/local/src/ossim/ossimPlanet/examples/ossimplanetviewer' make[2]: *** [default] Error 1 make[2]: Leaving directory `/usr/local/src/ossim/ossimPlanet/examples' make[1]: *** [default] Error 1 make[1]: Leaving directory `/usr/local/src/ossim/ossimPlanet/src' make: *** [default] Error 1 thanks for any help! regards, Massimo. |