Home › Forums › PowerVR Insider Graphics › Compiling PVRTools as part of project
Tagged: c-11, pvrtools, xcode
This topic contains 3 replies, has 2 voices, and was last updated by Joe Davis 3 years, 5 months ago.
I recently posted a question regarding packaging up the PVRTools code. I am currently attempting to compile my project with the pvrtools source files in a subdirectory under my main source tree.
I’m getting the following error in the PVRTShader.cpp file:
“Assigning to ‘const char*’ from incompatible type ‘char'”
The error relates to a line in this method:
EPVRTError PVRTShaderLoadSourceFromMemory( const char* pszShaderCode, const GLenum Type, GLuint* const pObject, CPVRTString* const pReturnError, const char* const* aszDefineArray, GLuint uiDefArraySize)
it’s the last line in the else block below: pszShaderCode = ‘