jon_z
May 13th, 2006, 11:14 PM
Can anyone make an effective guide to make RG Pro hockey? I cannot get this game to make for the life of me, trying all the versions..
jon@Blackbox:~/Desktop/rph_stuff$ cd rgSDK
jon@Blackbox:~/Desktop/rph_stuff/rgSDK$ dir
debug rgBMP rgNetwork rgPhysics rgShadow Version.txt
Makefile rgBSP rgOBJ rgPort rgStandard windows
rg3DRom rgCSG rgOpenGL rgProcess rgTime
rgBezier rgCurve rgParse rgRay solaris
jon@Blackbox:~/Desktop/rph_stuff/rgSDK$ gedit Makefile
jon@Blackbox:~/Desktop/rph_stuff/rgSDK$ make all
cp -u rgBezier/rgBezier.h rgBMP/rgBMP.h rgBSP/rgBSP.h rgBSP/rgBSP_template.cpp rgCSG/rgCSG.h rgCurve/rgChaikin.h rgCurve/rgNURBS.h rgNetwork/rgNetwork.h rgOBJ/rgOBJ.h rgOpenGL/rgOpenGL.h rgParse/rgParse.h rgPhysics/rgPhysics.h rgPort/rgPort.h rgProcess/rgProcess.h rgRay/rgRay.h rgShadow/rgShadow.h rgStandard/rgError.h rgStandard/rgStandard.h rgTime/rgTime.h ../rgLibs
cp -u rg3DRom/rg3DRom.h rg3DRom/rg3DRom_file.h rg3DRom/rg3DRom_csg.h rg3DRom/rg3DRom_physics.h rg3DRom/rg3DRom_vertex_array.h ../rgLibs
g++ -Wall -Werror -I../rgLibs -DRGPORT_LITTLE_ENDIAN -DRG_UNSAFE_NORMALIZE -DRG_UNSAFE_MATRIX_MULT -m3dnow -O3 -DLINUX_OS -g -o debug/rgBezier.o \
-c rgBezier/rgBezier.cpp
g++ -Wall -Werror -I../rgLibs -DRGPORT_LITTLE_ENDIAN -DRG_UNSAFE_NORMALIZE -DRG_UNSAFE_MATRIX_MULT -m3dnow -O3 -DLINUX_OS -g -o debug/rgBMP.o \
-c rgBMP/rgBMP.cpp
g++ -Wall -Werror -I../rgLibs -DRGPORT_LITTLE_ENDIAN -DRG_UNSAFE_NORMALIZE -DRG_UNSAFE_MATRIX_MULT -m3dnow -O3 -DLINUX_OS -g -o debug/rgBSP.o \
-c rgBSP/rgBSP.cpp
In file included from rgBSP/rgBSP.cpp:21:
../rgLibs/rgOpenGL.h:26:19: error: GL/gl.h: No such file or directory
../rgLibs/rgOpenGL.h:60: error: ‘GLuint’ does not name a type
../rgLibs/rgOpenGL.h: In constructor ‘rgGLTexture_ref_tag::rgGLTexture_ref_tag(int, int)’:
../rgLibs/rgOpenGL.h:73: error: ‘id’ was not declared in this scope
../rgLibs/rgOpenGL.h: At global scope:
../rgLibs/rgOpenGL.h:145: error: ‘GLuint’ does not name a type
../rgLibs/rgOpenGL.h:152: error: ‘GLuint’ does not name a type
../rgLibs/rgOpenGL.h:153: error: ‘GLuint’ does not name a type
../rgLibs/rgOpenGL.h:158: error: expected ‘,’ or ‘...’ before ‘id’
../rgLibs/rgOpenGL.h:158: error: ISO C++ forbids declaration of ‘GLuint’ with no type
../rgLibs/rgOpenGL.h:159: error: expected ‘,’ or ‘...’ before ‘id’
../rgLibs/rgOpenGL.h:159: error: ISO C++ forbids declaration of ‘GLuint’ with no type
../rgLibs/rgOpenGL.h:160: error: expected ‘,’ or ‘...’ before ‘id’
../rgLibs/rgOpenGL.h:160: error: ISO C++ forbids declaration of ‘GLuint’ with no type
../rgLibs/rgOpenGL.h:161: error: expected ‘,’ or ‘...’ before ‘id’
../rgLibs/rgOpenGL.h:161: error: ISO C++ forbids declaration of ‘GLuint’ with no type
../rgLibs/rgOpenGL.h: In member function ‘void rgGLTexture::bind() const’:
../rgLibs/rgOpenGL.h:100: error: ‘GL_TEXTURE_2D’ was not declared in this scope
../rgLibs/rgOpenGL.h:100: error: ‘textureID’ was not declared in this scope
../rgLibs/rgOpenGL.h:100: error: ‘glBindTexture’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::set_pos() const’:
../rgLibs/rgOpenGL.h:182: error: ‘GL_POSITION’ was not declared in this scope
../rgLibs/rgOpenGL.h:182: error: ‘glLightfv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::set_amb() const’:
../rgLibs/rgOpenGL.h:183: error: ‘GL_AMBIENT’ was not declared in this scope
../rgLibs/rgOpenGL.h:183: error: ‘glLightfv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::set_dif() const’:
../rgLibs/rgOpenGL.h:184: error: ‘GL_DIFFUSE’ was not declared in this scope
../rgLibs/rgOpenGL.h:184: error: ‘glLightfv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::set_spec() const’:
../rgLibs/rgOpenGL.h:185: error: ‘GL_SPECULAR’ was not declared in this scope
../rgLibs/rgOpenGL.h:185: error: ‘glLightfv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::enable() const’:
../rgLibs/rgOpenGL.h:192: error: ‘glEnable’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::disable() const’:
../rgLibs/rgOpenGL.h:193: error: ‘glDisable’ was not declared in this scope
../rgLibs/rgOpenGL.h: At global scope:
../rgLibs/rgOpenGL.h:292: error: expected ‘,’ or ‘...’ before ‘buf’
../rgLibs/rgOpenGL.h:293: error: ISO C++ forbids declaration of ‘GLint’ with no type
../rgLibs/rgOpenGL.h: In function ‘void glVertex(const rgVector&)’:
../rgLibs/rgOpenGL.h:304: error: ‘glVertex3fv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In function ‘void glNormal(const rgVector&)’:
../rgLibs/rgOpenGL.h:305: error: ‘glNormal3fv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In function ‘void glColor3(const rgVector&)’:
../rgLibs/rgOpenGL.h:306: error: ‘glColor3fv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In function ‘void glTexCoord(const rgVector&)’:
../rgLibs/rgOpenGL.h:307: error: ‘glTexCoord3fv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In function ‘void glTexCoord2(const rgVector&)’:
../rgLibs/rgOpenGL.h:308: error: ‘glTexCoord2fv’ was not declared in this scope
rgBSP/rgBSP.cpp: In function ‘void rgBSP_NTTC_convex_hull_renderer(std::vector<rgBSPFace<rgBSP_NTTC_ExtData>, std::allocator<rgBSPFace<rgBSP_NTTC_ExtData> > >&, rgMatrix*, void*)’:
rgBSP/rgBSP.cpp:106: error: ‘GL_TEXTURE_2D’ was not declared in this scope
rgBSP/rgBSP.cpp:106: error: ‘glBindTexture’ was not declared in this scope
rgBSP/rgBSP.cpp:107: error: ‘GL_POLYGON’ was not declared in this scope
rgBSP/rgBSP.cpp:107: error: ‘glBegin’ was not declared in this scope
rgBSP/rgBSP.cpp:110: error: ‘glColor4f’ was not declared in this scope
rgBSP/rgBSP.cpp:111: error: ‘glTexCoord2f’ was not declared in this scope
rgBSP/rgBSP.cpp:115: error: ‘glEnd’ was not declared in this scope
rgBSP/rgBSP.cpp:127: error: ‘GL_TEXTURE_2D’ was not declared in this scope
rgBSP/rgBSP.cpp:127: error: ‘glBindTexture’ was not declared in this scope
rgBSP/rgBSP.cpp:128: error: ‘GL_POLYGON’ was not declared in this scope
rgBSP/rgBSP.cpp:128: error: ‘glBegin’ was not declared in this scope
rgBSP/rgBSP.cpp:131: error: ‘glColor4f’ was not declared in this scope
rgBSP/rgBSP.cpp:132: error: ‘glTexCoord2f’ was not declared in this scope
rgBSP/rgBSP.cpp:140: error: ‘glEnd’ was not declared in this scope
make: *** [debug/rgBSP.o] Error 1
jon@Blackbox:~/Desktop/rph_stuff$ cd rgSDK
jon@Blackbox:~/Desktop/rph_stuff/rgSDK$ dir
debug rgBMP rgNetwork rgPhysics rgShadow Version.txt
Makefile rgBSP rgOBJ rgPort rgStandard windows
rg3DRom rgCSG rgOpenGL rgProcess rgTime
rgBezier rgCurve rgParse rgRay solaris
jon@Blackbox:~/Desktop/rph_stuff/rgSDK$ gedit Makefile
jon@Blackbox:~/Desktop/rph_stuff/rgSDK$ make all
cp -u rgBezier/rgBezier.h rgBMP/rgBMP.h rgBSP/rgBSP.h rgBSP/rgBSP_template.cpp rgCSG/rgCSG.h rgCurve/rgChaikin.h rgCurve/rgNURBS.h rgNetwork/rgNetwork.h rgOBJ/rgOBJ.h rgOpenGL/rgOpenGL.h rgParse/rgParse.h rgPhysics/rgPhysics.h rgPort/rgPort.h rgProcess/rgProcess.h rgRay/rgRay.h rgShadow/rgShadow.h rgStandard/rgError.h rgStandard/rgStandard.h rgTime/rgTime.h ../rgLibs
cp -u rg3DRom/rg3DRom.h rg3DRom/rg3DRom_file.h rg3DRom/rg3DRom_csg.h rg3DRom/rg3DRom_physics.h rg3DRom/rg3DRom_vertex_array.h ../rgLibs
g++ -Wall -Werror -I../rgLibs -DRGPORT_LITTLE_ENDIAN -DRG_UNSAFE_NORMALIZE -DRG_UNSAFE_MATRIX_MULT -m3dnow -O3 -DLINUX_OS -g -o debug/rgBezier.o \
-c rgBezier/rgBezier.cpp
g++ -Wall -Werror -I../rgLibs -DRGPORT_LITTLE_ENDIAN -DRG_UNSAFE_NORMALIZE -DRG_UNSAFE_MATRIX_MULT -m3dnow -O3 -DLINUX_OS -g -o debug/rgBMP.o \
-c rgBMP/rgBMP.cpp
g++ -Wall -Werror -I../rgLibs -DRGPORT_LITTLE_ENDIAN -DRG_UNSAFE_NORMALIZE -DRG_UNSAFE_MATRIX_MULT -m3dnow -O3 -DLINUX_OS -g -o debug/rgBSP.o \
-c rgBSP/rgBSP.cpp
In file included from rgBSP/rgBSP.cpp:21:
../rgLibs/rgOpenGL.h:26:19: error: GL/gl.h: No such file or directory
../rgLibs/rgOpenGL.h:60: error: ‘GLuint’ does not name a type
../rgLibs/rgOpenGL.h: In constructor ‘rgGLTexture_ref_tag::rgGLTexture_ref_tag(int, int)’:
../rgLibs/rgOpenGL.h:73: error: ‘id’ was not declared in this scope
../rgLibs/rgOpenGL.h: At global scope:
../rgLibs/rgOpenGL.h:145: error: ‘GLuint’ does not name a type
../rgLibs/rgOpenGL.h:152: error: ‘GLuint’ does not name a type
../rgLibs/rgOpenGL.h:153: error: ‘GLuint’ does not name a type
../rgLibs/rgOpenGL.h:158: error: expected ‘,’ or ‘...’ before ‘id’
../rgLibs/rgOpenGL.h:158: error: ISO C++ forbids declaration of ‘GLuint’ with no type
../rgLibs/rgOpenGL.h:159: error: expected ‘,’ or ‘...’ before ‘id’
../rgLibs/rgOpenGL.h:159: error: ISO C++ forbids declaration of ‘GLuint’ with no type
../rgLibs/rgOpenGL.h:160: error: expected ‘,’ or ‘...’ before ‘id’
../rgLibs/rgOpenGL.h:160: error: ISO C++ forbids declaration of ‘GLuint’ with no type
../rgLibs/rgOpenGL.h:161: error: expected ‘,’ or ‘...’ before ‘id’
../rgLibs/rgOpenGL.h:161: error: ISO C++ forbids declaration of ‘GLuint’ with no type
../rgLibs/rgOpenGL.h: In member function ‘void rgGLTexture::bind() const’:
../rgLibs/rgOpenGL.h:100: error: ‘GL_TEXTURE_2D’ was not declared in this scope
../rgLibs/rgOpenGL.h:100: error: ‘textureID’ was not declared in this scope
../rgLibs/rgOpenGL.h:100: error: ‘glBindTexture’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::set_pos() const’:
../rgLibs/rgOpenGL.h:182: error: ‘GL_POSITION’ was not declared in this scope
../rgLibs/rgOpenGL.h:182: error: ‘glLightfv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::set_amb() const’:
../rgLibs/rgOpenGL.h:183: error: ‘GL_AMBIENT’ was not declared in this scope
../rgLibs/rgOpenGL.h:183: error: ‘glLightfv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::set_dif() const’:
../rgLibs/rgOpenGL.h:184: error: ‘GL_DIFFUSE’ was not declared in this scope
../rgLibs/rgOpenGL.h:184: error: ‘glLightfv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::set_spec() const’:
../rgLibs/rgOpenGL.h:185: error: ‘GL_SPECULAR’ was not declared in this scope
../rgLibs/rgOpenGL.h:185: error: ‘glLightfv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::enable() const’:
../rgLibs/rgOpenGL.h:192: error: ‘glEnable’ was not declared in this scope
../rgLibs/rgOpenGL.h: In member function ‘void rgGLLight::disable() const’:
../rgLibs/rgOpenGL.h:193: error: ‘glDisable’ was not declared in this scope
../rgLibs/rgOpenGL.h: At global scope:
../rgLibs/rgOpenGL.h:292: error: expected ‘,’ or ‘...’ before ‘buf’
../rgLibs/rgOpenGL.h:293: error: ISO C++ forbids declaration of ‘GLint’ with no type
../rgLibs/rgOpenGL.h: In function ‘void glVertex(const rgVector&)’:
../rgLibs/rgOpenGL.h:304: error: ‘glVertex3fv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In function ‘void glNormal(const rgVector&)’:
../rgLibs/rgOpenGL.h:305: error: ‘glNormal3fv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In function ‘void glColor3(const rgVector&)’:
../rgLibs/rgOpenGL.h:306: error: ‘glColor3fv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In function ‘void glTexCoord(const rgVector&)’:
../rgLibs/rgOpenGL.h:307: error: ‘glTexCoord3fv’ was not declared in this scope
../rgLibs/rgOpenGL.h: In function ‘void glTexCoord2(const rgVector&)’:
../rgLibs/rgOpenGL.h:308: error: ‘glTexCoord2fv’ was not declared in this scope
rgBSP/rgBSP.cpp: In function ‘void rgBSP_NTTC_convex_hull_renderer(std::vector<rgBSPFace<rgBSP_NTTC_ExtData>, std::allocator<rgBSPFace<rgBSP_NTTC_ExtData> > >&, rgMatrix*, void*)’:
rgBSP/rgBSP.cpp:106: error: ‘GL_TEXTURE_2D’ was not declared in this scope
rgBSP/rgBSP.cpp:106: error: ‘glBindTexture’ was not declared in this scope
rgBSP/rgBSP.cpp:107: error: ‘GL_POLYGON’ was not declared in this scope
rgBSP/rgBSP.cpp:107: error: ‘glBegin’ was not declared in this scope
rgBSP/rgBSP.cpp:110: error: ‘glColor4f’ was not declared in this scope
rgBSP/rgBSP.cpp:111: error: ‘glTexCoord2f’ was not declared in this scope
rgBSP/rgBSP.cpp:115: error: ‘glEnd’ was not declared in this scope
rgBSP/rgBSP.cpp:127: error: ‘GL_TEXTURE_2D’ was not declared in this scope
rgBSP/rgBSP.cpp:127: error: ‘glBindTexture’ was not declared in this scope
rgBSP/rgBSP.cpp:128: error: ‘GL_POLYGON’ was not declared in this scope
rgBSP/rgBSP.cpp:128: error: ‘glBegin’ was not declared in this scope
rgBSP/rgBSP.cpp:131: error: ‘glColor4f’ was not declared in this scope
rgBSP/rgBSP.cpp:132: error: ‘glTexCoord2f’ was not declared in this scope
rgBSP/rgBSP.cpp:140: error: ‘glEnd’ was not declared in this scope
make: *** [debug/rgBSP.o] Error 1