opencv 示例在 OpenFrameworks 中不起作用

发布于 2024-11-04 21:30:09 字数 156 浏览 4 评论 0原文

我已经从 Github 下载了 openframeworks。我可以运行所有示例,但如果我尝试运行 openframeworks 中给出的 opencv 示例。它不起作用,显示 44 个错误,而且错误也不常见。我认为 github 中也缺少链接文件。您知道为什么只有 opencv 示例无法执行吗?

I have downloaded openframeworks from Github. I can run all the samples but if I am trying to run opencv example given in openframeworks. Its not working, showing 44 errors and errors are not common too. I think there linking files are also missing in github. Do you have any idea why only opencv example cant get executed ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

半葬歌 2024-11-11 21:30:09

例如,在 iPhoneFaceSamplesSomething 中,缺少一些文件,您可以从项目的其他部分获取这些文件(jpg、xml)或直接忽略(png)。你会收到大量警告,因为他们添加了 XCode 忽略的 OS X 库,没什么大不了的。 iPhone 缺少一些库,例如 opencv highgui 等。您应该尝试从其他地方获取它们或自己编译它们。项目定义有点乱,你也可以在github上提交bug。

In, for example, iPhoneFaceSamplesSomething some files are missing that you can get from other parts of the project (jpg, xml) or just ignore (png). You get a ton of warnings because they added OS X libs which XCode ignore, no big deal. And then some libs are missing for the iPhone like opencv highgui and some other. You should try to get them from somewhere else or compile them yourself. The project definition is a bit messy, you can also file a bug in github.

給妳壹絲溫柔 2024-11-11 21:30:09

实际上,答案是 ofxOpenCv 示例仅在实际设备上运行时才有效。 ofxOpenCv 目前无法在 iPhone 上的模拟器中运行。

actually the answer to this is that the ofxOpenCv examples only work when run on the actual device. ofxOpenCv doesn't work in the simulator on iphone currently.

萌化 2024-11-11 21:30:09

检查自述文件中是否包含内容。通常 OF 插件具有未包含在下载中的依赖项。

有时,当您在系统上运行不正确的配置文件时,您也会遇到另一件事。就像 OSX 10.5 而不是 OSX 10.6。还可以调整发布和调试选项(来回切换),这通常会有所帮助(我知道这听起来很黑客)。

Check the read me file for includes. Often times OF addons have dependancies that are not included in the download.

Also another thing that will get you sometimes is when you're running the incorrect profile on your system. Like OSX 10.5 instead of OSX 10.6. Also fiddle with the release and debug options(switch back and forth), that will often help (I know it sounds hack-ish).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文