png syntax error?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Rangu2057
Posts: 87
Joined: Mon Jul 23, 2007 8:37 am
Location: wilmington, NC

png syntax error?

Post by Rangu2057 »

im currently working on a game right now and other things, but i ran into a problem using libpng,

Code: Select all

C:/pspdev/psp/sdk/include/png.h(1120) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1121) : error: syntax error before 'irowbytes'
C:/pspdev/psp/sdk/include/png.h(1121) : warning: type defaults to 'int' in decla
ration of 'irowbytes'
C:/pspdev/psp/sdk/include/png.h(1121) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1122) : error: syntax error before 'iwidth'
C:/pspdev/psp/sdk/include/png.h(1122) : warning: type defaults to 'int' in decla
ration of 'iwidth'
C:/pspdev/psp/sdk/include/png.h(1122) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1123) : error: syntax error before 'row_number'
C:/pspdev/psp/sdk/include/png.h(1123) : warning: type defaults to 'int' in decla
ration of 'row_number'
C:/pspdev/psp/sdk/include/png.h(1123) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1124) : error: syntax error before 'prev_row'
C:/pspdev/psp/sdk/include/png.h(1124) : warning: type defaults to 'int' in decla
ration of 'prev_row'
C:/pspdev/psp/sdk/include/png.h(1124) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1125) : error: syntax error before 'row_buf'
C:/pspdev/psp/sdk/include/png.h(1125) : warning: type defaults to 'int' in decla
ration of 'row_buf'
C:/pspdev/psp/sdk/include/png.h(1125) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1126) : error: syntax error before 'sub_row'
C:/pspdev/psp/sdk/include/png.h(1126) : warning: type defaults to 'int' in decla
ration of 'sub_row'
C:/pspdev/psp/sdk/include/png.h(1126) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1127) : error: syntax error before 'up_row'
C:/pspdev/psp/sdk/include/png.h(1127) : warning: type defaults to 'int' in decla
ration of 'up_row'
C:/pspdev/psp/sdk/include/png.h(1127) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1128) : error: syntax error before 'avg_row'
C:/pspdev/psp/sdk/include/png.h(1128) : warning: type defaults to 'int' in decla
ration of 'avg_row'
C:/pspdev/psp/sdk/include/png.h(1128) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1129) : error: syntax error before 'paeth_row'
C:/pspdev/psp/sdk/include/png.h(1129) : warning: type defaults to 'int' in decla
ration of 'paeth_row'
C:/pspdev/psp/sdk/include/png.h(1129) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1130) : error: syntax error before 'row_info'
C:/pspdev/psp/sdk/include/png.h(1130) : warning: type defaults to 'int' in decla
ration of 'row_info'
C:/pspdev/psp/sdk/include/png.h(1130) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1132) : error: syntax error before 'idat_size'
C:/pspdev/psp/sdk/include/png.h(1132) : warning: type defaults to 'int' in decla
ration of 'idat_size'
C:/pspdev/psp/sdk/include/png.h(1132) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1133) : error: syntax error before 'crc'
C:/pspdev/psp/sdk/include/png.h(1133) : warning: type defaults to 'int' in decla
ration of 'crc'
C:/pspdev/psp/sdk/include/png.h(1133) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1134) : error: syntax error before 'palette'
C:/pspdev/psp/sdk/include/png.h(1134) : warning: type defaults to 'int' in decla
ration of 'palette'
C:/pspdev/psp/sdk/include/png.h(1134) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1135) : error: syntax error before 'num_palette'

C:/pspdev/psp/sdk/include/png.h(1135) : warning: type defaults to 'int' in decla
ration of 'num_palette'
C:/pspdev/psp/sdk/include/png.h(1135) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1136) : error: syntax error before 'num_trans'
C:/pspdev/psp/sdk/include/png.h(1136) : warning: type defaults to 'int' in decla
ration of 'num_trans'
C:/pspdev/psp/sdk/include/png.h(1136) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1137) : error: syntax error before 'chunk_name'
C:/pspdev/psp/sdk/include/png.h(1137) : warning: type defaults to 'int' in decla
ration of 'chunk_name'
C:/pspdev/psp/sdk/include/png.h(1137) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1138) : error: syntax error before 'compression'

