error using cmake

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

error using cmake

Saurabh Patel
Hello,
  I was trying to build digikam but on using cmake . ,I get following error:

CMake Error at CMakeLists.txt:100 (MESSAGE):
   digiKam needs libkdcraw. You need to install the libkdcraw (version >= 2.2.0) library development package.
Call Stack (most recent call first):
  CMakeLists.txt:493 (PRINT_LIBRARY_STATUS)


--  libkdcraw website is at http://www.digikam.org/sharedlibs

Can anybody help?
I have tried installing libkdcraw from sharedlibs and it installed fine.Also I tried to install likkdcraw-dev but this error always remains

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

Re: error using cmake

Abhinav Badola

Hi Saurabh,

1. Which distribution are you using..?
I am asking this because there are various ways by which you can install all the required dependencies in one go.
Like if you use Ubuntu the command would be something like-
sudo apt-get install digikam - - build-deps
(please check the correct syntax from net, I am not sure if this is correct)
Or if you are using openSuse, the command would be similar. Eg.-
sudo zypper install - D digikam
(again please check the proper syntax).

2. Also, from next time onwards, please use pastebin to display compilation errors. It is a good practice and it is generally more helpful when compilation errors are long.

Hope this helps.
Try the above two suggestions. If you are still unable to get anywhere, you are welcome to contact us again.

-Regards,
Abhinav Badola

On 27 Feb 2013 09:17, "Saurabh Patel" <[hidden email]> wrote:
Hello,
  I was trying to build digikam but on using cmake . ,I get following error:

CMake Error at CMakeLists.txt:100 (MESSAGE):
   digiKam needs libkdcraw. You need to install the libkdcraw (version >= 2.2.0) library development package.
Call Stack (most recent call first):
  CMakeLists.txt:493 (PRINT_LIBRARY_STATUS)


--  libkdcraw website is at http://www.digikam.org/sharedlibs

Can anybody help?
I have tried installing libkdcraw from sharedlibs and it installed fine.Also I tried to install likkdcraw-dev but this error always remains

_______________________________________________
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
Regards,
Abhinav Badola
Reply | Threaded
Open this post in threaded view
|

Re: error using cmake

Saurabh Patel
Hello,
    I use kubuntu.I tried using sudo apt-get build-dep digikam as you suggested but the error still persists.I had same error with libkface and libkgeomap but i installed them using sudo apt-get install libkgeomap-dev and both of them now don't show an error.I tried same with libkdcraw but it still shows error,also after using build-dep command.So any suggestion where I may be wrong.

Thanks

On Wed, Feb 27, 2013 at 10:27 AM, Abhinav Badola <[hidden email]> wrote:

Hi Saurabh,

1. Which distribution are you using..?
I am asking this because there are various ways by which you can install all the required dependencies in one go.
Like if you use Ubuntu the command would be something like-
sudo apt-get install digikam - - build-deps
(please check the correct syntax from net, I am not sure if this is correct)
Or if you are using openSuse, the command would be similar. Eg.-
sudo zypper install - D digikam
(again please check the proper syntax).

2. Also, from next time onwards, please use pastebin to display compilation errors. It is a good practice and it is generally more helpful when compilation errors are long.

Hope this helps.
Try the above two suggestions. If you are still unable to get anywhere, you are welcome to contact us again.

-Regards,
Abhinav Badola

On 27 Feb 2013 09:17, "Saurabh Patel" <[hidden email]> wrote:
Hello,
  I was trying to build digikam but on using cmake . ,I get following error:

CMake Error at CMakeLists.txt:100 (MESSAGE):
   digiKam needs libkdcraw. You need to install the libkdcraw (version >= 2.2.0) library development package.
Call Stack (most recent call first):
  CMakeLists.txt:493 (PRINT_LIBRARY_STATUS)


--  libkdcraw website is at http://www.digikam.org/sharedlibs

Can anybody help?
I have tried installing libkdcraw from sharedlibs and it installed fine.Also I tried to install likkdcraw-dev but this error always remains

_______________________________________________
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 using cmake

Abhinav Badola


On Wed, Feb 27, 2013 at 11:19 AM, Abhinav Badola <[hidden email]> wrote:


On Wed, Feb 27, 2013 at 11:12 AM, Saurabh Patel <[hidden email]> wrote:
Hello,

    I use kubuntu.I tried using sudo apt-get build-dep digikam as you suggested but the error still persists.I had same error with libkface and libkgeomap but i installed them using sudo apt-get install libkgeomap-dev and both of them now don't show an error.I tried same with libkdcraw but it still shows error,also after using build-dep command.So any suggestion where I may be wrong.
 
 Are you using source code from git repository or tarball ..?
 p.s. If you are willing to contribute as a developer, you should download code from git.
 
 Folow these tow tutorials, the second one is specifically for Ubuntu.

Also use this cmake command while building your code, 

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




Thanks


On Wed, Feb 27, 2013 at 10:27 AM, Abhinav Badola <[hidden email]> wrote:

Hi Saurabh,

1. Which distribution are you using..?
I am asking this because there are various ways by which you can install all the required dependencies in one go.
Like if you use Ubuntu the command would be something like-
sudo apt-get install digikam - - build-deps
(please check the correct syntax from net, I am not sure if this is correct)
Or if you are using openSuse, the command would be similar. Eg.-
sudo zypper install - D digikam
(again please check the proper syntax).

2. Also, from next time onwards, please use pastebin to display compilation errors. It is a good practice and it is generally more helpful when compilation errors are long.

Hope this helps.
Try the above two suggestions. If you are still unable to get anywhere, you are welcome to contact us again.

-Regards,
Abhinav Badola

On 27 Feb 2013 09:17, "Saurabh Patel" <[hidden email]> wrote:
Hello,
  I was trying to build digikam but on using cmake . ,I get following error:

CMake Error at CMakeLists.txt:100 (MESSAGE):
   digiKam needs libkdcraw. You need to install the libkdcraw (version >= 2.2.0) library development package.
Call Stack (most recent call first):
  CMakeLists.txt:493 (PRINT_LIBRARY_STATUS)


--  libkdcraw website is at http://www.digikam.org/sharedlibs

Can anybody help?
I have tried installing libkdcraw from sharedlibs and it installed fine.Also I tried to install likkdcraw-dev but this error always remains

_______________________________________________
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





--
Regards,
Abhinav Badola



--
Regards,
Abhinav Badola

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