开发者

Using OpenCV2.2 with Code::Blocks 10.05. Error: ld.exe cannot find -lhighgui

I'm trying to build a simple webcam application in C++. I'm using wxWidget for GUI and OpenCV for image and video operations. But I'm having trouble setting up OpenCV on my IDE. When i try to run a sample 开发者_如何学JAVAcode, or any code for that matter, I get an error that says:

ld.exe cannot find -lhighgui

I'v properly given the library and include links to the IDE. OpenCV's path is also added, I checked. I even tried linking each library file individually but id didnt work.

Please Help. :)

I'm using Windows 7 Professional X64 and Code::Blocks 10.05

Any kind of help will be appreciated.

--Aayush Shrestha


OpenCV library files have been renamed with version 2.2. You can link to the new library opencv_highgui instead of highgui.

You also need to do this for other OpenCV libraries you use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