<div class="gmail_quote">Hi,<br><br>I am trying to compile digikam on my MacBookPro5,5 running OS X 10.5.8 using macports and I am getting the following compilation errors:<br><br>:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'void Digikam::do_flip_h_no_crop(jpeg_decompress_struct*, jpeg_compress_struct*, JDIMENSION, jvirt_barray_control**)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:151: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'void Digikam::do_flip_h(jpeg_decompress_struct*, jpeg_compress_struct*, JDIMENSION, JDIMENSION, jvirt_barray_control**, jvirt_barray_control**)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:217: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'void Digikam::do_flip_v(jpeg_decompress_struct*, jpeg_compress_struct*, JDIMENSION, JDIMENSION, jvirt_barray_control**, jvirt_barray_control**)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:282: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'void Digikam::do_rot_90(jpeg_decompress_struct*, jpeg_compress_struct*, JDIMENSION, JDIMENSION, jvirt_barray_control**, jvirt_barray_control**)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:410: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'void Digikam::do_rot_270(jpeg_decompress_struct*, jpeg_compress_struct*, JDIMENSION, JDIMENSION, jvirt_barray_control**, jvirt_barray_control**)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:491: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'void Digikam::do_rot_180(jpeg_decompress_struct*, jpeg_compress_struct*, JDIMENSION, JDIMENSION, jvirt_barray_control**, jvirt_barray_control**)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:559: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:561: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'void Digikam::do_transverse(jpeg_decompress_struct*, jpeg_compress_struct*, JDIMENSION, JDIMENSION, jvirt_barray_control**, jvirt_barray_control**)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:670: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:672: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'boolean Digikam::jtransform_request_workspace(jpeg_decompress_struct*, Digikam::jpeg_transform_info*)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:906: error: 'jpeg_core_output_dimensions' was not declared in this scope<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:914: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:915: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:921: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:922: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:941: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:942: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:945: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:947: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:954: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:955: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:958: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:960: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:976: error: 'JERR_BAD_CROP_SPEC' was not declared in this scope<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:986: error: 'JERR_BAD_CROP_SPEC' was not declared in this scope<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'void Digikam::transpose_critical_parameters(jpeg_compress_struct*)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:1127: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:1128: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_h_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:1128: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:1129: error: 'struct jpeg_compress_struct' has no member named 'min_DCT_v_scaled_size'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp: In function 'jvirt_barray_control** Digikam::jtransform_adjust_parameters(jpeg_decompress_struct*, jpeg_compress_struct*, jvirt_barray_control**, Digikam::jpeg_transform_info*)':<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:1365: error: 'struct jpeg_compress_struct' has no member named 'jpeg_width'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:1393: error: 'struct jpeg_compress_struct' has no member named 'jpeg_width'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:1394: error: 'struct jpeg_compress_struct' has no member named 'jpeg_height'<br>

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/work/digikam-1.8.0/libs/jpegutils/libjpeg-80/transupp.cpp:1398: error: 'struct jpeg_compress_struct' has no member named 'jpeg_width'<br>

:info:build make[2]: *** [digikam/CMakeFiles/digikamcore.dir/__/libs/jpegutils/libjpeg-80/transupp.o] Error 1<br>:info:build make[2]: *** Waiting for unfinished jobs....<br>:info:build make[1]: *** [digikam/CMakeFiles/digikamcore.dir/all] Error 2<br>

:info:build make: *** [all] Error 2<br><br>I tried to check some of the errors, and it really seems that the definition of jpeg_compress_struct does not have the members used in transupp.cpp.<br><br>Does anybody know what could be wrong here and how I could fix it? <br>

It seems to me like a mismatch between the version of jpeg_compress_struct and transupp.cpp, however I am not used to these libraries at all...<br><br>I would appreciate any hint!<br><br>Thanks<br><font color="#888888">Matthias<br>

</font></div><br>