Everytime when I go to compile the current rev of GenPlus-GX Wii, I get a bunch of errors. I made sure all the ppc are there. Source has not been modified.
Errors
Errors
C:\devkitPro\emulators\genplus-gx>make -f Makefile.wii
gx_video.c
In file included from c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:46:
0:
Errors are the same as GC
C:\devkitPro\emulators\genplus-gx>make -f Makefile.gc
gx_video.c
In file included from c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:46: 0:
c:/devkitPro/portlibs/ppc/include/png.h:1:9: error: expected '=', ',', ';', 'asm ' or '__attribute__' before '/' token
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:60:3: warning: data defin
ition has no type or storage class [enabled by default]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:60:3: warning: type defaults to 'int' in declaration of 'png_image' [-Wimplicit-int]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1010:32: error: unknown type name 'png_structp'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1010:53: error: unknown type name 'png_bytep'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1010:69: error: unknown type name 'png_size_t'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c: In function 'gxTextureOpenPNG':
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1027:3: error: unknown type name 'png_structp'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1027:3: warning: implicit declaration of function 'png_create_read_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1027:48: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1027:48: note: each undeclared identifier is reported only once for each function it appears in
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1031:3: error: unknown type name 'png_infop'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1031:3: warning: implicit declaration of function 'png_create_info_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1034:5: warning: implicit declaration of function 'png_destroy_read_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1041:5: warning: statement with no effect [-Wunused-value]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1041:15: error: expected ';' before 'image'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1042:5: error: 'image' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1046:5: warning: implicit declaration of function 'png_set_read_fn' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1046:30: error: 'png_voidp' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1046:41: error: expected expression before ')' token
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1046:51: error: 'png_read_from_mem' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1051:5: error: unknown type name 'png_byte'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1058:5: warning: implicit declaration of function 'png_sig_cmp' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1065:5: warning: implicit declaration of function 'png_init_io' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1066:5: warning: implicit declaration of function 'png_set_sig_bytes' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1075:3: warning: implicit declaration of function 'png_read_info' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1078:3: warning: implicit declaration of function 'png_get_image_width' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1079:3: warning: implicit declaration of function 'png_get_image_height' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1080:3: warning: implicit declaration of function 'png_get_bit_depth' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1081:3: warning: implicit declaration of function 'png_get_color_type' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1087:24: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1111:3: error: unknown type name 'png_bytep'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1111:30: error: 'png_bytep' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1111:41: error: expected expression before ')' token
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1122:21: warning: assignment makes integer from pointer without a cast [enabled by default]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1126:3: warning: implicit declaration of function 'png_read_image' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1129:3: warning: implicit declaration of function 'png_read_end' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c: In function 'gxTextureWritePNG':
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1290:3: error: unknown type name 'png_structp'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1290:3: warning: implicit declaration of function 'png_create_write_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1290:49: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1298:3: error: unknown type name 'png_infop'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1302:5: warning: implicit declaration of function 'png_destroy_write_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1310:3: warning: implicit declaration of function 'png_set_IHDR' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1310:71: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1311:16: error: 'PNG_INTERLACE_NONE' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1311:36: error: 'PNG_COMPRESSION_TYPE_DEFAULT' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1311:66: error: 'PNG_FILTER_TYPE_DEFAULT' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1314:3: error: unknown type name 'png_bytep'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1314:30: error: 'png_byte p' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1314:41: error: expected expression before ')' token
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1325:21: warning: assignment makes integer from pointer without a cast [enabled by default]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1329:3: warning: implicit declaration of function 'png_set_rows' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1332:3: warning: implicit declaration of function 'png_write_png' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1332:34: error: 'PNG_TRANSFORM_IDENTITY' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1335:3: warning: implicit declaration of function 'png_write_end' [-Wimplicit-function-declaration]
make[1]: *** [gx_video.o] Error 1
make: *** [build_cube] Error 2
C:\devkitPro\emulators\genplus-gx>rm *.elf
rm: cannot lstat `*.elf': No such file or directory
C:\devkitPro\emulators\genplus-gx>cp genplus_wii.dol boot.dol
cp: cannot stat `genplus_wii.dol': No such file or directory
C:\devkitPro\emulators\genplus-gx>pause
Press any key to continue . . .
gx_video.c
In file included from c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:46:
0:
Errors are the same as GC
C:\devkitPro\emulators\genplus-gx>make -f Makefile.gc
gx_video.c
In file included from c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:46: 0:
c:/devkitPro/portlibs/ppc/include/png.h:1:9: error: expected '=', ',', ';', 'asm ' or '__attribute__' before '/' token
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:60:3: warning: data defin
ition has no type or storage class [enabled by default]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:60:3: warning: type defaults to 'int' in declaration of 'png_image' [-Wimplicit-int]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1010:32: error: unknown type name 'png_structp'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1010:53: error: unknown type name 'png_bytep'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1010:69: error: unknown type name 'png_size_t'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c: In function 'gxTextureOpenPNG':
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1027:3: error: unknown type name 'png_structp'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1027:3: warning: implicit declaration of function 'png_create_read_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1027:48: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1027:48: note: each undeclared identifier is reported only once for each function it appears in
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1031:3: error: unknown type name 'png_infop'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1031:3: warning: implicit declaration of function 'png_create_info_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1034:5: warning: implicit declaration of function 'png_destroy_read_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1041:5: warning: statement with no effect [-Wunused-value]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1041:15: error: expected ';' before 'image'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1042:5: error: 'image' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1046:5: warning: implicit declaration of function 'png_set_read_fn' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1046:30: error: 'png_voidp' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1046:41: error: expected expression before ')' token
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1046:51: error: 'png_read_from_mem' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1051:5: error: unknown type name 'png_byte'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1058:5: warning: implicit declaration of function 'png_sig_cmp' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1065:5: warning: implicit declaration of function 'png_init_io' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1066:5: warning: implicit declaration of function 'png_set_sig_bytes' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1075:3: warning: implicit declaration of function 'png_read_info' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1078:3: warning: implicit declaration of function 'png_get_image_width' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1079:3: warning: implicit declaration of function 'png_get_image_height' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1080:3: warning: implicit declaration of function 'png_get_bit_depth' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1081:3: warning: implicit declaration of function 'png_get_color_type' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1087:24: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1111:3: error: unknown type name 'png_bytep'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1111:30: error: 'png_bytep' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1111:41: error: expected expression before ')' token
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1122:21: warning: assignment makes integer from pointer without a cast [enabled by default]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1126:3: warning: implicit declaration of function 'png_read_image' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1129:3: warning: implicit declaration of function 'png_read_end' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c: In function 'gxTextureWritePNG':
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1290:3: error: unknown type name 'png_structp'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1290:3: warning: implicit declaration of function 'png_create_write_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1290:49: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1298:3: error: unknown type name 'png_infop'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1302:5: warning: implicit declaration of function 'png_destroy_write_struct' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1310:3: warning: implicit declaration of function 'png_set_IHDR' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1310:71: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1311:16: error: 'PNG_INTERLACE_NONE' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1311:36: error: 'PNG_COMPRESSION_TYPE_DEFAULT' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1311:66: error: 'PNG_FILTER_TYPE_DEFAULT' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1314:3: error: unknown type name 'png_bytep'
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1314:30: error: 'png_byte p' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1314:41: error: expected expression before ')' token
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1325:21: warning: assignment makes integer from pointer without a cast [enabled by default]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1329:3: warning: implicit declaration of function 'png_set_rows' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1332:3: warning: implicit declaration of function 'png_write_png' [-Wimplicit-function-declaration]
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1332:34: error: 'PNG_TRANSFORM_IDENTITY' undeclared (first use in this function)
c:/devkitPro/emulators/genplus-gx/source/gx/gx_video.c:1335:3: warning: implicit declaration of function 'png_write_end' [-Wimplicit-function-declaration]
make[1]: *** [gx_video.o] Error 1
make: *** [build_cube] Error 2
C:\devkitPro\emulators\genplus-gx>rm *.elf
rm: cannot lstat `*.elf': No such file or directory
C:\devkitPro\emulators\genplus-gx>cp genplus_wii.dol boot.dol
cp: cannot stat `genplus_wii.dol': No such file or directory
C:\devkitPro\emulators\genplus-gx>pause
Press any key to continue . . .