[KPhotoAlbum] kphotoalbum git not compiling
Reimar Imhof
Reimar.Imhof at netcologne.de
Sun Jan 24 20:52:02 GMT 2016
Hi,
I'm trying to compile latest kphotoalbum from git repository - but I get an
compile error:
[ 57%] Building CXX object CMakeFiles/kphotoalbum.dir/DB/ImageInfo.cpp.o
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp: In member function
‘KGeoMap::GeoCoordinates DB::ImageInfo::coordinates() const’:
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:773:48: error: ‘class
Exif::Database’ has no member named ‘readFields’
bool foundIt = Exif::Database::instance()->readFields( m_fileName, fields
);
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:778:49: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
if ( foundIt && fields[EXIF_GPS_VERSIONID]->value().isNull() )
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:784:37: error: ‘class
Exif::Database’ has no member named ‘readFields’
Exif::Database::instance()->readFields( m_fileName, fields );
^
In file included from /usr/include/QtCore/qchar.h:45:0,
from /usr/include/QtCore/qstring.h:45,
from /home/ri/projects/kphotoalbum.git/DB/ImageInfo.h:22,
from /home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:19:
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:785:48: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
Q_ASSERT( !fields[EXIF_GPS_VERSIONID]->value().isNull() );
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:792:43: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
if ( foundIt && fields[EXIF_GPS_LAT]->value().toInt() != -1.0
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:793:35: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
&& fields[EXIF_GPS_LON]->value().toInt() != -1.0 )
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:796:49: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
double latr = (fields[EXIF_GPS_LATREF]->value().toString() == S ) ?
-1.0 : 1.0;
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:797:44: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
double lat = fields[EXIF_GPS_LAT]->value().toFloat();
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:798:49: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
double lonr = (fields[EXIF_GPS_LONREF]->value().toString() == W ) ?
-1.0 : 1.0;
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:799:44: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
double lon = fields[EXIF_GPS_LON]->value().toFloat();
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:800:49: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
double altr = (fields[EXIF_GPS_ALTREF]->value().toInt() == 1 ) ? -1.0
: 1.0;
^
/home/ri/projects/kphotoalbum.git/DB/ImageInfo.cpp:801:44: error: ‘class
Exif::DatabaseElement’ has no member named ‘value’
double alt = fields[EXIF_GPS_ALT]->value().toFloat();
^
CMakeFiles/kphotoalbum.dir/build.make:2612: recipe for target
'CMakeFiles/kphotoalbum.dir/DB/ImageInfo.cpp.o' failed
make[2]: *** [CMakeFiles/kphotoalbum.dir/DB/ImageInfo.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:162: recipe for target 'CMakeFiles/kphotoalbum.dir/all'
failed
make[1]: *** [CMakeFiles/kphotoalbum.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
*** Fehler: Beendigungscode 2 ***
There is no problem to compile kphotoalbum 4.7 from
http://download.kde.org/stable/kphotoalbum/4.7/src/kphotoalbum-4.7.tar.xz
System is openSuse 13.2, kde 4.14.9
Any ideas?
Thanks
Reimar
More information about the Kphotoalbum
mailing list