[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Build problems r901182
From:       "LukasT.dev () gmail ! com" <lukast ! dev () gmail ! com>
Date:       2008-12-25 13:31:47
Message-ID: 49538B43.2000100 () gmail ! com
[Download RAW message or body]

James Richard Tyrer wrote:
> First, I made this minor and obvious change:
> 
> Index: ui/kisexiv2/kis_exiv2.h
> ===================================================================
> --- ui/kisexiv2/kis_exiv2.h     (revision 901441)
> +++ ui/kisexiv2/kis_exiv2.h     (working copy)
> @@ -39,4 +39,6 @@ Exiv2::Value* kmdValueToExivValue( const
> */
> Exiv2::Value* kmdValueToExivValue( const KisMetaData::Value& value );
> 
> +long Exiv2::toData<double>(unsigned char*, double, Exiv2::ByteOrder)
> +
> #endif
> 
> in: krita.  That fixed the first problem.  Then I got:
> 
> [ 57%] Built target kritaimage
> [ 57%] Building CXX object 
> krita/ui/CMakeFiles/kritaui.dir/kisexiv2/kis_exif_io.o
> In file included from 
> /usr/SVN/trunk/koffice/krita/ui/kisexiv2/kis_exif_io.cpp:33:
> /usr/SVN/trunk/koffice/krita/image/metadata/kis_meta_data_store.h:27: 
> error: expected initializer before 'namespace'
> make[2]: *** [krita/ui/CMakeFiles/kritaui.dir/kisexiv2/kis_exif_io.o] 
> Error 1
> make[1]: *** [krita/ui/CMakeFiles/kritaui.dir/all] Error 2
> make: *** [all] Error 2
> 
> And I do not understand the error message.
> 
> 

I'm using exiv2 in v 0.17 (newer is not in Fedora 10 repos)

r901459:
My error message:

Linking CXX shared library ../../lib/libkritaui.so
CMakeFiles/kritaui.dir/kisexiv2/kis_exiv2.o: In function 
`Exiv2::ValueType<double>::copy(unsigned char*, Exiv2::ByteOrder) const':
kis_exiv2.cpp:(.text._ZNK5Exiv29ValueTypeIdE4copyEPhNS_9ByteOrderE[Exiv2::ValueType<double>::copy(unsigned \
 char*, Exiv2::ByteOrder) const]+0x6f): undefined reference to `long 
Exiv2::toData<double>(unsigned char*, double, Exiv2::ByteOrder)'
CMakeFiles/kritaui.dir/kisexiv2/kis_exiv2.o: In function 
`Exiv2::ValueType<double>::read(unsigned char const*, long, 
Exiv2::ByteOrder)':
kis_exiv2.cpp:(.text._ZN5Exiv29ValueTypeIdE4readEPKhlNS_9ByteOrderE[Exiv2::ValueType<double>::read(unsigned \
 char const*, long, Exiv2::ByteOrder)]+0x3c): undefined reference to 
`double Exiv2::getValue<double>(unsigned char const*, Exiv2::ByteOrder)'
CMakeFiles/kritaui.dir/kisexiv2/kis_exiv2.o: In function 
`Exiv2::ValueType<double>::ValueType(double const&, Exiv2::ByteOrder)':
kis_exiv2.cpp:(.text._ZN5Exiv29ValueTypeIdEC1ERKdNS_9ByteOrderE[Exiv2::ValueType<double>::ValueType(double \
 const&, Exiv2::ByteOrder)]+0x15): undefined reference to `Exiv2::TypeId 
Exiv2::getType<double>()'
collect2: ld returned 1 exit status
make[2]: *** [lib/libkritaui.so.5.0.0] Error 1
make[1]: *** [krita/ui/CMakeFiles/kritaui.dir/all] Error 2
make: *** [all] Error 2
makeobj[0]: Leaving directory `/home/lukas/src/build/koffice'
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic