[Digikam-users] Re: Problems compiling digikam on Mac

Gilles Caulier caulier.gilles at gmail.com
Thu Apr 28 11:21:32 BST 2011


on my macbook i can compile it using macport.

But i don't updated port package since one month.

The important part to check is libjpeg. I sound like you use 8.0. Can
you take a look ?

Gilles Caulier

2011/4/28 Matthias Feurer <feurer.matthias at googlemail.com>:
> Hi,
>
> 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:
>
> :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**)':
> :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'
> :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**)':
> :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'
> :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**)':
> :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'
> :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**)':
> :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'
> :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**)':
> :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'
> :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**)':
> :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'
> :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'
> :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**)':
> :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'
> :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'
> :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*)':
> :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
> :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'
> :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'
> :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'
> :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'
> :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'
> :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'
> :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'
> :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'
> :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'
> :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'
> :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'
> :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'
> :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
> :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
> :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*)':
> :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'
> :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'
> :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'
> :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'
> :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*)':
> :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'
> :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'
> :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'
> :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'
> :info:build make[2]: ***
> [digikam/CMakeFiles/digikamcore.dir/__/libs/jpegutils/libjpeg-80/transupp.o]
> Error 1
> :info:build make[2]: *** Waiting for unfinished jobs....
> :info:build make[1]: *** [digikam/CMakeFiles/digikamcore.dir/all] Error 2
> :info:build make: *** [all] Error 2
>
> 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.
>
> Does anybody know what could be wrong here and how I could fix it?
> 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...
>
> I would appreciate any hint!
>
> Thanks
> Matthias
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>



More information about the Digikam-users mailing list