Page 1 of 1

Serious problems with jpeglib.h

Posted: 15.12.2007, 04:06
by Larre
I have tried to compile celestia with VC++ 2005, and I finally got the linker errors resolved.

Now, I have a problem with the Jpeg header file, Jpeglib.h.

I don't know if I really need this file or not, Maybee delete it and just keep my images as PNG images.

Here is the errors that this file has generated:

Code: Select all

texture.cpp
.\src\jpeglib.h(632) : error C2146: syntax error : missing ';' before identifier 'sent_table'
.\src\jpeglib.h(632) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(632) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(648) : error C2146: syntax error : missing ';' before identifier 'sent_table'
.\src\jpeglib.h(648) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(648) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(698) : error C2146: syntax error : missing ';' before identifier 'component_needed'
.\src\jpeglib.h(698) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(698) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(792) : error C2146: syntax error : missing ';' before identifier 'is_decompressor'
.\src\jpeglib.h(792) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(792) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(808) : error C2146: syntax error : missing ';' before identifier 'is_decompressor'
.\src\jpeglib.h(808) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(808) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(859) : error C2146: syntax error : missing ';' before identifier 'raw_data_in'
.\src\jpeglib.h(859) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(859) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(860) : error C2146: syntax error : missing ';' before identifier 'arith_code'
.\src\jpeglib.h(860) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(860) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(861) : error C2146: syntax error : missing ';' before identifier 'optimize_coding'
.\src\jpeglib.h(861) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(861) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(862) : error C2146: syntax error : missing ';' before identifier 'CCIR601_sampling'
.\src\jpeglib.h(862) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(862) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(876) : error C2146: syntax error : missing ';' before identifier 'write_JFIF_header'
.\src\jpeglib.h(876) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(876) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(886) : error C2146: syntax error : missing ';' before identifier 'write_Adobe_marker'
.\src\jpeglib.h(886) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(886) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(902) : error C2146: syntax error : missing ';' before identifier 'progressive_mode'
.\src\jpeglib.h(902) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(902) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(952) : error C2146: syntax error : missing ';' before identifier 'is_decompressor'
.\src\jpeglib.h(952) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(952) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(976) : error C2146: syntax error : missing ';' before identifier 'buffered_image'
.\src\jpeglib.h(976) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(976) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(977) : error C2146: syntax error : missing ';' before identifier 'raw_data_out'
.\src\jpeglib.h(977) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(977) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(980) : error C2146: syntax error : missing ';' before identifier 'do_fancy_upsampling'
.\src\jpeglib.h(980) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(980) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(981) : error C2146: syntax error : missing ';' before identifier 'do_block_smoothing'
.\src\jpeglib.h(981) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(981) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(983) : error C2146: syntax error : missing ';' before identifier 'quantize_colors'
.\src\jpeglib.h(983) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(983) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(986) : error C2146: syntax error : missing ';' before identifier 'two_pass_quantize'
.\src\jpeglib.h(986) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(986) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(989) : error C2146: syntax error : missing ';' before identifier 'enable_1pass_quant'
.\src\jpeglib.h(989) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(989) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(990) : error C2146: syntax error : missing ';' before identifier 'enable_external_quant'
.\src\jpeglib.h(990) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(990) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(991) : error C2146: syntax error : missing ';' before identifier 'enable_2pass_quant'
.\src\jpeglib.h(991) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(991) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1078) : error C2146: syntax error : missing ';' before identifier 'progressive_mode'
.\src\jpeglib.h(1078) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1078) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1079) : error C2146: syntax error : missing ';' before identifier 'arith_code'
.\src\jpeglib.h(1079) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1079) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1090) : error C2146: syntax error : missing ';' before identifier 'saw_JFIF_marker'
.\src\jpeglib.h(1090) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1090) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1097) : error C2146: syntax error : missing ';' before identifier 'saw_Adobe_marker'
.\src\jpeglib.h(1097) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1097) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1100) : error C2146: syntax error : missing ';' before identifier 'CCIR601_sampling'
.\src\jpeglib.h(1100) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1100) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1258) : error C2059: syntax error : '*'
.\src\jpeglib.h(1258) : error C2091: function returns function
.\src\jpeglib.h(1258) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1258) : warning C4183: 'boolean': missing return type; assumed to be a member function returning 'int'
.\src\jpeglib.h(1269) : error C2146: syntax error : missing ';' before identifier 'start_of_file'
.\src\jpeglib.h(1269) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1269) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1275) : error C2059: syntax error : '*'
.\src\jpeglib.h(1275) : error C2091: function returns function
.\src\jpeglib.h(1275) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1275) : warning C4183: 'boolean': missing return type; assumed to be a member function returning 'int'
.\src\jpeglib.h(1277) : error C2059: syntax error : '*'
.\src\jpeglib.h(1277) : error C2091: function returns function
.\src\jpeglib.h(1277) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1277) : error C2556: 'int (__cdecl *jpeg_source_mgr::boolean(void))(j_decompress_ptr,int)' : overloaded function differs only by return type from 'int (__cdecl *jpeg_source_mgr::boolean(void))(j_decompress_ptr)'
        .\src\jpeglib.h(1275) : see declaration of 'jpeg_source_mgr::boolean'
.\src\jpeglib.h(1277) : error C2371: 'jpeg_source_mgr::boolean' : redefinition; different basic types
        .\src\jpeglib.h(1275) : see declaration of 'jpeg_source_mgr::boolean'
.\src\jpeglib.h(1277) : warning C4183: 'boolean': missing return type; assumed to be a member function returning 'int'
.\src\jpeglib.h(1318) : error C2059: syntax error : '<L_TYPE_raw>'
.\src\jpeglib.h(1318) : error C2238: unexpected token(s) preceding ';'
.\src\jpeglib.h(1324) : error C2059: syntax error : '<L_TYPE_raw>'
.\src\jpeglib.h(1324) : error C2238: unexpected token(s) preceding ';'
.\src\jpeglib.h(1330) : error C2059: syntax error : '<L_TYPE_raw>'
.\src\jpeglib.h(1330) : error C2238: unexpected token(s) preceding ';'
.\src\jpeglib.h(1335) : error C2059: syntax error : '<L_TYPE_raw>'
.\src\jpeglib.h(1335) : error C2238: unexpected token(s) preceding ';'
.\src\jpeglib.h(1354) : error C2065: 'jpeg_marker_parser_method' : undeclared identifier
.\src\jpeglib.h(1354) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1354) : error C2143: syntax error : missing ';' before '('
.\src\jpeglib.h(1354) : error C2226: syntax error : unexpected type 'j_decompress_ptr'
.\src\jpeglib.h(1354) : error C2059: syntax error : ')'
.\src\jpeglib.h(1465) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1468) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1472) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1476) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1482) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1508) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1520) : error C2146: syntax error : missing ';' before identifier 'jpeg_start_decompress'
.\src\jpeglib.h(1520) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1520) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1524) : error C2146: syntax error : missing ';' before identifier 'jpeg_finish_decompress'
.\src\jpeglib.h(1524) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1524) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1532) : error C2146: syntax error : missing ';' before identifier 'jpeg_has_multiple_scans'
.\src\jpeglib.h(1532) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1532) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1534) : error C2146: syntax error : missing ';' before identifier 'jpeg_start_output'
.\src\jpeglib.h(1534) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1534) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1535) : error C2146: syntax error : missing ';' before identifier 'jpeg_finish_output'
.\src\jpeglib.h(1535) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1535) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1536) : error C2146: syntax error : missing ';' before identifier 'jpeg_input_complete'
.\src\jpeglib.h(1536) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1536) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1557) : error C2061: syntax error : identifier 'jpeg_marker_parser_method'
.\src\jpeglib.h(1585) : error C2146: syntax error : missing ';' before identifier 'jpeg_resync_to_restart'
.\src\jpeglib.h(1585) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1585) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
image.cpp
imagecapture.cpp
.\src\jpeglib.h(632) : error C2146: syntax error : missing ';' before identifier 'sent_table'
.\src\jpeglib.h(632) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(632) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(648) : error C2146: syntax error : missing ';' before identifier 'sent_table'
.\src\jpeglib.h(648) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(648) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(698) : error C2146: syntax error : missing ';' before identifier 'component_needed'
.\src\jpeglib.h(698) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(698) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(792) : error C2146: syntax error : missing ';' before identifier 'is_decompressor'
.\src\jpeglib.h(792) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(792) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(808) : error C2146: syntax error : missing ';' before identifier 'is_decompressor'
.\src\jpeglib.h(808) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(808) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(859) : error C2146: syntax error : missing ';' before identifier 'raw_data_in'
.\src\jpeglib.h(859) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(859) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(860) : error C2146: syntax error : missing ';' before identifier 'arith_code'
.\src\jpeglib.h(860) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(860) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(861) : error C2146: syntax error : missing ';' before identifier 'optimize_coding'
.\src\jpeglib.h(861) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(861) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(862) : error C2146: syntax error : missing ';' before identifier 'CCIR601_sampling'
.\src\jpeglib.h(862) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(862) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(876) : error C2146: syntax error : missing ';' before identifier 'write_JFIF_header'
.\src\jpeglib.h(876) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(876) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(886) : error C2146: syntax error : missing ';' before identifier 'write_Adobe_marker'
.\src\jpeglib.h(886) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(886) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(902) : error C2146: syntax error : missing ';' before identifier 'progressive_mode'
.\src\jpeglib.h(902) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(902) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(952) : error C2146: syntax error : missing ';' before identifier 'is_decompressor'
.\src\jpeglib.h(952) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(952) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(976) : error C2146: syntax error : missing ';' before identifier 'buffered_image'
.\src\jpeglib.h(976) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(976) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(977) : error C2146: syntax error : missing ';' before identifier 'raw_data_out'
.\src\jpeglib.h(977) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(977) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(980) : error C2146: syntax error : missing ';' before identifier 'do_fancy_upsampling'
.\src\jpeglib.h(980) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(980) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(981) : error C2146: syntax error : missing ';' before identifier 'do_block_smoothing'
.\src\jpeglib.h(981) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(981) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(983) : error C2146: syntax error : missing ';' before identifier 'quantize_colors'
.\src\jpeglib.h(983) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(983) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(986) : error C2146: syntax error : missing ';' before identifier 'two_pass_quantize'
.\src\jpeglib.h(986) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(986) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(989) : error C2146: syntax error : missing ';' before identifier 'enable_1pass_quant'
.\src\jpeglib.h(989) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(989) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(990) : error C2146: syntax error : missing ';' before identifier 'enable_external_quant'
.\src\jpeglib.h(990) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(990) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(991) : error C2146: syntax error : missing ';' before identifier 'enable_2pass_quant'
.\src\jpeglib.h(991) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(991) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1078) : error C2146: syntax error : missing ';' before identifier 'progressive_mode'
.\src\jpeglib.h(1078) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1078) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1079) : error C2146: syntax error : missing ';' before identifier 'arith_code'
.\src\jpeglib.h(1079) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1079) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1090) : error C2146: syntax error : missing ';' before identifier 'saw_JFIF_marker'
.\src\jpeglib.h(1090) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1090) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1097) : error C2146: syntax error : missing ';' before identifier 'saw_Adobe_marker'
.\src\jpeglib.h(1097) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1097) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1100) : error C2146: syntax error : missing ';' before identifier 'CCIR601_sampling'
.\src\jpeglib.h(1100) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1100) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1258) : error C2059: syntax error : '*'
.\src\jpeglib.h(1258) : error C2091: function returns function
.\src\jpeglib.h(1258) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1258) : warning C4183: 'boolean': missing return type; assumed to be a member function returning 'int'
.\src\jpeglib.h(1269) : error C2146: syntax error : missing ';' before identifier 'start_of_file'
.\src\jpeglib.h(1269) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1269) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1275) : error C2059: syntax error : '*'
.\src\jpeglib.h(1275) : error C2091: function returns function
.\src\jpeglib.h(1275) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1275) : warning C4183: 'boolean': missing return type; assumed to be a member function returning 'int'
.\src\jpeglib.h(1277) : error C2059: syntax error : '*'
.\src\jpeglib.h(1277) : error C2091: function returns function
.\src\jpeglib.h(1277) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1277) : error C2556: 'int (__cdecl *jpeg_source_mgr::boolean(void))(j_decompress_ptr,int)' : overloaded function differs only by return type from 'int (__cdecl *jpeg_source_mgr::boolean(void))(j_decompress_ptr)'
        .\src\jpeglib.h(1275) : see declaration of 'jpeg_source_mgr::boolean'
