LNK2019: unresolved external symbol error in Visual Studio C++

前端 未结 4 2008
野性不改
野性不改 2020-12-18 23:25

This is my code in Visual Studio C++

#include \"stdafx.h\"
#include
#include

using namespace cv;

int main(int          


        
4条回答
  •  一向
    一向 (楼主)
    2020-12-19 00:12

    '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.

提交回复
热议问题