C:/pspdev/psp/sdk/include/png.h(1138) : warning: type defaults to 'int' in decla
ration of 'compression'
C:/pspdev/psp/sdk/include/png.h(1138) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1139) : error: syntax error before 'filter'
C:/pspdev/psp/sdk/include/png.h(1139) : warning: type defaults to 'int' in decla
ration of 'filter'
C:/pspdev/psp/sdk/include/png.h(1139) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1140) : error: syntax error before 'interlaced'
C:/pspdev/psp/sdk/include/png.h(1140) : warning: type defaults to 'int' in decla
ration of 'interlaced'
C:/pspdev/psp/sdk/include/png.h(1140) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1141) : error: syntax error before 'pass'
C:/pspdev/psp/sdk/include/png.h(1141) : warning: type defaults to 'int' in decla
ration of 'pass'
C:/pspdev/psp/sdk/include/png.h(1141) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1142) : error: syntax error before 'do_filter'
C:/pspdev/psp/sdk/include/png.h(1142) : warning: type defaults to 'int' in decla
ration of 'do_filter'
C:/pspdev/psp/sdk/include/png.h(1142) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1143) : error: syntax error before 'color_type'
C:/pspdev/psp/sdk/include/png.h(1143) : warning: type defaults to 'int' in decla
ration of 'color_type'
C:/pspdev/psp/sdk/include/png.h(1143) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1144) : error: syntax error before 'bit_depth'
C:/pspdev/psp/sdk/include/png.h(1144) : warning: type defaults to 'int' in decla
ration of 'bit_depth'
C:/pspdev/psp/sdk/include/png.h(1144) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1145) : error: syntax error before 'usr_bit_dept
h'
C:/pspdev/psp/sdk/include/png.h(1145) : warning: type defaults to 'int' in decla
ration of 'usr_bit_depth'
C:/pspdev/psp/sdk/include/png.h(1145) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1146) : error: syntax error before 'pixel_depth'

C:/pspdev/psp/sdk/include/png.h(1146) : warning: type defaults to 'int' in decla
ration of 'pixel_depth'
C:/pspdev/psp/sdk/include/png.h(1146) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1147) : error: syntax error before 'channels'
C:/pspdev/psp/sdk/include/png.h(1147) : warning: type defaults to 'int' in decla
ration of 'channels'
C:/pspdev/psp/sdk/include/png.h(1147) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1148) : error: syntax error before 'usr_channels
'
C:/pspdev/psp/sdk/include/png.h(1148) : warning: type defaults to 'int' in decla
ration of 'usr_channels'
C:/pspdev/psp/sdk/include/png.h(1148) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1149) : error: syntax error before 'sig_bytes'
C:/pspdev/psp/sdk/include/png.h(1149) : warning: type defaults to 'int' in decla
ration of 'sig_bytes'
C:/pspdev/psp/sdk/include/png.h(1149) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1207) : error: syntax error before 'read_row_fn'

C:/pspdev/psp/sdk/include/png.h(1207) : warning: type defaults to 'int' in decla
ration of 'read_row_fn'
C:/pspdev/psp/sdk/include/png.h(1207) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1208) : error: syntax error before 'write_row_fn
'
C:/pspdev/psp/sdk/include/png.h(1208) : warning: type defaults to 'int' in decla
ration of 'write_row_fn'
C:/pspdev/psp/sdk/include/png.h(1208) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1334) : error: syntax error before 'big_row_buf'

C:/pspdev/psp/sdk/include/png.h(1334) : warning: type defaults to 'int' in decla
ration of 'big_row_buf'
C:/pspdev/psp/sdk/include/png.h(1334) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1346) : error: syntax error before 'compression_
type'
C:/pspdev/psp/sdk/include/png.h(1346) : warning: type defaults to 'int' in decla
ration of 'compression_type'
C:/pspdev/psp/sdk/include/png.h(1346) : warning: data definition has no type or
storage class
C:/pspdev/psp/sdk/include/png.h(1370) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1375) : error: syntax error before 'png_set_sig_
bytes'
C:/pspdev/psp/sdk/include/png.h(1383) : error: syntax error before 'png_sig_cmp'

