Ask Your Question

Revision history [back]

Error LNK2001 'Unresolved external symbol "public: __cdecl cv::detail::CameraParams::CameraParams(struct cv::detail::CameraParams const &)" CalibrationGUI D:\Performance_capt\source\MainprojectGUI\Mainproject.obj

After adding opencv in my c++ project, when building my main project i got the following error:

Severity    Code    Description Project File    Line    Suppression State
Error   LNK2001 unresolved external symbol "public: __cdecl cv::detail::CameraParams::CameraParams(struct cv::detail::CameraParams const &)" (??0CameraParams@detail@cv@@$$FQEAA@AEBU012@@Z)    CalibrationGUI  D:\Performance_capt\source\CalibrationGUI\CalibrationGUI.obj    1

All subprojects build properly, but main project has the error above. I suspect that something has to do with a library not linked from opencv. Its my first c++ project so any help would be crucial.