Re: [Ekiga-devel-list] Mingw32 : Having problem with ffmpeg
- From: paul hillereau <paul hillereau gmail com>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] Mingw32 : Having problem with ffmpeg
- Date: Mon, 8 Jun 2009 15:37:20 +0200
2009/6/8 Michael Rickmann
<mrickma gwdg de>
I had trouble with ffmpeg as well. I realized that when doing an update-
sources every now and then a new file was downloaded from SVN though I
was requesting a specific SVN version. I think the ffmpeg guys have a
problem keeping their SVN and git repositories in synchrony. On the git
side they have a ffmpeg and a libswscale one. So I switched to ffmpeg
git and tried to guess which ffmpeg version corresponds to which
libswscale one, ffmpeg : d962d69f2ef1bcd3b4 and libswcale :
8c5952c02bfad4bfa6 is a good and rather recent pair. For reference how
to download, configure and build, I attach my current Makefile.
Regards
Michael
I do not have issue with ffmpeg so far, because i have an error when cross-compiling PTLIB. I tried to change the version for PTLIB in your Makefile but it does not solve my problem. I tried cross-compiling from PTLIB 2.4.1, 2.6.1 and trunk i have got errors in vfw.cxx :
Version 2.4.1:
PTLIB_URL:=
https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/branches/v2_4make[3]: Entering directory `/home/devel/win32/ekiga/win32/ptlib/src'
i586-mingw32msvc-g++ -gstabs -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -DP_FORCE_STATIC_PLUGIN -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -I/home/devel/win32/ekiga/win32/ptlib/include -c ptlib/common/vfakeio.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/vfakeio.o
i586-mingw32msvc-g++ -gstabs -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -I/home/devel/win32/ekiga/win32/ptlib/include -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -felide-constructors -Wreorder -c ptlib/common/videoio.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/videoio.o
i586-mingw32msvc-g++ -gstabs -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -I/home/devel/win32/ekiga/win32/ptlib/include -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -felide-constructors -Wreorder -c ptlib/common/vconvert.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/vconvert.o
i586-mingw32msvc-g++ -gstabs -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -I/home/devel/win32/ekiga/win32/ptlib/include -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -felide-constructors -Wreorder -c ptlib/common/pvidchan.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/pvidchan.o
i586-mingw32msvc-g++ -gstabs -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -I/home/devel/win32/ekiga/win32/ptlib/include -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -felide-constructors -Wreorder -c ptlib/common/tinyjpeg.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/tinyjpeg.o
i586-mingw32msvc-g++ -gstabs -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -I/home/devel/win32/ekiga/win32/ptlib/include -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -felide-constructors -Wreorder -c ptlib/common/jidctflt.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/jidctflt.o
i586-mingw32msvc-g++ -gstabs -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -I/home/devel/win32/ekiga/win32/ptlib/include -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -felide-constructors -Wreorder -c ptlib/msos/vfw.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/vfw.o
ptlib/msos/vfw.cxx:163: error: expected initializer before 'capCreateCaptureWindowA'
ptlib/msos/vfw.cxx: In static member function 'static PStringArray PVideoInputDevice_VideoForWindows::GetInputDeviceNames()':
ptlib/msos/vfw.cxx:820: error: 'capGetDriverDescriptionA' was not declared in this scope
ptlib/msos/vfw.cxx: In static member function 'static LRESULT PVideoInputDevice_VideoForWindows::VideoHandler(HWND__*, videohdr_tag*)':
ptlib/msos/vfw.cxx:900: warning: NULL used in arithmetic
ptlib/msos/vfw.cxx: In member function 'PBoolean PVideoInputDevice_VideoForWindows::InitialiseCapture()':
ptlib/msos/vfw.cxx:931: error: 'capCreateCaptureWindowA' was not declared in this scope
ptlib/msos/vfw.cxx:958: error: 'capGetDriverDescriptionA' was not declared in this scope
ptlib/msos/vfw.cxx:971: error: 'capGetDriverDescriptionA' was not declared in this scope
ptlib/msos/vfw.cxx: In member function 'virtual void PVideoOutputDevice_Window::HandleDisplay(PThread&, INT)':
ptlib/msos/vfw.cxx:1506: warning: comparison between signed and unsigned integer expressions
ptlib/msos/vfw.cxx:1506: warning: comparison between signed and unsigned integer expressions
make[3]: *** [/home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/vfw.o] Error 1
make[3]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib/src'
make[2]: *** [debug] Error 2
make[2]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib/src'
make[1]: *** [debug] Error 2
make[1]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib'
make: *** [/home/devel/win32/ekiga/win32/lib/libpt_d_s.a] Error 2
Trunk and 2.6.1:
PTLIB_URL:=
https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/branches/v2_6
and PTLIB_URL:=
https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunkake[3]: Entering directory `/home/devel/win32/ekiga/win32/ptlib/src'
i586-mingw32msvc-g++ -gstabs -DP_FORCE_STATIC_PLUGIN -I/home/devel/win32/ekiga/win32/ptlib/include -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -c ptlib/common/vfakeio.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/vfakeio.o
i586-mingw32msvc-g++ -gstabs -I/home/devel/win32/ekiga/win32/ptlib/include -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -felide-constructors -Wreorder -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -c ptlib/common/videoio.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/videoio.o
i586-mingw32msvc-g++ -gstabs -I/home/devel/win32/ekiga/win32/ptlib/include -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -felide-constructors -Wreorder -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -c ptlib/common/vconvert.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/vconvert.o
i586-mingw32msvc-g++ -gstabs -I/home/devel/win32/ekiga/win32/ptlib/include -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -felide-constructors -Wreorder -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -c ptlib/common/pvidchan.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/pvidchan.o
i586-mingw32msvc-g++ -gstabs -I/home/devel/win32/ekiga/win32/ptlib/include -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -felide-constructors -Wreorder -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -c ptlib/common/tinyjpeg.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/tinyjpeg.o
i586-mingw32msvc-g++ -gstabs -I/home/devel/win32/ekiga/win32/ptlib/include -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -felide-constructors -Wreorder -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -c ptlib/common/jidctflt.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/jidctflt.o
i586-mingw32msvc-g++ -gstabs -I/home/devel/win32/ekiga/win32/ptlib/include -mms-bitfields -DPTRACING=1 -I/home/devel/win32/ekiga/win32/ekiga/win32/directx -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -felide-constructors -Wreorder -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -c ptlib/msos/vfw.cxx -o /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/vfw.o
ptlib/msos/vfw.cxx:218: error: 'LPVIDEOHDR' has not been declared
ptlib/msos/vfw.cxx:219: error: 'LPVIDEOHDR' has not been declared
ptlib/msos/vfw.cxx:240: error: expected class-name before '{' token
ptlib/msos/vfw.cxx: In member function 'PBoolean PCapStatus::IsOK()':
ptlib/msos/vfw.cxx:244: error: 'uiImageWidth' was not declared in this scope
ptlib/msos/vfw.cxx: In constructor 'PVideoDeviceBitmap::PVideoDeviceBitmap(HWND__*)':
ptlib/msos/vfw.cxx:312: error: 'WM_CAP_GET_VIDEOFORMAT' was not declared in this scope
ptlib/msos/vfw.cxx: In constructor 'PVideoDeviceBitmap::PVideoDeviceBitmap(HWND__*, WORD)':
ptlib/msos/vfw.cxx:323: error: 'WM_CAP_GET_VIDEOFORMAT' was not declared in this scope
ptlib/msos/vfw.cxx: In member function 'PBoolean PVideoDeviceBitmap::ApplyFormat(HWND__*, const FormatTableEntry&)':
ptlib/msos/vfw.cxx:358: error: 'WM_CAP_SET_VIDEOFORMAT' was not declared in this scope
ptlib/msos/vfw.cxx:368: error: 'WM_CAP_SET_VIDEOFORMAT' was not declared in this scope
ptlib/msos/vfw.cxx: In constructor 'PCapStatus::PCapStatus(HWND__*)':
ptlib/msos/vfw.cxx:390: error: 'WM_CAP_GET_STATUS' was not declared in this scope
ptlib/msos/vfw.cxx:390: error: 'LPCAPSTATUS' was not declared in this scope
ptlib/msos/vfw.cxx: In member function 'virtual PBoolean PVideoInputDevice_VideoForWindows::Start()':
ptlib/msos/vfw.cxx:486: error: 'WM_CAP_GRAB_FRAME_NOSTOP' was not declared in this scope
ptlib/msos/vfw.cxx: In member function 'virtual PBoolean PVideoInputDevice_VideoForWindows::SetFrameRate(unsigned int)':
ptlib/msos/vfw.cxx:592: error: 'CAPTUREPARMS' was not declared in this scope
ptlib/msos/vfw.cxx:592: error: expected `;' before 'parms'
ptlib/msos/vfw.cxx:593: error: 'parms' was not declared in this scope
ptlib/msos/vfw.cxx:595: error: 'WM_CAP_GET_SEQUENCE_SETUP' was not declared in this scope
ptlib/msos/vfw.cxx:595: error: 'LPCAPTUREPARMS' was not declared in this scope
ptlib/msos/vfw.cxx:611: error: 'WM_CAP_SET_SEQUENCE_SETUP' was not declared in this scope
ptlib/msos/vfw.cxx:611: error: 'LPCAPTUREPARMS' was not declared in this scope
ptlib/msos/vfw.cxx: In member function 'virtual PBoolean PVideoInputDevice_VideoForWindows::VerifyHardwareFrameSize(unsigned int, unsigned int)':
ptlib/msos/vfw.cxx:704: error: 'class PCapStatus' has no member named 'uiImageWidth'
ptlib/msos/vfw.cxx:710: error: 'class PCapStatus' has no member named 'uiImageHeight'
ptlib/msos/vfw.cxx:711: error: 'class PCapStatus' has no member named 'uiImageHeight'
ptlib/msos/vfw.cxx:711: error: 'class PCapStatus' has no member named 'uiImageHeight'
ptlib/msos/vfw.cxx:713: error: 'class PCapStatus' has no member named 'uiImageHeight'
ptlib/msos/vfw.cxx: In member function 'virtual PBoolean PVideoInputDevice_VideoForWindows::GetFrameDataNoDelay(BYTE*, int*)':
ptlib/msos/vfw.cxx:778: error: 'WM_CAP_GRAB_FRAME_NOSTOP' was not declared in this scope
ptlib/msos/vfw.cxx: In static member function 'static LRESULT PVideoInputDevice_VideoForWindows::ErrorHandler(HWND__*, int, const CHAR*)':
ptlib/msos/vfw.cxx:790: error: 'WM_CAP_GET_USER_DATA' was not declared in this scope
ptlib/msos/vfw.cxx: At global scope:
ptlib/msos/vfw.cxx:804: error: 'LPVIDEOHDR' has not been declared
ptlib/msos/vfw.cxx: In static member function 'static LRESULT PVideoInputDevice_VideoForWindows::VideoHandler(HWND__*, int)':
ptlib/msos/vfw.cxx:806: error: 'WM_CAP_GET_USER_DATA' was not declared in this scope
ptlib/msos/vfw.cxx:809: error: 'WM_CAP_GET_USER_DATA' was not declared in this scope
ptlib/msos/vfw.cxx: At global scope:
ptlib/msos/vfw.cxx:813: error: 'LRESULT PVideoInputDevice_VideoForWindows::HandleVideo' is not a static member of 'class PVideoInputDevice_VideoForWindows'
ptlib/msos/vfw.cxx:813: error: 'LPVIDEOHDR' was not declared in this scope
ptlib/msos/vfw.cxx:814: error: expected ',' or ';' before '{' token
/home/devel/win32/ekiga/win32/ptlib/include/ptlib/videoio.h:1016: warning: 'PPlugin_PVideoInputDevice_FakeVideo_loader' defined but not used
/home/devel/win32/ekiga/win32/ptlib/include/ptlib/videoio.h:1023: warning: 'PPlugin_PVideoInputDevice_FFMPEG_loader' defined but not used
/home/devel/win32/ekiga/win32/ptlib/include/ptlib/videoio.h:1048: warning: 'PPlugin_PVideoOutputDevice_Window_loader' defined but not used
/home/devel/win32/ekiga/win32/ptlib/include/ptlib/pluginmgr.h:167: warning: 'PFactoryLoader::PluginLoaderStartup_loader' defined but not used
make[3]: *** [/home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/obj_d/vfw.o] Error 1
make[3]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib/src'
make[2]: *** [debug] Error 2
make[2]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib/src'
make[1]: *** [debug] Error 2
make[1]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib'
make: *** [/home/devel/win32/ekiga/win32/lib/libpt_d_s.a] Error 2
I search for the vfw.h header file but i did not found it. I'm running out of idea to get a clean cross-compile, any hints ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]