I am using Visual Studio 2017, and building in x64. I have 2 libraries linked to my solution file, flann, and opencv. I can build the release mode but in debug mode everything is messed up! The problem is with opencv library, and I have double checked the library directories, everything seems to be correct! What am I doing wrong then?!
Here is one of the errors I am getting:
LNK2001 unresolved external symbol "private: void __cdecl cv::String::deallocate(void)" (?deallocate@String@cv@@AEAAXXZ)