Answer the question
In order to leave comments, you need to log in
How to fix "unresolved external elements: 2" error?
Installed the Opencv library. connected all the files to Visual Studio,
but when creating an empty image by the command, it Mat original_image;
gives an error
error LNK1120: неразрешенных внешних элементов: 2
error LNK2019: ссылка на неразрешенный внешний символ "public: void __cdecl cv::Mat::deallocate(void)" ([email protected]@[email protected]@QEAAXXZ) в функции "public: void __cdecl cv::Mat::release(void)" ([email protected]@[email protected]@QEAAXXZ)
error LNK2019: ссылка на неразрешенный внешний символ "void __cdecl cv::fastFree(void *)" ([email protected]@@[email protected]) в функции "public: __cdecl cv::Mat::~Mat(void)" (??1[email protected]@@[email protected])
Answer the question
In order to leave comments, you need to log in
Probably you didn't include the lib, or where is the implementation of cv::Mat::deallocate...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question