openCV 243 using static libs error LNK2019

后端 未结 2 642
不思量自难忘°
不思量自难忘° 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:02

    You need to link with MS vfw32.lib library.

    0 讨论(0)
  • 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" )
    
    0 讨论(0)
提交回复
热议问题