We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-platform compilation failed
1.built opencv static library C:\opencv\build\install\x64\mingw\staticlib and C:\opencv\build\install\include
C:\opencv\build\install\x64\mingw\staticlib
C:\opencv\build\install\include
C:\opencv\build\install\x64\mingw\staticlib files present in the directory
OpenCVConfig-version.cmake OpenCVConfig.cmake OpenCVModules-release.cmake OpenCVModules.cmake libIlmImf.a libade.a liblibjpeg-turbo.a liblibopenjp2.a liblibpng.a liblibprotobuf.a liblibtiff.a liblibwebp.a libopencv_aruco4100.a libopencv_bgsegm4100.a libopencv_bioinspired4100.a libopencv_calib3d4100.a libopencv_ccalib4100.a libopencv_core4100.a libopencv_datasets4100.a libopencv_dnn4100.a libopencv_dnn_objdetect4100.a libopencv_dnn_superres4100.a libopencv_dpm4100.a libopencv_face4100.a libopencv_features2d4100.a libopencv_flann4100.a libopencv_fuzzy4100.a libopencv_gapi4100.a libopencv_hfs4100.a libopencv_highgui4100.a libopencv_img_hash4100.a libopencv_imgcodecs4100.a libopencv_imgproc4100.a libopencv_intensity_transform4100.a libopencv_line_descriptor4100.a libopencv_mcc4100.a libopencv_ml4100.a libopencv_objdetect4100.a libopencv_optflow4100.a libopencv_phase_unwrapping4100.a libopencv_photo4100.a libopencv_plot4100.a libopencv_quality4100.a libopencv_rapid4100.a libopencv_reg4100.a libopencv_rgbd4100.a libopencv_shape4100.a libopencv_signal4100.a libopencv_stereo4100.a libopencv_stitching4100.a libopencv_structured_light4100.a libopencv_superres4100.a libopencv_surface_matching4100.a libopencv_text4100.a libopencv_tracking4100.a libopencv_video4100.a libopencv_videoio4100.a libopencv_videostab4100.a libopencv_wechat_qrcode4100.a libopencv_xfeatures2d4100.a libopencv_ximgproc4100.a libopencv_xobjdetect4100.a libopencv_xphoto4100.a libquirc.a libzlib.a pkgconfig
2.moving windows compiled files to macos 3.compile using the windows static library in macos
export CGO_CXXFLAGS="--std=c++11"; export CGO_CPPFLAGS=-I/Users/user/Desktop/opencv/install/include; export CGO_LDFLAGS="-L/Users/user/Desktop/opencv/install/x64/mingw/bin -L/Users/user/Desktop/opencv/install/x64/mingw/staticlib" CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build -ldflags "-linkmode external -extldflags -static -s -w" -trimpath -tags static
output
x86_64-w64-mingw32-g++ -m64 -s -mconsole -Wl,--tsaware -Wl,--nxcompat -Wl,--major-os-version=6 -Wl,--minor-os-version=1 -Wl,--major-subsystem-version=6 -Wl,--minor-subsystem-version=1 -Wl,--dynamicbase -Wl,--high-entropy-va -o $WORK/b001/exe/a.out.exe -Wl,--no-insert-timestamp /var/folders/68/cmdr5tz96wb6lksy6dxbmj3r0000gn/T/go-link-3440480990/go.o /var/folders/68/cmdr5tz96wb6lksy6dxbmj3r0000gn/T/go-link-3440480990/000040.o /var/folders/68/cmdr5tz96wb6lksy6dxbmj3r0000gn/T/go-link-3440480990/000041.o -L/Users/user/Desktop/opencv/install/x64/mingw/bin -L/Users/user/Desktop/opencv/install/x64/mingw/staticlib -L/Users/user/go/pkg/mod/gocv.io/x/[email protected]/C:/opencv/build/install/x64/mingw/staticlib -lopencv_stereo4100 -lopencv_tracking4100 -lopencv_superres4100 -lopencv_stitching4100 -lopencv_optflow4100 -lopencv_gapi4100 -lopencv_face4100 -lopencv_dpm4100 -lopencv_dnn_objdetect4100 -lopencv_ccalib4100 -lopencv_bioinspired4100 -lopencv_bgsegm4100 -lopencv_aruco4100 -lopencv_xobjdetect4100 -lopencv_ximgproc4100 -lopencv_xfeatures2d4100 -lopencv_videostab4100 -lopencv_video4100 -lopencv_structured_light4100 -lopencv_shape4100 -lopencv_rgbd4100 -lopencv_rapid4100 -lopencv_objdetect4100 -lopencv_mcc4100 -lopencv_highgui4100 -lopencv_datasets4100 -lopencv_calib3d4100 -lopencv_videoio4100 -lopencv_text4100 -lopencv_line_descriptor4100 -lopencv_imgcodecs4100 -lopencv_img_hash4100 -lopencv_hfs4100 -lopencv_fuzzy4100 -lopencv_features2d4100 -lopencv_dnn_superres4100 -lopencv_dnn4100 -lopencv_xphoto4100 -lopencv_wechat_qrcode4100 -lopencv_surface_matching4100 -lopencv_reg4100 -lopencv_quality4100 -lopencv_plot4100 -lopencv_photo4100 -lopencv_phase_unwrapping4100 -lopencv_ml4100 -lopencv_intensity_transform4100 -lopencv_imgproc4100 -lopencv_flann4100 -lopencv_core4100 -lade -lquirc -llibprotobuf -lIlmImf -llibpng -llibopenjp2 -llibwebp -llibtiff -llibjpeg-turbo -lzlib -lkernel32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -luser32 -L/Users/user/Desktop/opencv/install/x64/mingw/bin -L/Users/user/Desktop/opencv/install/x64/mingw/staticlib -static -Wl,-T,/var/folders/68/cmdr5tz96wb6lksy6dxbmj3r0000gn/T/go-link-3440480990/fix_debug_gdb_scripts.ld -Wl,--start-group -lmingwex -lmingw32 -Wl,--end-group -lkernel32 x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl4readERKNS_8FileNodeE[_ZN2cv27BackgroundSubtractorKNNImpl4readERKNS_8FileNodeE]+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl4readERKNS_8FileNodeE[_ZN2cv27BackgroundSubtractorKNNImpl4readERKNS_8FileNodeE]+0x68): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl4readERKNS_8FileNodeE[_ZN2cv27BackgroundSubtractorKNNImpl4readERKNS_8FileNodeE]+0x2e1): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl4readERKNS_8FileNodeE[_ZN2cv27BackgroundSubtractorKNNImpl4readERKNS_8FileNodeE]+0x330): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.xdata$_ZN2cv27BackgroundSubtractorKNNImpl4readERKNS_8FileNodeE+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl5writeERNS_11FileStorageE[_ZNK2cv27BackgroundSubtractorKNNImpl5writeERNS_11FileStorageE]+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl5writeERNS_11FileStorageE[_ZNK2cv27BackgroundSubtractorKNNImpl5writeERNS_11FileStorageE]+0x6b): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl5writeERNS_11FileStorageE[_ZNK2cv27BackgroundSubtractorKNNImpl5writeERNS_11FileStorageE]+0x6eb): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl5writeERNS_11FileStorageE[_ZNK2cv27BackgroundSubtractorKNNImpl5writeERNS_11FileStorageE]+0x995): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.xdata$_ZNK2cv27BackgroundSubtractorKNNImpl5writeERNS_11FileStorageE+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0x6e): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0x26b): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0x2aa): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.xdata$_ZNK2cv27BackgroundSubtractorKNNImpl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl18getBackgroundImageERKNS_12_OutputArrayE+0x6e): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl18getBackgroundImageERKNS_12_OutputArrayE+0xce): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl18getBackgroundImageERKNS_12_OutputArrayE+0x311): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZNK2cv27BackgroundSubtractorKNNImpl18getBackgroundImageERKNS_12_OutputArrayE+0x5ad): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.xdata$_ZNK2cv27BackgroundSubtractorKNNImpl18getBackgroundImageERKNS_12_OutputArrayE+0x40): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl23create_ocl_apply_kernelEv+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl23create_ocl_apply_kernelEv+0x60): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl23create_ocl_apply_kernelEv+0x139): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl23create_ocl_apply_kernelEv+0x179): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.xdata$_ZN2cv27BackgroundSubtractorKNNImpl23create_ocl_apply_kernelEv+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0x7f): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0xd19): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0x1416): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.xdata$_ZN2cv27BackgroundSubtractorKNNImpl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl16setDetectShadowsEb[_ZN2cv27BackgroundSubtractorKNNImpl16setDetectShadowsEb]+0x13): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl16setDetectShadowsEb[_ZN2cv27BackgroundSubtractorKNNImpl16setDetectShadowsEb]+0x64): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl16setDetectShadowsEb[_ZN2cv27BackgroundSubtractorKNNImpl16setDetectShadowsEb]+0xa7): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl16setDetectShadowsEb[_ZN2cv27BackgroundSubtractorKNNImpl16setDetectShadowsEb]+0x14b): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.xdata$_ZN2cv27BackgroundSubtractorKNNImpl16setDetectShadowsEb+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl5applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0x6e): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl5applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0xdf): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl5applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0x9bf): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv27BackgroundSubtractorKNNImpl5applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0x13d1): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.xdata$_ZN2cv27BackgroundSubtractorKNNImpl5applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0x40): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv29createBackgroundSubtractorKNNEidb+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv29createBackgroundSubtractorKNNEidb+0x7b): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv29createBackgroundSubtractorKNNEidb+0x410): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.text$_ZN2cv29createBackgroundSubtractorKNNEidb+0x472): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_KNN.cpp.obj):bgfg_KNN.cpp:(.xdata$_ZN2cv29createBackgroundSubtractorKNNEidb+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv11MOG2InvokerclERKNS_5RangeE[_ZNK2cv11MOG2InvokerclERKNS_5RangeE]+0x4a): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv11MOG2InvokerclERKNS_5RangeE[_ZNK2cv11MOG2InvokerclERKNS_5RangeE]+0xb0): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv11MOG2InvokerclERKNS_5RangeE[_ZNK2cv11MOG2InvokerclERKNS_5RangeE]+0x15d5): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv11MOG2InvokerclERKNS_5RangeE[_ZNK2cv11MOG2InvokerclERKNS_5RangeE]+0x16b3): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.xdata$_ZNK2cv11MOG2InvokerclERKNS_5RangeE+0x30): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl4readERKNS_8FileNodeE[_ZN2cv28BackgroundSubtractorMOG2Impl4readERKNS_8FileNodeE]+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl4readERKNS_8FileNodeE[_ZN2cv28BackgroundSubtractorMOG2Impl4readERKNS_8FileNodeE]+0x68): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl4readERKNS_8FileNodeE[_ZN2cv28BackgroundSubtractorMOG2Impl4readERKNS_8FileNodeE]+0x3f7): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl4readERKNS_8FileNodeE[_ZN2cv28BackgroundSubtractorMOG2Impl4readERKNS_8FileNodeE]+0x446): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.xdata$_ZN2cv28BackgroundSubtractorMOG2Impl4readERKNS_8FileNodeE+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv28BackgroundSubtractorMOG2Impl5writeERNS_11FileStorageE[_ZNK2cv28BackgroundSubtractorMOG2Impl5writeERNS_11FileStorageE]+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv28BackgroundSubtractorMOG2Impl5writeERNS_11FileStorageE[_ZNK2cv28BackgroundSubtractorMOG2Impl5writeERNS_11FileStorageE]+0x6b): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv28BackgroundSubtractorMOG2Impl5writeERNS_11FileStorageE[_ZNK2cv28BackgroundSubtractorMOG2Impl5writeERNS_11FileStorageE]+0xb98): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv28BackgroundSubtractorMOG2Impl5writeERNS_11FileStorageE[_ZNK2cv28BackgroundSubtractorMOG2Impl5writeERNS_11FileStorageE]+0xff3): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.xdata$_ZNK2cv28BackgroundSubtractorMOG2Impl5writeERNS_11FileStorageE+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv28BackgroundSubtractorMOG2Impl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv28BackgroundSubtractorMOG2Impl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0x6e): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv28BackgroundSubtractorMOG2Impl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0x2ef): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZNK2cv28BackgroundSubtractorMOG2Impl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0x32e): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.xdata$_ZNK2cv28BackgroundSubtractorMOG2Impl22ocl_getBackgroundImageERKNS_12_OutputArrayE+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl23create_ocl_apply_kernelEv+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl23create_ocl_apply_kernelEv+0x60): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl23create_ocl_apply_kernelEv+0x155): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl23create_ocl_apply_kernelEv+0x195): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.xdata$_ZN2cv28BackgroundSubtractorMOG2Impl23create_ocl_apply_kernelEv+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0x7c): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0x765): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.text$_ZN2cv28BackgroundSubtractorMOG2Impl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0xce1): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libopencv_video4100.a(bgfg_gaussmix2.cpp.obj):bgfg_gaussmix2.cpp:(.xdata$_ZN2cv28BackgroundSubtractorMOG2Impl9ocl_applyERKNS_11_InputArrayERKNS_12_OutputArrayEd+0xc): undefined reference to `__gxx_personality_sj0' .... x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfPxr24Compressor.cpp.obj):ImfPxr24Compressor.cpp:(.xdata$_ZN10Imf_opencv15Pxr24CompressorC2ERKNS_6HeaderEyy+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfRleCompressor.cpp.obj):ImfRleCompressor.cpp:(.text$_ZN10Imf_opencv13RleCompressorC2ERKNS_6HeaderEy+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfRleCompressor.cpp.obj):ImfRleCompressor.cpp:(.text$_ZN10Imf_opencv13RleCompressorC2ERKNS_6HeaderEy+0x67): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfRleCompressor.cpp.obj):ImfRleCompressor.cpp:(.text$_ZN10Imf_opencv13RleCompressorC2ERKNS_6HeaderEy+0x118): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfRleCompressor.cpp.obj):ImfRleCompressor.cpp:(.text$_ZN10Imf_opencv13RleCompressorC2ERKNS_6HeaderEy+0x1a2): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfRleCompressor.cpp.obj):ImfRleCompressor.cpp:(.xdata$_ZN10Imf_opencv13RleCompressorC2ERKNS_6HeaderEy+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfZipCompressor.cpp.obj):ImfZipCompressor.cpp:(.text$_ZN10Imf_opencv13ZipCompressorC2ERKNS_6HeaderEyy+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfZipCompressor.cpp.obj):ImfZipCompressor.cpp:(.text$_ZN10Imf_opencv13ZipCompressorC2ERKNS_6HeaderEyy+0x72): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfZipCompressor.cpp.obj):ImfZipCompressor.cpp:(.text$_ZN10Imf_opencv13ZipCompressorC2ERKNS_6HeaderEyy+0x119): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfZipCompressor.cpp.obj):ImfZipCompressor.cpp:(.text$_ZN10Imf_opencv13ZipCompressorC2ERKNS_6HeaderEyy+0x15a): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfZipCompressor.cpp.obj):ImfZipCompressor.cpp:(.xdata$_ZN10Imf_opencv13ZipCompressorC2ERKNS_6HeaderEyy+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6ThreadD2Ev+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6ThreadD2Ev+0x2d): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6ThreadD2Ev+0x46): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.xdata$_ZN16IlmThread_opencv6ThreadD2Ev+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6ThreadD0Ev+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6ThreadD0Ev+0x2d): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6ThreadD0Ev+0x4e): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.xdata$_ZN16IlmThread_opencv6ThreadD0Ev+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6Thread5startEv+0xb): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6Thread5startEv+0x57): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6Thread5startEv+0x116): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.text$_ZN16IlmThread_opencv6Thread5startEv+0x15a): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(IlmThread.cpp.obj):IlmThread.cpp:(.xdata$_ZN16IlmThread_opencv6Thread5startEv+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfB44Compressor.cpp.obj):ImfB44Compressor.cpp:(.text$_ZN10Imf_opencv13B44CompressorC2ERKNS_6HeaderEyyb+0x1a): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfB44Compressor.cpp.obj):ImfB44Compressor.cpp:(.text$_ZN10Imf_opencv13B44CompressorC2ERKNS_6HeaderEyyb+0x83): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfB44Compressor.cpp.obj):ImfB44Compressor.cpp:(.text$_ZN10Imf_opencv13B44CompressorC2ERKNS_6HeaderEyyb+0x383): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfB44Compressor.cpp.obj):ImfB44Compressor.cpp:(.text$_ZN10Imf_opencv13B44CompressorC2ERKNS_6HeaderEyyb+0x400): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfB44Compressor.cpp.obj):ImfB44Compressor.cpp:(.xdata$_ZN10Imf_opencv13B44CompressorC2ERKNS_6HeaderEyyb+0xc): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfFastHuf.cpp.obj):ImfFastHuf.cpp:(.text$_ZN10Imf_opencv14FastHufDecoderC2ERPKciiii+0x2b): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfFastHuf.cpp.obj):ImfFastHuf.cpp:(.text$_ZN10Imf_opencv14FastHufDecoderC2ERPKciiii+0xa6): undefined reference to `_Unwind_SjLj_Register' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfFastHuf.cpp.obj):ImfFastHuf.cpp:(.text$_ZN10Imf_opencv14FastHufDecoderC2ERPKciiii+0x739): undefined reference to `_Unwind_SjLj_Unregister' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfFastHuf.cpp.obj):ImfFastHuf.cpp:(.text$_ZN10Imf_opencv14FastHufDecoderC2ERPKciiii+0xadb): undefined reference to `_Unwind_SjLj_Resume' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/libIlmImf.a(ImfFastHuf.cpp.obj):ImfFastHuf.cpp:(.xdata$_ZN10Imf_opencv14FastHufDecoderC2ERPKciiii+0x20): undefined reference to `__gxx_personality_sj0' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/liblibpng.a(png.c.obj):png.c:(.text$png_create_png_struct+0x8a): undefined reference to `_setjmp' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/liblibpng.a(pngerror.c.obj):pngerror.c:(.text$png_free_jmpbuf+0x45): undefined reference to `_setjmp' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/liblibpng.a(pngerror.c.obj):pngerror.c:(.text$png_safe_execute+0x30): undefined reference to `_setjmp' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/liblibtiff.a(tif_jpeg.c.obj):tif_jpeg.c:(.text$TIFFjpeg_create_decompress+0x51): undefined reference to `_setjmp' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/liblibtiff.a(tif_jpeg.c.obj):tif_jpeg.c:(.text$TIFFjpeg_abort+0x17): undefined reference to `_setjmp' x86_64-w64-mingw32-ld: /Users/user/Desktop/opencv/install/x64/mingw/staticlib/liblibtiff.a(tif_jpeg.c.obj):tif_jpeg.c:(.text$TIFFjpeg_read_header+0x1a): more undefined references to `_setjmp' follow collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Cross-platform compilation failed
Description
Steps to Reproduce
1.built opencv static library
C:\opencv\build\install\x64\mingw\staticlib
andC:\opencv\build\install\include
C:\opencv\build\install\x64\mingw\staticlib
files present in the directory2.moving windows compiled files to macos
3.compile using the windows static library in macos
output
The text was updated successfully, but these errors were encountered: