Ask Your Question

ftherien's profile - activity

2013-05-29 20:09:28 -0600 asked a question building with mingw-w64

Hi, I`m trying to compile OpenCV 2.4.5 for win64 and python 2.7.5 64bits using mingw64 (rubenvb builds). I am getting the following error:

Linking CXX shared library ..\..\lib\cv2.pyd CMakeFiles\opencv_python.dir/objects.a(cv2.cpp.obj):cv2.cpp:(.text$_ZL7failmsgPK cz+0x42): undefined reference to__imp_PyExc_TypeError' CMakeFiles\opencv_python.dir/objects.a(cv2.cpp.obj):cv2.cpp:(.text$_ZL8failmsgpP Kcz+0x42): undefined reference to __imp_PyExc_TypeError' c:/mingw/mingw64-rubenvb/bin/../lib/gcc/x86_64-w64-mingw32/4.7.3/../../../../x86 _64-w64-mingw32/bin/ld.exe: CMakeFiles\opencv_python.dir/objects.a(cv2.cpp.obj): bad reloc address 0x42 in section.text$_ZL8failmsgpPKcz'`

How can I resolve this?

2013-05-08 10:59:06 -0600 received badge  Editor (source)
2013-05-08 10:49:34 -0600 asked a question Building OpenCV with CUDA on Win64 (VS2010)

Hi,

I am trying to build OpenCV on win64 using VS2010 compilers (Visual C++ Express 2010). I ran cmake-gui from VS command prompt and selected "WITH_CUDA". In cmake I selected generator "Visual Studio 10 Win64". However when I configure, I get this error:

"CUDA compilation is disabled (due to only Visual Studio compiler supported on your platform)"

See screenshot here: image description