Hi,
I tried 2 things to get ffmpeg to compile with PV3.10:
1) Compile ffmpeg from the source that i get on the VTK website, with
detailed instructions for choosing ccmake options
2) use the ffmpeg package available for debian squeeze.
both of them fail to build :(.
In the first case, i don't have the error log, but it referred to
something from libswscale, which is not installed through option 1. In
option 2, since the header files of ffmpeg are spread arond in many
others (libavutils,libavformat etc), i manually created a /ffmpeg
directory in my /usr/include (btw for option 1 , i installed using a
completely different prefix, so don't worry about overwrites :) ) and
copied all the header files there, and pointed the ffmpeg include option
there. Now i am getting the following error:
/usr/lib64/libavformat.so.52: undefined reference to
`av_rescale@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_fifo_init@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to `av_mul_q@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_des_crypt@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_rescale_q@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`ff_log2_tab@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_int2dbl@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_md5_sum@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_aes_init@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_dbl2ext@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_evaluate_lls@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_random_generate_untempered_numbers@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_solve_lls@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_tree_node_size@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_base64_decode@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_stristart@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to `av_freep@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_strlcatf@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_malloc@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_rc4_init@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_ext2dbl@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_dbl2int@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to `av_log@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_fifo_free@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_lzo1x_decode@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_md5_size@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_random_init@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to `av_div_q@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_memcpy_backptr@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_mallocz@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_strdup@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_aes_size@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_aes_crypt@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_init_lls@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_md5_final@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_int2flt@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_rescale_rnd@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_fifo_size@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_crc_get_table@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_tree_find@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_fifo_read@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_tree_insert@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_fifo_drain@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_base64_encode@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_strlcat@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to `av_crc@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_lfg_init@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_md5_update@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_log_get_level@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_rc4_crypt@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_update_lls@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to `av_gcd@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_fifo_generic_write@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_fifo_generic_read@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`ff_sqrt_tab@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_md5_init@LIBAVUTIL_49'
../../../../../bin/libvtkIO.so.pv3.10: undefined reference to
`av_free@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_realloc@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to `av_d2q@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_strstart@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_strlcpy@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_des_init@LIBAVUTIL_49'
/usr/lib64/libavcodec.so.52: undefined reference to
`av_crc_init@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_reduce@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_fifo_realloc2@LIBAVUTIL_49'
/usr/lib64/libavformat.so.52: undefined reference to
`av_adler32_update@LIBAVUTIL_49'
collect2: ld returned 1 exit status
make[2]: *** [bin/QVTKCxxTests] Error 1
make[1]: ***
[VTK/GUISupport/Qt/Testing/Cxx/CMakeFiles/QVTKCxxTests.dir/all] Error 2
make: *** [all] Error 2
what is going wrong here? Is PV3.10 supposed to compile with the older
ffmpeg, available on vtk website or the new one available from
apt-get/source? i read somewhere on the mailing list that the ffmpeg api
had changed, and the abovementioned package contained the older one.
Does PV3.10 use the old api or the new one?
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview