Compiling 2.0.0-beta1

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

Compiling 2.0.0-beta1

Andreas Weigl
Hi

I tried to compile 2.0.0-beta1 on my Kubuntu Maverick. I got the following
error message:
[ 48%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/editor/editorwindow.cpp.o
[ 48%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawimport.cpp.o
[ 48%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawpreview.cpp.o
[ 48%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawsettingsbox.cpp.o
/home/src/digikam-2.0.0-
beta1/core/utilities/imageeditor/editor/editorwindow.cpp: In member function
‘void Digikam::ActionCategorizedView::setupIconMode()’:
/home/src/digikam-2.0.0-
beta1/core/utilities/imageeditor/editor/editorwindow.cpp:3098: warning:
‘KCategoryDrawerV2’ is deprecated (declared at
/usr/include/kcategorydrawer.h:116)
[ 48%] Building CXX object
core/digikam/CMakeFiles/digikamcore.dir/digikamconfig.cpp.o
Linking CXX shared library ../../lib/libdigikamcore.so
CMakeFiles/digikamcore.dir/__/libs/threadimageio/thumbnailcreator.cpp.o: In
function `Digikam::ThumbnailCreator::exifRotate(QImage const&, int) const':
/home/src/digikam-2.0.0-
beta1/core/libs/threadimageio/thumbnailcreator.cpp:670: undefined reference to
`KExiv2Iface::RotationMatrix::toMatrix(KExiv2Iface::KExiv2::ImageOrientation)'
collect2: ld returned 1 exit status
make[2]: *** [lib/libdigikamcore.so.2.0.0] Error 1
make[1]: *** [core/digikam/CMakeFiles/digikamcore.dir/all] Error 2
make: *** [all] Error 2

Does anybody know what went wrong?

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

Re: Compiling 2.0.0-beta1

Michael G. Hansen
Hi Andreas,

On 01/09/2011 02:06 PM, Andreas Weigl wrote:

> Hi
>
> I tried to compile 2.0.0-beta1 on my Kubuntu Maverick. I got the following
> error message:
> [ 48%] Building CXX object
> core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/editor/editorwindow.cpp.o
> [ 48%] Building CXX object
> core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawimport.cpp.o
> [ 48%] Building CXX object
> core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawpreview.cpp.o
> [ 48%] Building CXX object
> core/digikam/CMakeFiles/digikamcore.dir/__/utilities/imageeditor/rawimport/rawsettingsbox.cpp.o
> /home/src/digikam-2.0.0-
> beta1/core/utilities/imageeditor/editor/editorwindow.cpp: In member function
> ‘void Digikam::ActionCategorizedView::setupIconMode()’:
> /home/src/digikam-2.0.0-
> beta1/core/utilities/imageeditor/editor/editorwindow.cpp:3098: warning:
> ‘KCategoryDrawerV2’ is deprecated (declared at
> /usr/include/kcategorydrawer.h:116)
> [ 48%] Building CXX object
> core/digikam/CMakeFiles/digikamcore.dir/digikamconfig.cpp.o
> Linking CXX shared library ../../lib/libdigikamcore.so
> CMakeFiles/digikamcore.dir/__/libs/threadimageio/thumbnailcreator.cpp.o: In
> function `Digikam::ThumbnailCreator::exifRotate(QImage const&, int) const':
> /home/src/digikam-2.0.0-
> beta1/core/libs/threadimageio/thumbnailcreator.cpp:670: undefined reference to
> `KExiv2Iface::RotationMatrix::toMatrix(KExiv2Iface::KExiv2::ImageOrientation)'
> collect2: ld returned 1 exit status
> make[2]: *** [lib/libdigikamcore.so.2.0.0] Error 1
> make[1]: *** [core/digikam/CMakeFiles/digikamcore.dir/all] Error 2
> make: *** [all] Error 2
>
> Does anybody know what went wrong?

This sounds like a problem with the exiv2 library. Which version of
exiv2 do you have? You need 0.21 for digikam2.0beta1.

Try "exiv2 -V" to get the version which is installed on your system.

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

Re: Compiling 2.0.0-beta1

Andreas Weigl
Hi

Am Sunday, January 09, 2011 schrieb Michael G. Hansen:
> This sounds like a problem with the exiv2 library. Which version of
> exiv2 do you have? You need 0.21 for digikam2.0beta1.
>
> Try "exiv2 -V" to get the version which is installed on your system.

~$ exiv2 -V
exiv2 0.19

I first thought that the right version is included in the tarball. But the
README talks about libkexiv2, not libexiv.

Will check if I can get a new version.

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

Re: Compiling 2.0.0-beta1

Johannes Wienke-3
Am 09.01.2011 14:44 schrieb Andreas Weigl:
> Am Sunday, January 09, 2011 schrieb Michael G. Hansen:
>> This sounds like a problem with the exiv2 library. Which version of
>> exiv2 do you have? You need 0.21 for digikam2.0beta1.
>>
>> Try "exiv2 -V" to get the version which is installed on your system.
>
> ~$ exiv2 -V
> exiv2 0.19

Why doesn't the libkexiv cmake check for the right version?

Johannes


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Compiling 2.0.0-beta1

Gilles Caulier-4
It's libkexiv2 linking problem. Sound like you have 2 version installed. Cmake detect right version, but do not link with right library bin file.

Gilles Caulier

2011/1/9 Johannes Wienke <[hidden email]>
Am 09.01.2011 14:44 schrieb Andreas Weigl:
> Am Sunday, January 09, 2011 schrieb Michael G. Hansen:
>> This sounds like a problem with the exiv2 library. Which version of
>> exiv2 do you have? You need 0.21 for digikam2.0beta1.
>>
>> Try "exiv2 -V" to get the version which is installed on your system.
>
> ~$ exiv2 -V
> exiv2 0.19

Why doesn't the libkexiv cmake check for the right version?

Johannes


_______________________________________________
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: Compiling 2.0.0-beta1

Andreas Weigl-3
Hi

No I only had the Ubuntu version installed. Now I have two versions on the system. The Ubuntu and a self compiled. It used the new one now and I was able to compile digikam.

Andreas



"Gilles Caulier" <[hidden email]> schrieb:

>It's libkexiv2 linking problem. Sound like you have 2 version
>installed.
>Cmake detect right version, but do not link with right library bin
>file.
>
>Gilles Caulier
>
>2011/1/9 Johannes Wienke <[hidden email]>
>
>> Am 09.01.2011 14:44 schrieb Andreas Weigl:
>> > Am Sunday, January 09, 2011 schrieb Michael G. Hansen:
>> >> This sounds like a problem with the exiv2 library. Which version
>of
>> >> exiv2 do you have? You need 0.21 for digikam2.0beta1.
>> >>
>> >> Try "exiv2 -V" to get the version which is installed on your
>system.
>> >
>> > ~$ exiv2 -V
>> > exiv2 0.19
>>
>> Why doesn't the libkexiv cmake check for the right version?
>>
>> Johannes
>>
>>
>> _______________________________________________
>> 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