C:/pspdev/psp/sdk/include/png.h(1389) : error: syntax error before 'png_check_si
g'
C:/pspdev/psp/sdk/include/png.h(1392) : error: syntax error before 'png_create_r
ead_struct'
C:/pspdev/psp/sdk/include/png.h(1397) : error: syntax error before 'png_create_w
rite_struct'
C:/pspdev/psp/sdk/include/png.h(1412) : error: syntax error before 'png_reset_zs
tream'
C:/pspdev/psp/sdk/include/png.h(1427) : error: syntax error before 'png_write_ch
unk'
C:/pspdev/psp/sdk/include/png.h(1431) : error: syntax error before 'png_write_ch
unk_start'
C:/pspdev/psp/sdk/include/png.h(1435) : error: syntax error before 'png_write_ch
unk_data'
C:/pspdev/psp/sdk/include/png.h(1439) : error: syntax error before 'png_write_ch
unk_end'
C:/pspdev/psp/sdk/include/png.h(1443) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1446) : error: syntax error before 'png_info_ini
t'
C:/pspdev/psp/sdk/include/png.h(1450) : error: syntax error before 'png_info_ini
t_3'
C:/pspdev/psp/sdk/include/png.h(1454) : error: syntax error before 'png_write_in
fo_before_PLTE'
C:/pspdev/psp/sdk/include/png.h(1456) : error: syntax error before 'png_write_in
fo'
C:/pspdev/psp/sdk/include/png.h(1461) : error: syntax error before 'png_read_inf
o'
C:/pspdev/psp/sdk/include/png.h(1513) : error: syntax error before 'png_build_gr
ayscale_palette'
C:/pspdev/psp/sdk/include/png.h(1625) : error: syntax error before 'png_start_re
ad_image'
C:/pspdev/psp/sdk/include/png.h(1628) : error: syntax error before 'png_read_upd
ate_info'
C:/pspdev/psp/sdk/include/png.h(1633) : error: syntax error before 'png_read_row
s'
C:/pspdev/psp/sdk/include/png.h(1639) : error: syntax error before 'png_read_row
'
C:/pspdev/psp/sdk/include/png.h(1646) : error: syntax error before 'png_read_ima
ge'
C:/pspdev/psp/sdk/include/png.h(1651) : error: syntax error before 'png_write_ro
w'
C:/pspdev/psp/sdk/include/png.h(1655) : error: syntax error before 'png_write_ro
ws'
C:/pspdev/psp/sdk/include/png.h(1659) : error: syntax error before 'png_write_im
age'
C:/pspdev/psp/sdk/include/png.h(1663) : error: syntax error before 'png_write_en
d'
C:/pspdev/psp/sdk/include/png.h(1668) : error: syntax error before 'png_read_end
'
C:/pspdev/psp/sdk/include/png.h(1673) : error: syntax error before 'png_destroy_
info_struct'
C:/pspdev/psp/sdk/include/png.h(1677) : error: syntax error before 'png_destroy_
read_struct'
C:/pspdev/psp/sdk/include/png.h(1681) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1685) : error: syntax error before 'png_destroy_
write_struct'
C:/pspdev/psp/sdk/include/png.h(1689) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1692) : error: syntax error before 'png_set_crc_
action'
C:/pspdev/psp/sdk/include/png.h(1722) : error: syntax error before 'png_set_filt
er'
C:/pspdev/psp/sdk/include/png.h(1800) : error: syntax error before 'png_set_comp
ression_level'
C:/pspdev/psp/sdk/include/png.h(1803) : error: syntax error before 'png_set_comp
ression_mem_level'
C:/pspdev/psp/sdk/include/png.h(1806) : error: syntax error before 'png_set_comp
ression_strategy'
C:/pspdev/psp/sdk/include/png.h(1809) : error: syntax error before 'png_set_comp
ression_window_bits'
C:/pspdev/psp/sdk/include/png.h(1812) : error: syntax error before 'png_set_comp
ression_method'
C:/pspdev/psp/sdk/include/png.h(1826) : error: syntax error before 'png_init_io'

C:/pspdev/psp/sdk/include/png.h(1837) : error: syntax error before 'png_set_erro
r_fn'
C:/pspdev/psp/sdk/include/png.h(1841) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1848) : error: syntax error before 'png_set_writ
e_fn'
C:/pspdev/psp/sdk/include/png.h(1852) : error: syntax error before 'png_set_read
_fn'
C:/pspdev/psp/sdk/include/png.h(1856) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1858) : error: syntax error before 'png_set_read
_status_fn'
C:/pspdev/psp/sdk/include/png.h(1861) : error: syntax error before 'png_set_writ
e_status_fn'
C:/pspdev/psp/sdk/include/png.h(1926) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1933) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1938) : error: syntax error before 'png_free'
C:/pspdev/psp/sdk/include/png.h(1950) : error: syntax error before 'png_free_dat
a'
C:/pspdev/psp/sdk/include/png.h(1984) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1987) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(1996) : error: syntax error before 'png_error'
C:/pspdev/psp/sdk/include/png.h(2000) : error: syntax error before 'png_chunk_er
ror'
C:/pspdev/psp/sdk/include/png.h(2004) : error: syntax error before 'png_warning'

C:/pspdev/psp/sdk/include/png.h(2008) : error: syntax error before 'png_chunk_wa
rning'
C:/pspdev/psp/sdk/include/png.h(2024) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2028) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2043) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2102) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2174) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2179) : error: syntax error before 'png_set_IHDR
'
C:/pspdev/psp/sdk/include/png.h(2218) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2221) : error: syntax error before 'png_set_PLTE
'
C:/pspdev/psp/sdk/include/png.h(2364) : error: syntax error before 'png_set_inva
lid'
C:/pspdev/psp/sdk/include/png.h(2430) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2432) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2433) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2434) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2435) : error: syntax error before 'PNGARG'
C:/pspdev/psp/sdk/include/png.h(2511) : error: syntax error before 'png_mmx_supp
ort'
im not really sure what the problem is as i had it working before[/code]
the questions of today are awnswered by the blood and bullets of tomorrow! ---EagleEye--- (Socom FTB2)
Pirata Nervo
Posts: 409
Joined: Tue Oct 09, 2007 4:22 am

Post by Pirata Nervo »

Try installing libpng ;)
Image
Upgrade your PSP
Rangu2057
Posts: 87
Joined: Mon Jul 23, 2007 8:37 am
Location: wilmington, NC

Post by Rangu2057 »

whoops, i forgot to reinstall it, thanks :)
the questions of today are awnswered by the blood and bullets of tomorrow! ---EagleEye--- (Socom FTB2)
Post Reply