在 Windows 7 64 位上编译 OpenCV
我正在尝试让 OpenCV 在 Windows 7 64 位上运行。
我尝试从 OpenCV 网站安装 vs2008.exe 安装程序包,但在尝试编译时出现错误,我用 Google 搜索了这些,看来安装程序不适用于 64 位版本的 Windows 7,bugger。
我尝试过使用 CMake 进行编译,但真的没有运气,有谁知道在这里安装 OpenCV 以便我可以在 VS2010 中使用它的方法吗?
干杯
I'm trying to get OpenCV working on Windows 7 64bit.
I tried installing the vs2008.exe installer bundle from the OpenCV website but it produced errors when trying to compile, I Google'd these and it appears that installer is no good for 64bit versions of Windows 7, bugger.
I've tried having a crack at compiling using CMake, but really having no luck, does anyone know of a way to get OpenCV installed on here so I can use it in VS2010?
Cheers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
设法解决这个问题,在 CMake 创建的“release”文件夹中,我使用 VS2010 打开了错误的文件,我打开了项目文件,然后让它运行构建。
然后我更改了项目中的参数,该项目想要使用 OpenCV 在
release
中查找适当的文件,需要一些摆弄,但我想我现在已经有了。Managed to solve it, in the 'release' folder which CMake creates I was opening the wrong file with VS2010, I opened the project file and then had it run a build.
Then I changed the parameters in my project which wanted to use OpenCV to look in
release
for the appropriate files, needed a bit of fiddling but I think I have it now.对于其他对如何在 Visual Studio 2010 中编译支持 TBB 的 OpenCV 感兴趣的人,我为其创建了一个视频教程:http://www.youtube.com/watch?v=XeBhwbRoKvk
(虽然这是针对 Windows 7 32 位)
For anyone else interested in a guide how to compile OpenCV with TBB support in Visual Studio 2010, I created a video tutorial for it: http://www.youtube.com/watch?v=XeBhwbRoKvk
(although this is for Windows 7 32 bit)