Hi all,
checked out the latest osg trunk on svn and tried to build on my Mac
with OS X 10.5.8.
I'm using Cmake to create regular makefiles.
I opted for using imageio instead of quicktime for images and switched
to Cocoa instead of default Carbon windows
Most of the project builds fine but fails in the ffmpeg plugin with
linker error messages like:
Undefined symbols:
"_deflateInit2_", referenced from:
_encode_frame in libavcodec.a(pngenc.o)
"_compress", referenced from:
_encode_strip in libavcodec.a(tiffenc.o)
"_uncompress", referenced from:
_mov_read_cmov in libavformat.a(mov.o)
_decode_frame in libavcodec.a(dxa.o)
_svq3_decode_init in libavcodec.a(h264.o)
_decode_frame in libavcodec.a(cscd.o)
_decode_frame in libavcodec.a(tiff.o)
"_inflateEnd", referenced from:
_matroska_decode_buffer in libavformat.a(matroskadec.o)
_decode_frame in libavcodec.a(pngdec.o)
_decode_end in libavcodec.a(lcldec.o)
_decode_end in libavcodec.a(zmbv.o)
_flashsv_decode_end in libavcodec.a(flashsv.o)
_decode_end in libavcodec.a(tscc.o)
"_inflateInit_", referenced from:
_matroska_decode_buffer in libavformat.a(matroskadec.o)
_decode_frame in libavcodec.a(pngdec.o)
_decode_init in libavcodec.a(lcldec.o)
_decode_init in libavcodec.a(zmbv.o)
_flashsv_decode_init in libavcodec.a(flashsv.o)
_decode_init in libavcodec.a(tscc.o)
etc.
Does anyone know what might be wrong? I get the feeling that the the
linker can't find the libs needed for the actual encoding/decoding of
the formats (pngenc.o looks for _deflateInit2_ which I presume resides
in some libpng...
But since I use imageio for image in/out I won't actually be using
libpng.a right? Or do I need libpng just for ffmpeg to work?
I also tried to switch back to using quicktime instead of imageio but
still gets the same errors. (in this case quicktime takes care of for
example pngs so libpng won't be used here either)
Any tips for moving forward? Disabling ffmpeg would be an ok interim
solution for me even though its not preferable.
/Filip
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org