开发者

iPhone - stdint.h file not found!

I am dealing with a project designed for iPhone OS 2.0 and I am intending to keep compatibility with this version while offering new OS 3.x functionality.

When I set the base SDK to iPhone OS 3.1.3 and Target OS for 2.0, Xcode gives me this error during compilation.

'stdint开发者_StackOverflow.h' file not found /Developer/usr/lib/clang/1.0.1/include/stdint.h:32:16: fatal error: 'stdint.h' file not found

The strange thing is that the file is there, on the path it says it is not.

if I set the target OS for 3.x the problem vanishes.

how to solver that?

thanks for any help.


It looks like you are trying to use Clang LLVM to compile your iPhone project. That is not supported at the current time for iPhone applications, only GCC is.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