编译OpenCV for Visual C ++ 9.0 [英] Compiling OpenCV for Visual C++ 9.0

查看:125
本文介绍了编译OpenCV for Visual C ++ 9.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看了很多地方,但没有找到任何告诉我如何buld的lib文件。我知道如何链接它们,但openCV安装文件夹只包含.a文件。我找不到sln文件或dsp。我如何可以制作lib文件?

I looked at many places but could not find anything telling me how to buld the lib files. I know how to link them, but openCV install folder only contains .a files. I cant find an sln file or dsp. How can I make the lib files? Right now all the samples get linker problems because the lib files dont exist.

感谢

推荐答案

OpenCV 2.0的Windows安装程序(.exe)没有为vc ++预构建的二进制文件,也没有用于使用vc ++构建它们的.vcproj文件。你需要有cmake,这是免费的在网络上。我使用GUI。使用它来构建.vcproj文件,您可以编译VC ++ 2008或其他任何东西。 有一些问题。 问题已经解决要求并回答。

The Windows installer (.exe) for OpenCV 2.0 does not come with the binaries pre-built for vc++, nor does it have the .vcproj files for using vc++ to build them. You need to have cmake, which is available for free on the web. I used the GUI. Use that to build .vcproj files with which you can compile everything in VC++ 2008 or whatever. There are some gotchas. The question has been asked and answered.

这篇关于编译OpenCV for Visual C ++ 9.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