i dont know what i did, I just unzipped the template a dozen times more and readded the includes to xCode, and built the library about 20 times more, tried older revisions of the branch in bewtween, and it went from duplicate symbol createDeviceEx to symbol not found.. but now I came back to the newest revision 2769. and no more linking errors. It even compiles FuzzYspo0N's template for the simulator, which unfortunately crashes unexpectedly...
Anyone know how to go about and sign the app so I can actually take a look on the device itself, rather than the simulator ?
EDIT:
According to apple the simulator supports both OGLES1.1 and 2 applications, which still doesn't mean irrlicht would run, so if anyone knows that more specific I'd love to know. My screen stays black in release and crashes in debug. I used GDB to step to the crashing line of code which unfortunately is:
Code: Select all
device = createDeviceEx((const SIrrlichtCreationParameters)params);
0x9290bc06 <+0025> cmp 0x30(%eax),%esi
EXC_BAD_ACCESS
EDIT2:
I think it thinks its a console device...
EDIT3:
compiling irrlicht without console device, I can step as far as device->run() before crashing.
EDIT4:
I started working with sio2, which is OK but slowly gets on my nerves. I am doing a basic x-wing shoot the lasers in a death star tunnel look alike star wars style game. See below. Sio2 is a freeware engine for iphone and ipod touch and is very close to GL, kind of rudimentary thing, very overviewable and extendable.. basically some inlined vector functions, a custom renderloop, a resource managment system and a plugin for blender to its custom file format .sio2... The documentation sucks, basically it a doxygen empty, no comments in no headers, not a single sentence nowhere.
There's 2 forums, one empty, no questions getting answered and one full, which on register activate account returns 404 ! Really getting on my nerves.
The point is: I WANT TO USE IRRLICHT, so if anyone feels like debugging the whole thing a little more I guess it would be the engine of choice for quite many ppl...
Work on that is much appreciated...
...
EDIT5:
Concerning the simulator and signing I got a little wiser. The simulator should run all GLES content without a problem, of course things like the accelerometer wont work, but it'll be enough to get irrlicht running for anyone willing to download the sdk and invest some time. No hardware required if you have a mac or a hackintosh. I'm only guessing on compiler and linker errors and I'm clearly unqualified. If your phone is jailbroken you can ssh on it and sign the app with
Code: Select all
chmod 755 /Applications/Appname.app/Appname
ldid -S /Applications/Appname.app/Appname
For Xcode you can edit an XML file somwhere to allow building without code signing for OS3.1 otherwise use OS 2.0 where the option is free without editing any xml files in build options under code signing
'dont code sign'. Deployment OS should be 2.0 anyway, otherwise ldid wont sign it.