简体   繁体   English

在 iOS 中使用 llvm clang 编译错误(在设备上,越狱)

[英]Compiling error using llvm clang in iOS (on device,jailbreaken)

how can I fix this error?:我该如何解决这个错误?:

http://i.stack.imgur.com/zmZea.jpg http://i.stack.imgur.com/zmZea.jpg

I got this error when compiling a simple c++ file but I don't know why When I compile this file with iOS 6.1 sdk it works but I want it to work in iOS sdk 8.1 My iPad:ipad 3 wifi My iOS version:8.4我在编译一个简单的 c++ 文件时遇到了这个错误,但我不知道为什么当我用 iOS 6.1 sdk 编译这个文件时它可以工作,但我希望它在 iOS sdk 8.1 中工作我的 iPad:ipad 3 wifi 我的 iOS 版本:8.4

It shouldn't be problem with the architecture.架构应该没有问题。 As far as I know Apple hasn't changed Armv7.据我所知,Apple 并没有改变 Armv7。 From what I see, its a linker error, probably caused by libraries not being linked in correctly.据我所知,这是一个链接器错误,可能是由于库没有正确链接造成的。 Pretty clear when it says: ignoring nonexistent library .当它说: ignoring nonexistent library时很清楚。 This type of error could occur if you import a header and fail to link it against the correct library OR if you just straight up include a header for the wrong architecture -_-.如果您导入标头但未能将其链接到正确的库,或者您直接包含错误架构的标头 -_-,则可能会发生此类错误。

So thats the diagnosis.这就是诊断。 I guess the rest of the hacking is up to you since no one here has any clue what you have done to the poor iPad.我想剩下的黑客攻击取决于你,因为这里没有人知道你对可怜的 iPad 做了什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM