[英]XCode Compiler Apple LLVM 3.1 vs LLVM GCC 4.2
I downloaded this project to give it a try (http://www.hatzlaha.co.il/150842/Lucas-Kanade-Detection-for-the-iPhone). 我下载了该项目以进行尝试(http://www.hatzlaha.co.il/150842/Lucas-Kanade-Detection-for-the-iPhone)。 It also has a released version on AppStore.
它还在AppStore上有发行版本。
When I downloaded the source and compiled, it gave compilation errors. 当我下载源代码并进行编译时,它给出了编译错误。 I changed the compiler to LLVM GCC and it instantly compiled without any errors or warnings.
我将编译器更改为LLVM GCC,它立即编译,没有任何错误或警告。
Further here is what I did: 更进一步,这是我所做的:
General app flow: 常规应用流程:
Device details: 设备详细信息:
Questions 问题
I know this info might not be enough since there are a lot of unknowns, but trust me, getting into the details of the app would be a really exhaustive problem description. 我知道此信息可能还不够,因为有很多未知数,但是请相信我,深入了解该应用程序的详细信息将是一个非常详尽的问题描述。 Let me know what more info is needed to guess the solution.
让我知道猜测解决方案还需要更多信息。 I'll update it here.
我会在这里更新。
Like you already said the info is not enough. 就像您已经说过的,信息还不够。 I can just guess.
我可以猜测。 The projects for tracking points uses generally their own driver for camera access.
跟踪点的项目通常使用其自己的驱动程序来访问摄像机。 The reason, why it does not work with llvm compiler, might be that.
之所以不能与llvm编译器一起工作,可能是因为。
Just look in the project if you find any file specific to iPhone. 如果您找到任何特定于iPhone的文件,只需在项目中查看。 They are mostly dat files.
它们主要是dat文件。 And maybe you find some preprocessor macros in the project like #ifdef target_iphone something like that.
也许您在项目中找到了一些预处理器宏,例如#ifdef target_iphone之类的东西。 In that case you can contact the producer and request the driver for iPad.
在这种情况下,您可以联系生产商并要求iPad驱动程序。
I did not download and tried the project, but it is just a guess. 我没有下载并尝试过该项目,但这只是一个猜测。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.