Re: [Ekiga-devel-list] Mingw32 : Having problem with ffmpeg



Now ptlib had been compiled, I have difficulties with opal. I have 2 errors when h264 and h263, I might disable those codecs, but it might be difficult to compile ekiga after ? I can disable h264 by adding --disable-h264 to confopal in the main Makefile, but I did not find a similar option to disable h263.
Here is my error (it's above the same for h263) :

make[3]: Entering directory `/home/devel/win32/ekiga/win32/opal/plugins/video/H.264' i586-mingw32msvc-g++ -gstabs -I../../../include -I/home/devel/win32/ekiga/win32/include -I../common -I../../ -DLIB_DIR='"/home/devel/win32/ekiga/win32/lib"' -DVC_PLUGIN_DIR='"opal-3.7.0/codecs/video"' -DLICENCE_MPL -g3 -ggdb -O0 -D_DEBUG -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -c h264-x264.cxx -o obj/h264-x264.o
In file included from ../common/ffmpeg.h:67,
                from ../common/dyna.h:44,
                from h264-x264.cxx:53:
../common/vs-stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
In file included from ../common/dyna.h:44,
                from h264-x264.cxx:53:
../common/ffmpeg.h:68:1: warning: "LIBAVCODEC_HEADER" redefined
In file included from h264-x264.cxx:40:
../../plugin-config.h:128:1: warning: this is the location of the previous definition
In file included from ../common/dyna.h:44,
                from h264-x264.cxx:53:
../common/ffmpeg.h:78:27: error: libavcodec\avcodec.h: No such file or directory
In file included from ../common/ffmpeg.h:67,
                from ../common/dyna.h:44,
                from h264-x264.cxx:53:
../common/vs-stdint.h:61: error: conflicting declaration 'typedef long int int32_t' /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/stdint.h:31: error: 'int32_t' has a previous declaration as 'typedef int int32_t' ../common/vs-stdint.h:65: error: conflicting declaration 'typedef long unsigned int uint32_t' /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/stdint.h:32: error: 'uint32_t' has a previous declaration as 'typedef unsigned int uint32_t' ../common/vs-stdint.h:79: error: conflicting declaration 'typedef int8_t int_fast8_t' /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/stdint.h:50: error: 'int_fast8_t' has a previous declaration as 'typedef char int_fast8_t'
make[3]: *** [obj/h264-x264.o] Error 1
make[3]: Leaving directory `/home/devel/win32/ekiga/win32/opal/plugins/video/H.264'

It looks like, it uses the wrong header to compile, but I do not know how to work arround it.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]