libjpeg-turbo

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

libjpeg-turbo

Bartek Pietrasiak
Hi,

Is it possible to compile digikam with libjpeg-turbo (Fedora 14)? I have

libjpeg-turbo-devel-1.1.0-2.fc14.i686
libjpeg-turbo-1.1.0-2.fc14.i686

and get the following error:

[ 44%] Building CXX object extra/kipi-plugins/printimages/CMakeFiles/kipiplugin_printimages.dir/wizard/printhelper.cpp.o
[ 44%] Building CXX object core/digikam/CMakeFiles/digikamcore.dir/__/libs/jpegutils/libjpeg-80/transupp.cpp.o
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:151:44: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:217:44: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:282:44: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:410:44: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:491:44: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:559:44: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:561:44: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:670:44: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:672:44: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp: In function ‘boolean Digikam::jtransform_request_workspace(jpeg_decompress_struct*, Digikam::jpeg_transform_info*)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:906:38: error: ‘jpeg_core_output_dimensions’ was not declared in this scope
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:914:13: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:915:13: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:921:42: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:922:42: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:941:42: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:942:43: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:945:40: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:947:40: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:954:42: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:955:43: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:958:40: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:960:40: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp: In function ‘void Digikam::transpose_critical_parameters(jpeg_compress_struct*)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1127:20: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1128:12: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_h_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1128:45: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1129:12: error: ‘struct jpeg_compress_struct’ has no member named ‘min_DCT_v_scaled_size’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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*)’:
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1365:12: error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_width’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1366:12: error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_height’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1393:18: error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_width’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1394:11: error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_height’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1398:11: error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_width’
/home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1398:32: error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_height’
make[2]: *** [core/digikam/CMakeFiles/digikamcore.dir/__/libs/jpegutils/libjpeg-80/transupp.cpp.o] Error 1
make[1]: *** [core/digikam/CMakeFiles/digikamcore.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 44%] Building CXX object extra/kipi-plugins/printimages/CMakeFiles/kipiplugin_printimages.dir/wizard/customdlg.cpp.o
[ 44%] Building CXX object extra/kipi-plugins/printimages/CMakeFiles/kipiplugin_printimages.dir/printimagesconfig.cpp.o
Linking CXX shared module ../../../lib/kipiplugin_printimages.so
[ 44%] Built target kipiplugin_printimages
make: *** [all] Error 2


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: libjpeg-turbo

Philip Johnsson
I gave up on this and forced digikam to build against libjpeg-62 on
Fedora 14. Didn't give it much effort though as I only wanted to build
on Fedora to compare with Ubuntu. The official Fedora package for
Digikam 1.9 have a patch for CMakeLists.txt forcing this if you look
in digikam-1.9.0-1.fc14.src.rpm. You can use the same method with 2.0
beta too.

Would be interesting if this is the right approach for 2.0 too in the long run.

/Philip


On Sun, May 15, 2011 at 4:20 PM, Bartek Pietrasiak <[hidden email]> wrote:

> Hi,
>
> Is it possible to compile digikam with libjpeg-turbo (Fedora 14)? I have
>
> libjpeg-turbo-devel-1.1.0-2.fc14.i686
> libjpeg-turbo-1.1.0-2.fc14.i686
>
> and get the following error:
>
> [ 44%] Building CXX object
> extra/kipi-plugins/printimages/CMakeFiles/kipiplugin_printimages.dir/wizard/printhelper.cpp.o
> [ 44%] Building CXX object
> core/digikam/CMakeFiles/digikamcore.dir/__/libs/jpegutils/libjpeg-80/transupp.cpp.o
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:151:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:217:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:282:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:410:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:491:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:559:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:561:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:670:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:672:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:
> In function ‘boolean
> Digikam::jtransform_request_workspace(jpeg_decompress_struct*,
> Digikam::jpeg_transform_info*)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:906:38:
> error: ‘jpeg_core_output_dimensions’ was not declared in this scope
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:914:13:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:915:13:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:921:42:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:922:42:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:941:42:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:942:43:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:945:40:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:947:40:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:954:42:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:955:43:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:958:40:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:960:40:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:
> In function ‘void
> Digikam::transpose_critical_parameters(jpeg_compress_struct*)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1127:20:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1128:12:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1128:45:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1129:12:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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*)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1365:12:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_width’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1366:12:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_height’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1393:18:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_width’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1394:11:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_height’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1398:11:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_width’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1398:32:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_height’
> make[2]: ***
> [core/digikam/CMakeFiles/digikamcore.dir/__/libs/jpegutils/libjpeg-80/transupp.cpp.o]
> Error 1
> make[1]: *** [core/digikam/CMakeFiles/digikamcore.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> [ 44%] Building CXX object
> extra/kipi-plugins/printimages/CMakeFiles/kipiplugin_printimages.dir/wizard/customdlg.cpp.o
> [ 44%] Building CXX object
> extra/kipi-plugins/printimages/CMakeFiles/kipiplugin_printimages.dir/printimagesconfig.cpp.o
> Linking CXX shared module ../../../lib/kipiplugin_printimages.so
> [ 44%] Built target kipiplugin_printimages
> make: *** [all] Error 2
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: libjpeg-turbo

Bartek Pietrasiak
Thanks for the hint. Detecting the libjpeg version, which is in the patch, is already commited in the sources, but it still detects libjpeg-80 on Fedora 14. Setting it to libjpeg-62 in CMakeList.txt makes the compilation go on. Will see what next ;)

