This is my code in Visual Studio C++
#include \"stdafx.h\" #include #include using namespace cv; int main(int
'unresolved external symbol' means that you're not linking with required library. Go to Properties -> Linker -> Additional Library dependencies and add path to OpenCV libs.
'unresolved external symbol'
Properties -> Linker -> Additional Library dependencies