error while compiling digikam

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

error while compiling digikam

Sayantan Datta
hi,

i was compiling digikam using 

cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DKDE4_BUILD_TESTS=on ..
make 

but i received an error

[ 81%] Building CXX object core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o
/home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp: In member function ‘virtual bool Digikam::UMSCamera::getThumbnail(const QString&, const QString&, QImage&)’:
/home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:227:5: error: ‘loadRawPreview’ is not a member of ‘KDcrawIface::KDcraw’
make[2]: *** [core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o] Error 1
make[1]: *** [core/utilities/importui/CMakeFiles/importui.dir/all] Error 2
make: *** [all] Error 2


How do i fix it? :(

Attached is a text file for the detailed output


-----------------------------------------------------------------
Sayantan Datta
Junior Year
National Institute of Technology, Durgapur
Phone : (+91) 9564370661
IRC : kenzo450D on #fedora, #nitdgplug, #kde

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

error received.txt (35K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: error while compiling digikam

harsh agrawal
Hi,

I think you need to install a newer version of libjpeg, to build a
more recent version of libkdcraw.
Here is a link to get the latest version of libjpeg.
http://libjpeg.sourceforge.net/

Harsh.

On Tue, Mar 19, 2013 at 9:59 PM, Sayantan Datta <[hidden email]> wrote:

> hi,
>
> i was compiling digikam using
>
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
> --prefix`-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DKDE4_BUILD_TESTS=on ..
> make
>
> but i received an error
>
> [ 81%] Building CXX object
> core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:
> In member function ‘virtual bool Digikam::UMSCamera::getThumbnail(const
> QString&, const QString&, QImage&)’:
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:227:5:
> error: ‘loadRawPreview’ is not a member of ‘KDcrawIface::KDcraw’
> make[2]: ***
> [core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o]
> Error 1
> make[1]: *** [core/utilities/importui/CMakeFiles/importui.dir/all] Error 2
> make: *** [all] Error 2
>
>
> How do i fix it? :(
>
> Attached is a text file for the detailed output
>
>
> -----------------------------------------------------------------
> Sayantan Datta
> Junior Year
> National Institute of Technology, Durgapur
> Phone : (+91) 9564370661
> IRC : kenzo450D on #fedora, #nitdgplug, #kde
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: error while compiling digikam

Gilles Caulier-4
No need about libjpeg.

Just compile whole digiKam with included libkdcaw. There is a cmake flag for that :

OPTION(DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS "Build local kdegraphics libraries instead of using distributed KDE files (default=OFF)" OFF)

Gilles Caulier


2013/3/19 harsh agrawal <[hidden email]>
Hi,

I think you need to install a newer version of libjpeg, to build a
more recent version of libkdcraw.
Here is a link to get the latest version of libjpeg.
http://libjpeg.sourceforge.net/

Harsh.

On Tue, Mar 19, 2013 at 9:59 PM, Sayantan Datta <[hidden email]> wrote:
> hi,
>
> i was compiling digikam using
>
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
> --prefix`-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DKDE4_BUILD_TESTS=on ..
> make
>
> but i received an error
>
> [ 81%] Building CXX object
> core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:
> In member function ‘virtual bool Digikam::UMSCamera::getThumbnail(const
> QString&, const QString&, QImage&)’:
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:227:5:
> error: ‘loadRawPreview’ is not a member of ‘KDcrawIface::KDcraw’
> make[2]: ***
> [core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o]
> Error 1
> make[1]: *** [core/utilities/importui/CMakeFiles/importui.dir/all] Error 2
> make: *** [all] Error 2
>
>
> How do i fix it? :(
>
> Attached is a text file for the detailed output
>
>
> -----------------------------------------------------------------
> Sayantan Datta
> Junior Year
> National Institute of Technology, Durgapur
> Phone : (+91) 9564370661
> IRC : kenzo450D on #fedora, #nitdgplug, #kde
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


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

Re: error while compiling digikam

Sayantan Datta


On Tue, Mar 19, 2013 at 10:23 PM, Gilles Caulier <[hidden email]> wrote:
No need about libjpeg.

Just compile whole digiKam with included libkdcaw. There is a cmake flag for that :

OPTION(DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS "Build local kdegraphics libraries instead of using distributed KDE files (default=OFF)" OFF)

yes, i did use that, i used 
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DKDE4_BUILD_TESTS=on ..

 
Gilles Caulier


2013/3/19 harsh agrawal <[hidden email]>
Hi,

I think you need to install a newer version of libjpeg, to build a
more recent version of libkdcraw.
Here is a link to get the latest version of libjpeg.
http://libjpeg.sourceforge.net/

Harsh.

On Tue, Mar 19, 2013 at 9:59 PM, Sayantan Datta <[hidden email]> wrote:
> hi,
>
> i was compiling digikam using
>
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
> --prefix`-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DKDE4_BUILD_TESTS=on ..
> make
>
> but i received an error
>
> [ 81%] Building CXX object
> core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:
> In member function ‘virtual bool Digikam::UMSCamera::getThumbnail(const
> QString&, const QString&, QImage&)’:
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:227:5:
> error: ‘loadRawPreview’ is not a member of ‘KDcrawIface::KDcraw’
> make[2]: ***
> [core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o]
> Error 1
> make[1]: *** [core/utilities/importui/CMakeFiles/importui.dir/all] Error 2
> make: *** [all] Error 2
>
>
> How do i fix it? :(
>
> Attached is a text file for the detailed output
>
>
> -----------------------------------------------------------------
> Sayantan Datta
> Junior Year
> National Institute of Technology, Durgapur
> Phone : (+91) 9564370661
> IRC : kenzo450D on #fedora, #nitdgplug, #kde
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


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



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

Re: error while compiling digikam

Gilles Caulier-4
Well, clean up all, reconfigure, and recompile...

Gilles caulier


2013/3/19 Sayantan Datta <[hidden email]>


On Tue, Mar 19, 2013 at 10:23 PM, Gilles Caulier <[hidden email]> wrote:
No need about libjpeg.

Just compile whole digiKam with included libkdcaw. There is a cmake flag for that :

OPTION(DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS "Build local kdegraphics libraries instead of using distributed KDE files (default=OFF)" OFF)

yes, i did use that, i used 
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DKDE4_BUILD_TESTS=on ..

 
Gilles Caulier


2013/3/19 harsh agrawal <[hidden email]>
Hi,

I think you need to install a newer version of libjpeg, to build a
more recent version of libkdcraw.
Here is a link to get the latest version of libjpeg.
http://libjpeg.sourceforge.net/

Harsh.

On Tue, Mar 19, 2013 at 9:59 PM, Sayantan Datta <[hidden email]> wrote:
> hi,
>
> i was compiling digikam using
>
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
> --prefix`-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DKDE4_BUILD_TESTS=on ..
> make
>
> but i received an error
>
> [ 81%] Building CXX object
> core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:
> In member function ‘virtual bool Digikam::UMSCamera::getThumbnail(const
> QString&, const QString&, QImage&)’:
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:227:5:
> error: ‘loadRawPreview’ is not a member of ‘KDcrawIface::KDcraw’
> make[2]: ***
> [core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o]
> Error 1
> make[1]: *** [core/utilities/importui/CMakeFiles/importui.dir/all] Error 2
> make: *** [all] Error 2
>
>
> How do i fix it? :(
>
> Attached is a text file for the detailed output
>
>
> -----------------------------------------------------------------
> Sayantan Datta
> Junior Year
> National Institute of Technology, Durgapur
> Phone : <a href="tel:%28%2B91%29%209564370661" value="+919564370661" target="_blank">(+91) 9564370661
> IRC : kenzo450D on #fedora, #nitdgplug, #kde
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


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



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



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

Re: error while compiling digikam

Smit Mehta
Is the problem fixed, Sayantan? Because I am facing the same problem now.

- I uninstalled and cleaned everything. I removed libkipi*, libkdcraw* from /usr/lib also. I use the following cmake command.

sudo cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr -DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on ..

but, still, cmake stops at

-- Found libkdcraw release >= 0.2.0
-- Found libkdcraw: /usr/lib/libkdcraw.so
CMake Warning at extra/kipi-plugins/CMakeLists.txt:145 (MESSAGE):
  libkdcraw: Version information not found, your version is probably too old.

CMake Error at extra/kipi-plugins/CMakeLists.txt:88 (MESSAGE):
   kipi-plugins needs libkdcraw. You need to install the libkdcraw (version >= 2.2.0) library development package.
Call Stack (most recent call first):
  extra/kipi-plugins/CMakeLists.txt:237 (PRINT_LIBRARY_STATUS)

Any ideas?


On Tue, Mar 19, 2013 at 11:38 PM, Gilles Caulier <[hidden email]> wrote:
Well, clean up all, reconfigure, and recompile...

Gilles caulier


2013/3/19 Sayantan Datta <[hidden email]>


On Tue, Mar 19, 2013 at 10:23 PM, Gilles Caulier <[hidden email]> wrote:
No need about libjpeg.

Just compile whole digiKam with included libkdcaw. There is a cmake flag for that :

OPTION(DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS "Build local kdegraphics libraries instead of using distributed KDE files (default=OFF)" OFF)

yes, i did use that, i used 
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DKDE4_BUILD_TESTS=on ..

 
Gilles Caulier


2013/3/19 harsh agrawal <[hidden email]>
Hi,

I think you need to install a newer version of libjpeg, to build a
more recent version of libkdcraw.
Here is a link to get the latest version of libjpeg.
http://libjpeg.sourceforge.net/

Harsh.

On Tue, Mar 19, 2013 at 9:59 PM, Sayantan Datta <[hidden email]> wrote:
> hi,
>
> i was compiling digikam using
>
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
> --prefix`-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on -DKDE4_BUILD_TESTS=on ..
> make
>
> but i received an error
>
> [ 81%] Building CXX object
> core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:
> In member function ‘virtual bool Digikam::UMSCamera::getThumbnail(const
> QString&, const QString&, QImage&)’:
> /home/sayantan/WORK/digikam/digikam-software-compilation/core/utilities/importui/backend/umscamera.cpp:227:5:
> error: ‘loadRawPreview’ is not a member of ‘KDcrawIface::KDcraw’
> make[2]: ***
> [core/utilities/importui/CMakeFiles/importui.dir/backend/umscamera.cpp.o]
> Error 1
> make[1]: *** [core/utilities/importui/CMakeFiles/importui.dir/all] Error 2
> make: *** [all] Error 2
>
>
> How do i fix it? :(
>
> Attached is a text file for the detailed output
>
>
> -----------------------------------------------------------------
> Sayantan Datta
> Junior Year
> National Institute of Technology, Durgapur
> Phone : <a href="tel:%28%2B91%29%209564370661" value="+919564370661" target="_blank">(+91) 9564370661
> IRC : kenzo450D on #fedora, #nitdgplug, #kde
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


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



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



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




--
Smit Mehta
Junior year, B.Tech
Computer Science and Engineering
IIT Madras
+91-9884996531

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

Re: error while compiling digikam

Andrew Goodbody-2
On 23/03/13 15:30, smit wrote:
> Is the problem fixed, Sayantan? Because I am facing the same problem now.
>
> - I uninstalled and cleaned everything. I removed libkipi*, libkdcraw*
> from /usr/lib also. I use the following cmake command.
>
> sudo cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr
> -DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on ..

You need -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on, note the double 'D' at
the beginning.

BTW you should not need the sudo for this step. sudo should only be
needed on the 'make install'.

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

Re: error while compiling digikam

Andrew Goodbody
In reply to this post by Smit Mehta
On 23/03/13 15:30, smit wrote:
> Is the problem fixed, Sayantan? Because I am facing the same problem now.
>
> - I uninstalled and cleaned everything. I removed libkipi*, libkdcraw*
> from /usr/lib also. I use the following cmake command.
>
> sudo cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr
> -DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on ..

You need -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on, note the double 'D' at
the beginning.

BTW you should not need the sudo for this step. sudo should only be
needed on the 'make install'.

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

Re: error while compiling digikam

Sayantan Datta
smit,

do not use sudo cmake, use cmake for your use. :) hope that helps.

-----------------------------------------------------------------
Sayantan Datta
Junior Year
National Institute of Technology, Durgapur
Phone : (+91) 9564370661
IRC : kenzo450D on #fedora, #nitdgplug, #kde


On Sat, Mar 23, 2013 at 9:25 PM, Andrew Goodbody <[hidden email]> wrote:
On 23/03/13 15:30, smit wrote:
Is the problem fixed, Sayantan? Because I am facing the same problem now.

- I uninstalled and cleaned everything. I removed libkipi*, libkdcraw*
from /usr/lib also. I use the following cmake command.

sudo cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr
-DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on ..

You need -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on, note the double 'D' at the beginning.

BTW you should not need the sudo for this step. sudo should only be needed on the 'make install'.

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


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