Imagination PowerVR SDK Blog

xcode build error



i’m new,i have some problems in building my own iphone gameApp

i can build and run the sample and demo in SDK very good,but if copy the PowerVRTools files in my own app,it has many error,like"

Compile PVRTTextureAPI.cpp…

        ‘myglTexParameter’ was not declared in the scope


i kown it’s something wrong with xcode configuration,and how to config it to avoid error

thanks very much ,


There is a preprocessor define in the POWERVR projects that may be causing this if you don’t have it. Try adding BUILD_OGLES (or BUILD_OGLES2) to your project and this may fix it.


thanks!! i will try it