R.,
Bartek

2011/5/15 Philip Johnsson <[hidden email]>
I gave up on this and forced digikam to build against libjpeg-62 on
Fedora 14. Didn't give it much effort though as I only wanted to build
on Fedora to compare with Ubuntu. The official Fedora package for
Digikam 1.9 have a patch for CMakeLists.txt forcing this if you look
in digikam-1.9.0-1.fc14.src.rpm. You can use the same method with 2.0
beta too.

Would be interesting if this is the right approach for 2.0 too in the long run.

/Philip


On Sun, May 15, 2011 at 4:20 PM, Bartek Pietrasiak <[hidden email]> wrote:
> Hi,
>
> Is it possible to compile digikam with libjpeg-turbo (Fedora 14)? I have
>
> libjpeg-turbo-devel-1.1.0-2.fc14.i686
> libjpeg-turbo-1.1.0-2.fc14.i686
>
> and get the following error:
>
> [ 44%] Building CXX object
> extra/kipi-plugins/printimages/CMakeFiles/kipiplugin_printimages.dir/wizard/printhelper.cpp.o
> [ 44%] Building CXX object
> core/digikam/CMakeFiles/digikamcore.dir/__/libs/jpegutils/libjpeg-80/transupp.cpp.o
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:151:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:217:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:282:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:410:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:491:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:559:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:561:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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**)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:670:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:672:44:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:
> In function ‘boolean
> Digikam::jtransform_request_workspace(jpeg_decompress_struct*,
> Digikam::jpeg_transform_info*)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:906:38:
> error: ‘jpeg_core_output_dimensions’ was not declared in this scope
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:914:13:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:915:13:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:921:42:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:922:42:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:941:42:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:942:43:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:945:40:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:947:40:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:954:42:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:955:43:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:958:40:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:960:40:
> error: ‘struct jpeg_decompress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:
> In function ‘void
> Digikam::transpose_critical_parameters(jpeg_compress_struct*)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1127:20:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1128:12:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_h_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1128:45:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1129:12:
> error: ‘struct jpeg_compress_struct’ has no member named
> ‘min_DCT_v_scaled_size’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/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*)’:
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1365:12:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_width’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1366:12:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_height’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1393:18:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_width’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1394:11:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_height’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1398:11:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_width’
> /home/uzer/projects/os/digikam-sc/digikam-software-compilation/core/libs/jpegutils/libjpeg-80/transupp.cpp:1398:32:
> error: ‘struct jpeg_compress_struct’ has no member named ‘jpeg_height’
> make[2]: ***
> [core/digikam/CMakeFiles/digikamcore.dir/__/libs/jpegutils/libjpeg-80/transupp.cpp.o]
> Error 1
> make[1]: *** [core/digikam/CMakeFiles/digikamcore.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> [ 44%] Building CXX object
> extra/kipi-plugins/printimages/CMakeFiles/kipiplugin_printimages.dir/wizard/customdlg.cpp.o
> [ 44%] Building CXX object
> extra/kipi-plugins/printimages/CMakeFiles/kipiplugin_printimages.dir/printimagesconfig.cpp.o
> Linking CXX shared module ../../../lib/kipiplugin_printimages.so
> [ 44%] Built target kipiplugin_printimages
> make: *** [all] Error 2
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users