[Digikam-devel] Problems Building

Martin Klapetek martin.klapetek at gmail.com
Mon May 17 17:11:15 BST 2010


On Mon, May 17, 2010 at 17:33, Todd Goodman <tsg at bonedaddy.net> wrote:

> * Jens M?ller <tschensinger at web.de> [100516 16:06]:
> > Am Sonntag, 16. Mai 2010, um 15:22:55 schrieb
> digikam-devel-request at kde.org:
> [SNIP]
> > > When I try to build libkexiv2 however I get errors that look like maybe
> > > an incompatibility between exiv2-svn and libkexiv2-svn.  The errors are
> > > as follows:
> > >
> > > [  8%] Building CXX object libkexiv2/CMakeFiles/kexiv2.dir/kexiv2.o
> > > /root/digikam-svn/libkexiv2/libkexiv2/kexiv2.cpp: In member function
> > > 'bool KExiv2Iface::KExiv2::loadFromData(const QByteArray&) const':
> > > /root/digikam-svn/libkexiv2/libkexiv2/kexiv2.cpp:277: error: 'e' was
> not
> > > declared in this scope
> > > /root/digikam-svn/libkexiv2/libkexiv2/kexiv2.cpp: In member function
> > > 'virtual bool KExiv2Iface::KExiv2::load(const QString&) const':
> > > /root/digikam-svn/libkexiv2/libkexiv2/kexiv2.cpp:326: error: 'e' was
> not
> > > declared in this scope
> > > /root/digikam-svn/libkexiv2/libkexiv2/kexiv2.cpp: In member function
> > > 'bool KExiv2Iface::KExiv2::save(const QString&) const':
> > > /root/digikam-svn/libkexiv2/libkexiv2/kexiv2.cpp:514: error: 'e' was
> not
> > > declared in this scope
> [SNIP]
> >
> > Todd,
> >
> > are you shure that you are building and linking libkexiv2-svn against
> svn-
> > exiv2 (right headers and libs)?
> >
> > Regards, Jens
>
> Hi Jens,
>
> You're quite right.  How embarassing.  I'm not sure how I missed
> that.
>
> I'll look into why it's not picking up my SVN versions in /usr/local, but
> for now I've just modified my CMakeCache.txt files.
>
> Thank you and my apologies,
>
> Todd
>

For me it didn't pick the svn lib because it checked the system pkg-config
path first and found the distro lib there. So I had to adjust it with
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:other paths.. and then it was ok.
I'm on Fedora 13 x86_64 btw.

Marty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20100517/3a041243/attachment.html>


More information about the Digikam-devel mailing list