unresolved external symbol

asked 2017-01-09 22:30:35 -0500

tog gravatar image

updated 2017-01-09 22:56:15 -0500

I get 20 errors after having set up Open CV 3.2 and am going through the set up tutorials again to see if I did something wrong in Visual Studio and Win 7. Took some time to get the libraries linked properly is this something simple that people know how to solve? In the meantime I will continue going over any possible misteps again. Thanks

Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol "void __cdecl cv::fastFree(void *)" ([email protected]@@[email protected]) referenced in function "public: __thiscall cv::Mat::~Mat(void)" ([email protected]@@[email protected]) ConsoleApplication2 C:\Users\Shawn\Documents\Visual Studio 2015\Projects\ConsoleApplication2\ConsoleApplication2\ConsoleApplication2.obj 1

Trying to run the contours sample file. Thanks

edit retag flag offensive close merge delete


Open CV 2.1 - seriously ?

berak gravatar imageberak ( 2017-01-09 22:50:49 -0500 )edit

Sorry had the wrong version listed.

tog gravatar imagetog ( 2017-01-09 22:57:01 -0500 )edit

if you're using prebuilt binaries, that should come with a opencv_world320.lib , please try to link against that.

berak gravatar imageberak ( 2017-01-09 23:05:25 -0500 )edit

I am compiling the C++ files given as samples, Visual Studio is linked to the libraries I think as before it was unable to find library files but it was a path issue that I fixed. Now this error I have no idea what is wrong.

tog gravatar imagetog ( 2017-01-10 19:43:10 -0500 )edit