Ok, I've had to start over. In the end I may need someone to implement the makefile for me, because I don't know much about makefiles, but that shouldn't be too difficult. I've gone through and put a new platform define in the irrCompileConfig.h and I've been solving problems using that platform define, so that at some point this port can be integrated into the "official" releases of irrlicht with minimal fuss. So far this has me stumped:
Code: Select all
psp-g++ -Wall -pipe -g -D_DEBUG -I../../include -I/usr/local/pspdev/psp/sdk/psp/
include -I/psp/sdk/include -DIRRLICHT_EXPORTS=1 -c -o COpenGLNormalMapRenderer.
o COpenGLNormalMapRenderer.cpp
In file included from COpenGLDriver.h:24,
from COpenGLNormalMapRenderer.cpp:13:
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGenPrograms(GLsizei, GLuint*)':
COpenGLExtensionHandler.h:894: error: 'glGenProgramsARB' was not declared in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlBindProgram(GLenum, GLuint)':
COpenGLExtensionHandler.h:906: error: 'glBindProgramARB' was not declared in thi
s scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlProgramString(GLenum, GLenum, GLsizei, const GLvoid*)':
COpenGLExtensionHandler.h:918: error: 'glProgramStringARB' was not declared in t
his scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlDeletePrograms(GLsizei, const GLuint*)':
COpenGLExtensionHandler.h:930: error: 'glDeleteProgramsARB' was not declared in
this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlProgramLocalParameter4fv(GLenum, GLuint, const GLfloat*)':
COpenGLExtensionHandler.h:942: error: 'glProgramLocalParameter4fvARB' was not de
clared in this scope
COpenGLExtensionHandler.h: In member function 'GLhandleARB irr::video::COpenGLEx
tensionHandler::extGlCreateShaderObject(GLenum)':
COpenGLExtensionHandler.h:954: error: 'glCreateShaderObjectARB' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlShaderSource(GLhandleARB, int, const char**, int*)':
COpenGLExtensionHandler.h:967: error: 'glShaderSourceARB' was not declared in th
is scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlCompileShader(GLhandleARB)':
COpenGLExtensionHandler.h:979: error: 'glCompileShaderARB' was not declared in t
his scope
COpenGLExtensionHandler.h: In member function 'GLhandleARB irr::video::COpenGLEx
tensionHandler::extGlCreateProgramObject()':
COpenGLExtensionHandler.h:991: error: 'glCreateProgramObjectARB' was not declare
d in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlAttachObject(GLhandleARB, GLhandleARB)':
COpenGLExtensionHandler.h:1004: error: 'glAttachObjectARB' was not declared in t
his scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlLinkProgram(GLhandleARB)':
COpenGLExtensionHandler.h:1016: error: 'glLinkProgramARB' was not declared in th
is scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlUseProgramObject(GLhandleARB)':
COpenGLExtensionHandler.h:1028: error: 'glUseProgramObjectARB' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlDeleteObject(GLhandleARB)':
COpenGLExtensionHandler.h:1040: error: 'glDeleteObjectARB' was not declared in t
his scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGetInfoLog(GLhandleARB, GLsizei, GLsizei*, GLcharARB*)':
COpenGLExtensionHandler.h:1052: error: 'glGetInfoLogARB' was not declared in thi
s scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGetObjectParameteriv(GLhandleARB, GLenum, int*)':
COpenGLExtensionHandler.h:1064: error: 'glGetObjectParameterivARB' was not decla
red in this scope
COpenGLExtensionHandler.h: In member function 'GLint irr::video::COpenGLExtensio
nHandler::extGlGetUniformLocation(GLhandleARB, const char*)':
COpenGLExtensionHandler.h:1076: error: 'glGetUniformLocationARB' was not declare
d in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlUniform4fv(GLint, GLsizei, const GLfloat*)':
COpenGLExtensionHandler.h:1089: error: 'glUniform4fvARB' was not declared in thi
s scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlUniform1iv(GLint, GLsizei, const GLint*)':
COpenGLExtensionHandler.h:1101: error: 'glUniform1ivARB' was not declared in thi
s scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlUniform1fv(GLint, GLsizei, const GLfloat*)':
COpenGLExtensionHandler.h:1113: error: 'glUniform1fvARB' was not declared in thi
s scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlUniform2fv(GLint, GLsizei, const GLfloat*)':
COpenGLExtensionHandler.h:1125: error: 'glUniform2fvARB' was not declared in thi
s scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlUniform3fv(GLint, GLsizei, const GLfloat*)':
COpenGLExtensionHandler.h:1137: error: 'glUniform3fvARB' was not declared in thi
s scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlUniformMatrix2fv(GLint, GLsizei, GLboolean, const GLfloat*)':
COpenGLExtensionHandler.h:1149: error: 'glUniformMatrix2fvARB' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlUniformMatrix3fv(GLint, GLsizei, GLboolean, const GLfloat*)':
COpenGLExtensionHandler.h:1161: error: 'glUniformMatrix3fvARB' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlUniformMatrix4fv(GLint, GLsizei, GLboolean, const GLfloat*)':
COpenGLExtensionHandler.h:1173: error: 'glUniformMatrix4fvARB' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGetActiveUniform(GLhandleARB, GLuint, GLsizei, GLsizei*, GLint*, G
Lenum*, GLcharARB*)':
COpenGLExtensionHandler.h:1187: error: 'glGetActiveUniformARB' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlPointParameterf(GLint, GLfloat)':
COpenGLExtensionHandler.h:1199: error: 'glPointParameterfARB' was not declared i
n this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlPointParameterfv(GLint, const GLfloat*)':
COpenGLExtensionHandler.h:1211: error: 'glPointParameterfvARB' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlStencilFuncSeparate(GLenum, GLenum, GLint, GLuint)':
COpenGLExtensionHandler.h:1225: error: 'glStencilFuncSeparate' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlStencilOpSeparate(GLenum, GLenum, GLenum, GLenum)':
COpenGLExtensionHandler.h:1241: error: 'glStencilOpSeparate' was not declared in
this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlBindFramebuffer(GLenum, GLuint)':
COpenGLExtensionHandler.h:1268: error: 'glBindFramebufferEXT' was not declared i
n this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlDeleteFramebuffers(GLsizei, const GLuint*)':
COpenGLExtensionHandler.h:1280: error: 'glDeleteFramebuffersEXT' was not declare
d in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGenFramebuffers(GLsizei, GLuint*)':
COpenGLExtensionHandler.h:1292: error: 'glGenFramebuffersEXT' was not declared i
n this scope
COpenGLExtensionHandler.h: In member function 'GLenum irr::video::COpenGLExtensi
onHandler::extGlCheckFramebufferStatus(GLenum)':
COpenGLExtensionHandler.h:1306: error: 'glCheckFramebufferStatusEXT' was not dec
lared in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlFramebufferTexture2D(GLenum, GLenum, GLenum, GLuint, GLint)':
COpenGLExtensionHandler.h:1319: error: 'glFramebufferTexture2DEXT' was not decla
red in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlBindRenderbuffer(GLenum, GLuint)':
COpenGLExtensionHandler.h:1331: error: 'glBindRenderbufferEXT' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlDeleteRenderbuffers(GLsizei, const GLuint*)':
COpenGLExtensionHandler.h:1343: error: 'glDeleteRenderbuffersEXT' was not declar
ed in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGenRenderbuffers(GLsizei, GLuint*)':
COpenGLExtensionHandler.h:1355: error: 'glGenRenderbuffersEXT' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlRenderbufferStorage(GLenum, GLenum, GLsizei, GLsizei)':
COpenGLExtensionHandler.h:1367: error: 'glRenderbufferStorageEXT' was not declar
ed in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlFramebufferRenderbuffer(GLenum, GLenum, GLenum, GLuint)':
COpenGLExtensionHandler.h:1379: error: 'glFramebufferRenderbufferEXT' was not de
clared in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlActiveStencilFace(GLenum)':
COpenGLExtensionHandler.h:1391: error: 'glActiveStencilFaceEXT' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGenBuffers(GLsizei, GLuint*)':
COpenGLExtensionHandler.h:1404: error: 'glGenBuffers' was not declared in this s
cope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlBindBuffer(GLenum, GLuint)':
COpenGLExtensionHandler.h:1416: error: 'glBindBuffer' was not declared in this s
cope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlBufferData(GLenum, GLsizeiptrARB, const GLvoid*, GLenum)':
COpenGLExtensionHandler.h:1428: error: 'glBufferData' was not declared in this s
cope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlDeleteBuffers(GLsizei, const GLuint*)':
COpenGLExtensionHandler.h:1440: error: 'glDeleteBuffers' was not declared in thi
s scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlBufferSubData(GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid*)':
COpenGLExtensionHandler.h:1452: error: 'glBufferSubData' was not declared in thi
s scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGetBufferSubData(GLenum, GLintptrARB, GLsizeiptrARB, GLvoid*)':
COpenGLExtensionHandler.h:1464: error: 'glGetBufferSubData' was not declared in
this scope
COpenGLExtensionHandler.h: In member function 'void* irr::video::COpenGLExtensio
nHandler::extGlMapBuffer(GLenum, GLenum)':
COpenGLExtensionHandler.h:1477: error: 'glMapBuffer' was not declared in this sc
ope
COpenGLExtensionHandler.h: In member function 'GLboolean irr::video::COpenGLExte
nsionHandler::extGlUnmapBuffer(GLenum)':
COpenGLExtensionHandler.h:1491: error: 'glUnmapBuffer' was not declared in this
scope
COpenGLExtensionHandler.h: In member function 'GLboolean irr::video::COpenGLExte
nsionHandler::extGlIsBuffer(GLuint)':
COpenGLExtensionHandler.h:1505: error: 'glIsBuffer' was not declared in this sco
pe
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGetBufferParameteriv(GLenum, GLenum, GLint*)':
COpenGLExtensionHandler.h:1518: error: 'glGetBufferParameteriv' was not declared
in this scope
COpenGLExtensionHandler.h: In member function 'void irr::video::COpenGLExtension
Handler::extGlGetBufferPointerv(GLenum, GLenum, GLvoid**)':
COpenGLExtensionHandler.h:1530: error: 'glGetBufferPointerv' was not declared in
this scope
make: *** [COpenGLNormalMapRenderer.o] Error 1
What would be the best way to handle these kinds of problems? should I go through and individually #ifdef _IRR_PSP_PLATFORM_ them out, or am I just missing some include or file?