I am engaged in a legacy project that is written very incomprehensibly. The fact is that the project was written a long time ago and developed for x86. Nevertheless, it starts and works. But since I didn't set up visual studio, it gives the error LNK2019 (unresolved external symbol). Please help me solve this problem! The project really works, just something needs to be done in the project settings, but I don't understand what.
So, I have this three errors:
Error LNK2019 unresolved external symbol "int __stdcall cv::_interlockedExchangeAdd(int *,int)" (?_interlockedExchangeAdd@cv@@YGHPAHH@Z) in function "public: void __thiscall cv::Mat::release(void)" (?release@Mat@cv@@QAEXXZ). Swimm E:\data\study\practice\Swimm\speedDlg.obj 1
Error LNK2019 unresolved external symbol "void __stdcall cv::fastFree(void *)" (?fastFree@cv@@YGXPAX@Z) in function "public: __thiscall cv::Mat::~Mat(void)" (??1Mat@cv@@QAE@XZ). Swimm E:\data\study\practice\Swimm\speedDlg.obj 1
Error LNK1120 unresolved externals: 2 Swimm E:\data\study\practice\Swimm\Debug\Swimm.exe 1
I understand, that LNK1120 error is due to the presence of LNK2019 errors