[Digikam-users] Error compiling exiv2

Gilles Caulier caulier.gilles at gmail.com
Wed Sep 19 07:43:55 BST 2007


Arnd, Caspar,

Yes, xmp exiv2 development branch from svn have been merged to trunk
recently.

Now Exiv2 require Adobe XMP toolkit to be compiled. Look in README-XMP for
details.

This is not the final issue. Something will be done to make it configurable
before to compile.

Gilles Caulier

2007/9/18, Arnd Baecker < arnd.baecker at web.de>:
>
> On Tue, 18 Sep 2007, Caspar Maessen wrote:
>
> > I checked out and tried to compile exiv2 from trunk:
> >
> > # svn checkout svn://dev.robotbattle.com/exiv2/trunk exiv2
> > # cd exiv2
> > # make config
> > # ./configure --prefix=/usr --mandir=/usr/share/man
> --build=i686-pc-linux-gnu
> > # make
> >
> > This gave me an error. I truncated the output of the make command.
> >
> > [...]
> > xmp.cpp:48:20: warning: XMP.hpp: No such file or directory
> > xmp.cpp:49:25: warning: XMP.incl_cpp: No such file or directory
> > xmp.cpp:74: error: expected ',' or '...' before '&' token
> > [...]
> > xmp.cpp:709: error: 'opt' was not declared in this scope
> > xmp.cpp :709: error: 'XMP_PropIsSimple' was not declared in this scope
> > xmp.cpp: At global scope:
> > xmp.cpp:692: warning: unused parameter 'XMP_OptionBits'
> > make[1]: *** [xmp.o] Error 1
> > make[1]: Leaving directory `/home/builds/digikam-svn/exiv2/src'
> > make: *** [all] Error 2
> >
> > Obviously this has something to do with the XMP support being under
> > development. But I cannot find a clue how to overcome this error. Any
> > hint is appreciated.
>
> Looking at xmp.cpp it seems
> that it would like to have
> // Adobe XMP Toolkit
> #ifdef EXV_HAVE_XMP_TOOLKIT
> # define TXMP_STRING_TYPE std::string
> # include <XMP.hpp>
> # include <XMP.incl_cpp>
> #endif // EXV_HAVE_XMP_TOOLKIT
>
> Googling for this leads to
> http://www.adobe.com/devnet/xmp/
> The resulting xmp_v411_sdk.zip contains XMP.hpp.
>
> So it seems that this has to be installed first ...
>
> Hope this helps a bit ...,
>
> Arnd
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20070919/6f33da50/attachment.html>


More information about the Digikam-users mailing list