openCV 243 using static libs error LNK2019

后端 未结 2 643
不思量自难忘°
不思量自难忘° 2021-02-06 09:30

I\'m trying to use openCV243 static libs in 64bit vs10 console application. My OS is win7 64 bit.

I\'ve included following libs:

#pragma comment(lib,\".         


        
2条回答
  •  梦谈多话
    2021-02-06 10:05

    just do this in ur header file. It should work perfectly.

    #include "opencv2/opencv.hpp"
    #pragma comment(lib, "vfw32.lib")
    #pragma comment( lib, "comctl32.lib" )
    

提交回复
热议问题