Hello experts,
I am trying to compiling opencv on my computer but with no luck. Please help and find where is wrong!
My platform:
Windows 7 + VS2012 + Cmaker 2.8.11.2 + Python 2.7.6
I am getting following errors, but I am not sure what lib I am missing. Any help is welcome!
Error 2 error LNK2019: unresolved external symbol __imp___Py_NegativeRefcount referenced in function __catch$?pycvCalcEMD2@@YAPAU_object@@PAU1@00@Z$0 C:\opencv\build\modules\python\cv2.obj opencv_python
Error 3 error LNK2019: unresolved external symbol __imp___Py_Dealloc referenced in function __catch$?pycvCalcEMD2@@YAPAU_object@@PAU1@00@Z$0 C:\opencv\build\modules\python\cv2.obj opencv_python
Error 4 error LNK2019: unresolved external symbol __imp___PyObject_DebugMalloc referenced in function "struct _object * __cdecl pyopencv_CvRTrees_CvRTrees(struct _object *,struct _object *,struct _object *)" (?pyopencv_CvRTrees_CvRTrees@@YAPAU_object@@PAU1@00@Z) C:\opencv\build\modules\python\cv2.obj opencv_python
Error 5 error LNK2019: unresolved external symbol __imp___PyObject_DebugFree referenced in function "void __cdecl Capture_dealloc(struct _object *)" (?Capture_dealloc@@YAXPAU_object@@@Z) C:\opencv\build\modules\python\cv2.obj opencv_python
Error 6 error LNK2019: unresolved external symbol __imp__Py_InitModule4TraceRefs referenced in function "struct _object * __cdecl init_cv(void)" (?init_cv@@YAPAU_object@@XZ) C:\opencv\build\modules\python\cv2.obj opencv_python
Error 7 error LNK2001: unresolved external symbol __imp___Py_RefTotal C:\opencv\build\modules\python\cv2.obj opencv_python
Error 8 error LNK1120: 6 unresolved externals C:\opencv\build\lib\Debug\cv2.pyd opencv_python