Open GoogleCodeExporter opened 9 years ago
After minor changes to the source and reconstructing my environment, I got it to
compile :-)
Original comment by castleva...@yahoo.com
on 19 Aug 2009 at 2:24
What did you change? I think I'm hitting the same problem. I'm guessing I
should checkout into the 7zip, for the
latest.
Compiling from the svn gives( and svn checked out into 7zip files)...
C:\gl2gx>make wii-release
make -C libogc PLATFORM=wii BUILD=wii_release
make[1]: Entering directory `/c/gl2gx/libogc'
gl.c
c:/gl2gx/libogc/../source/gl.c: In function 'glRotatef':
c:/gl2gx/libogc/../source/gl.c:34: error: 'Vector' undeclared (first use in
this function)
...
...
c:/gl2gx/libogc/../source/gl.c:597: warning: unused variable 'defcolor'
c:/gl2gx/libogc/../source/gl.c: In function 'glEnable':
c:/gl2gx/libogc/../source/gl.c:739: warning: unused variable 'countlights'
make[2]: *** [gl.o] Error 1
make[1]: *** [wii_release] Error 2
make[1]: Leaving directory `/c/gl2gx/libogc'
make: *** [wii-release] Error 2
Compiling from the tar ball gives (which makes sense because libogc is
missing)...
make -C libogc PLATFORM=cube BUILD=cube_release
make: *** libogc: No such file or directory. Stop.
make: *** [cube-release] Error 2
Compiling from the 7zip gives(I think this is the one Freespace 2 wii uses)...
make -C libogc PLATFORM=wii BUILD=wii_release
make[1]: Entering directory `/c/gl2gx/libogc'
gl.c
In file included from c:/gl2gx/libogc/../source/gl.c:7:
c:/gl2gx/libogc/../source/include/glint.h:5:23: warning: memtracer.h: No such
file or directory
c:/gl2gx/libogc/../source/include/glint.h:9:20: warning: ogcsys.h: No such file
or directory
c:/gl2gx/libogc/../source/include/glint.h:10:20: warning: gccore.h: No such
file or directory
In file included from c:/gl2gx/libogc/../source/gl.c:8:
c:/gl2gx/libogc/../source/include/glint.h:23: error: expected
specifier-qualifier-list before 'Vector'
c:/gl2gx/libogc/../source/include/glint.h:41: error: expected declaration
specifiers or '...' before 'MtxP'
c:/gl2gx/libogc/../source/include/glint.h:42: error: expected declaration
specifiers or '...' before 'Mtx44P'
c:/gl2gx/libogc/../source/include/glint.h:43: warning: type defaults to 'int'
in declaration of 'MtxP'
c:/gl2gx/libogc/../source/include/glint.h:43: error: expected ';', ',' or ')'
before 'src'
...
...
c:/gl2gx/libogc/../source/gl.c:1213: error: 'color_write_mask' undeclared
(first use in this function)
c:/gl2gx/libogc/../source/gl.c:1213: error: 'true' undeclared (first use in
this function)
c:/gl2gx/libogc/../source/gl.c:1213: error: 'false' undeclared (first use in
this function)
make[2]: *** [gl.o] Error 1
make[1]: *** [wii_release] Error 2
make[1]: Leaving directory `/c/gl2gx/libogc'
make: *** [wii-release] Error 2
Original comment by stephen.george.west
on 27 Feb 2010 at 4:00
I blogged about what I did here:
http://arikadosblog.blogspot.com/2009/08/gl2gx-compilation.html There are links
to
downloads of the source and a compilation of the library.
Original comment by castleva...@yahoo.com
on 27 Feb 2010 at 4:07
Original issue reported on code.google.com by
castleva...@yahoo.com
on 14 Aug 2009 at 5:46