iphone compilation problems

You can set the installation directory for ppremake by defining INSTALL_DIR to the appropriate location, like:

#defer INSTALL_DIR /usr/local/panda3d/$[IOS_PLATFORM]

Create fat binaries like this:

#define UNIVERSAL_BINARIES 1
#define ARCH_FLAGS -arch i386 -arch ppc

The “cvs diff” command generates a patch.

Keep in mind that it won’t use GLES2 unless you change this line in panda/src/iphonedisplay/eaglView.mm:

    context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];

Maybe we should make a configuration variable to change this, or so.