.\src\jpeglib.h(1277) : error C2371: 'jpeg_source_mgr::boolean' : redefinition; different basic types
        .\src\jpeglib.h(1275) : see declaration of 'jpeg_source_mgr::boolean'
.\src\jpeglib.h(1277) : warning C4183: 'boolean': missing return type; assumed to be a member function returning 'int'
.\src\jpeglib.h(1318) : error C2059: syntax error : '<L_TYPE_raw>'
.\src\jpeglib.h(1318) : error C2238: unexpected token(s) preceding ';'
.\src\jpeglib.h(1324) : error C2059: syntax error : '<L_TYPE_raw>'
.\src\jpeglib.h(1324) : error C2238: unexpected token(s) preceding ';'
.\src\jpeglib.h(1330) : error C2059: syntax error : '<L_TYPE_raw>'
.\src\jpeglib.h(1330) : error C2238: unexpected token(s) preceding ';'
.\src\jpeglib.h(1335) : error C2059: syntax error : '<L_TYPE_raw>'
.\src\jpeglib.h(1335) : error C2238: unexpected token(s) preceding ';'
.\src\jpeglib.h(1354) : error C2065: 'jpeg_marker_parser_method' : undeclared identifier
.\src\jpeglib.h(1354) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1354) : error C2143: syntax error : missing ';' before '('
.\src\jpeglib.h(1354) : error C2226: syntax error : unexpected type 'j_decompress_ptr'
.\src\jpeglib.h(1354) : error C2059: syntax error : ')'
.\src\jpeglib.h(1465) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1468) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1472) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1476) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1482) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1508) : error C2061: syntax error : identifier 'boolean'
.\src\jpeglib.h(1520) : error C2146: syntax error : missing ';' before identifier 'jpeg_start_decompress'
.\src\jpeglib.h(1520) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1520) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1524) : error C2146: syntax error : missing ';' before identifier 'jpeg_finish_decompress'
.\src\jpeglib.h(1524) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1524) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1532) : error C2146: syntax error : missing ';' before identifier 'jpeg_has_multiple_scans'
.\src\jpeglib.h(1532) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1532) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1534) : error C2146: syntax error : missing ';' before identifier 'jpeg_start_output'
.\src\jpeglib.h(1534) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1534) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1535) : error C2146: syntax error : missing ';' before identifier 'jpeg_finish_output'
.\src\jpeglib.h(1535) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1535) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1536) : error C2146: syntax error : missing ';' before identifier 'jpeg_input_complete'
.\src\jpeglib.h(1536) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1536) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1557) : error C2061: syntax error : identifier 'jpeg_marker_parser_method'
.\src\jpeglib.h(1585) : error C2146: syntax error : missing ';' before identifier 'jpeg_resync_to_restart'
.\src\jpeglib.h(1585) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\jpeglib.h(1585) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\src\celestia\imagecapture.cpp(92) : error C2660: 'jpeg_start_compress' : function does not take 2 arguments


Hope you guys can help with this..

Peace, Larre.. :?