Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
11-14-2007, 07:38 PM #1Developing on Leopard - OSByteOrder.h?
I think I've gotten the toolchain set up on a fresh Leopard install, but when trying to compile the example projects (helloworld and flipacoin) in XCode, I end up with ~35 errors, starting with:
"error: libkern/arm/OSByteOrder.h: No such file or directory"
I've searched and that file does not exist on the computer. Other errors include:
"error: arm/_structs.h: No such file or directory"
"error: parse error before '_STRUCT_MCONTEXT'"
"error: parse error before '__DARWIN_ALIAS_C'"
"error: parse error before '__DARWIN_1050'"
"error: #error "Unknown architecture.""
Does anyone have any ideas? I'm new to Mac OS development and I'm not sure what's going on here.
11-15-2007, 09:24 PM #2
11-15-2007, 10:32 PM #3
sounds like you have alot of probs. #1 i wouldnt start compiles flipacoin, #2 id compile something easy, and #3 make sure you are compiling with a makefile that is known to work with the toolchain you have on leopard.
11-16-2007, 01:43 AM #4
11-16-2007, 03:23 AM #5
i dont know of anyone other than myself using xcode 3 and leopard. you need to build from terminal with a makefile before you try and use xcode, when you know your toolchain works then you should move on to something like xcode, which isnt the easiest to set up for leo, but i will have a template online on my site soon.