Imagination PowerVR SDK Blog

Compile for device



How do I compile the demos/tutorials for iphone device? Currently I can only compile for simulator. Compiling to device fails to link the program and I get the warning:

"libOGLES2Tools.a, file was built for unsupported file format which is not the architecture being linked (armv6)"



Did you try to open the libOGLES2Tools project (I think you have to double-click it when you are in one of the demo/tutorial projects), adjust the build options and build it (via the menu)?


Make sure the Base SDK settings are correct for your environment projects and/or targets.


Also check the "iOS Deployment Target"setting in both the Tools project and the demo.

And see here: