qt - Compiling OpenCV SVN trunk in Windows - error in highgui/libVideoInput -
i know there several questions none has shown me can against error get.
using this guide able compile current opencv release (2.2) using guide , cmake. release works fine , can write code using in qt. therefore need with_qt enabled , need build myself.
but unfortunately found out 2.2 release doesn't support types of cameras (since camera stream 720p webcam). i've read fixed in latest svn trunk version.
so checked newest svn trunk out , ran cmake again, created new folder, selected source files, mingw compile links g++.exe , qcc.exe, configured , enabled "with_qt" , generated necessary makefiles.
i started windows powershell admin , tried compile "mingw32-make"... @ 56% crashes this:
[ 56%] building cxx object modules/highgui/cmakefiles/opencv_highgui.dir/src/grfmt_sunras.obj [ 56%] building cxx object modules/highgui/cmakefiles/opencv_highgui.dir/src/grfmt_tiff.obj linking cxx shared library ..\..\bin\libopencv_highgui220d.dll creating library file: ..\..\lib\libopencv_highgui220d.dll.a c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x ee): undefined reference `__gxx_personality_sj0' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 104): undefined reference `_unwind_sjlj_register' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 2a6): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 2d4): undefined reference `_unwind_sjlj_resume' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 2fe): undefined reference `__gxx_personality_sj0' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 314): undefined reference `_unwind_sjlj_register' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 4b6): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 4e4): undefined reference `_unwind_sjlj_resume' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 1b41): undefined reference `__gxx_personality_sj0' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 1b5a): undefined reference `_unwind_sjlj_register' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 1bb4): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 1c03): undefined reference `_unwind_sjlj_resume' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 1c88): undefined reference `__gxx_personality_sj0' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 1ca7): undefined reference `_unwind_sjlj_register' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 2265): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 228d): undefined reference `_unwind_sjlj_resume' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 2318): undefined reference `__gxx_personality_sj0' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 2337): undefined reference `_unwind_sjlj_register' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 28f5): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 291d): undefined reference `_unwind_sjlj_resume' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 38a0): undefined reference `__gxx_personality_sj0' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 38df): undefined reference `_unwind_sjlj_register' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 406b): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 40a3): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 4211): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 42ec): undefined reference `_unwind_sjlj_resume' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 6cf8): undefined reference `__gxx_personality_sj0' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 6d17): undefined reference `_unwind_sjlj_register' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 6e1e): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 6e3e): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 7002): undefined reference `_unwind_sjlj_resume' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 70b4): undefined reference `__gxx_personality_sj0' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 70cd): undefined reference `_unwind_sjlj_register' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 7111): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 742e): undefined reference `_unwind_sjlj_unregister' c:\workspace\opencv\opencv_svn\modules\highgui\..\..\3rdparty\lib/libvideoinput.a(videoinput.o):videoinput.cpp:(.text+0x 7501): undefined reference `_unwind_sjlj_resume' collect2: ld returned 1 exit status mingw32-make[2]: *** [bin/libopencv_highgui220d.dll] error 1 mingw32-make[1]: *** [modules/highgui/cmakefiles/opencv_highgui.dir/all] error 2 mingw32-make: *** [all] error 2 so seems have going wrong when compiling libvideoinput... familiar error? how can fix it? need install special before?
would great if me! thanks!
theoretically, installing opencv qt, not need highgui library. during installation of opencv, should deselect highgui cmake gui. there tutorials on youtube/web showed how use opencv , qt without highgui lib. luck that
Comments
Post a Comment