使用 OpenNI 和 Qt 编译 OpenCV 2.3
对于使用 Microsoft Kinect 的项目,我目前想使用 OpenNI 框架编译 OpenCV。
我已经安装了 OpenNI、NITE 和 Kinect 驱动程序,但在编译 OpenCV 时遇到问题,以便我可以使用 OpenNI 进行开发。
为此,我启动了 cmake,获取了 OpenCV(2.3 版本)源代码,选择了 Visual Studio 2008 makefile,链接了所有必要的路径,检查了 "WITH_QT"
和 "WITH_OPENNI"
,设置Qt 文件和 OpenNI include 和 lib 文件夹的路径以及 PrimeSense 文件夹和生成的 MakeFiles 的路径,它们运行时没有错误。
然后,我启动了由 CMake 创建的 OpenCV.sln 解决方案,将其设置为 Release 并尝试构建整个包。不幸的是,它给了我一个错误:
我将其粘贴到那里,因为它很长。您可以在第 420 行左右看到错误。
有人知道那里出了什么问题以及我该如何修复它吗?如果有人能看一下那就太好了。
谢谢你!
for a project that uses the Microsoft Kinect I currently would like to compile OpenCV with the OpenNI framework.
I already have OpenNI, NITE and the Kinect drivers installed but I am having problems compiling OpenCV so that I can develop using OpenNI.
For this I started cmake, took the OpenCV (2.3 release) sources, selected Visual Studio 2008 makefiles, linked all necessary paths, checked "WITH_QT"
and "WITH_OPENNI"
, set the paths to Qt files and the OpenNI include and lib folders as well as the PrimeSense folders and generated MakeFiles, which worked without errors.
I then started the OpenCV.sln
solution that had been created by CMake, set it to Release and tried to build the whole package. Unfortunately it gives me an error:
I pasted it there since it's quite long. You can see the errors at about line 420.
Does anybody have an idea what is going wrong there and how I can fix it? Would be great if anybody could have a look at it.
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个:
Try this: