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

List:       kde-extra-gear
Subject:    [Kde-extra-gear] Adding code using KExif to the images gallery
From:       "Con Ruane" <conruane () gmail ! com>
Date:       2006-03-24 12:34:37
Message-ID: 4e3d3aa40603240434j7ebd5fecw54c0b4aaf38c4848 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi All,

I use the ImagesGallery out of Digikam to generate galleries for my web
site.

I wanted to change the look of the generated html to match my site so I
downloaded the source code and added some hard coding to do what I wanted.

I also wanted to have the exif date and time displayed under the photos so =
I
added some code using libkexif functions to do what I wanted.

It took me a while to get everything compiling successfully and working but
I did succeed in the end.

That was some time ago using SuSE 9.3.

Now I've updated to SuSE 10.0 (fresh install) but I can't get ImagesGallery
to compile with libkexif stuff in it.

The compile actually works, it's the link step that stops with this error:

.libs/imagesgallery.o: In function
`KIPIImagesGalleryPlugin::ImagesGallery::createBody(QTextStream&,
QStringList const&, KURL const&, QString const&, QString const&)':
imagesgallery.cpp:(.text+0xbfcc): undefined reference to
`KExifData::KExifData()'
imagesgallery.cpp:(.text+0xbfd4): undefined reference to
`KExifData::~KExifData()'

The only code I have in there at the moment for testing is the just
definition of a KExifData object.

#include <libkexif/kexifdata.h>
..
..
void ImagesGallery::createBody(QTextStream& stream, const QStringList&
subDirList,
                               const KURL& url, const QString& imageFormat,
                               const QString& TargetimagesFormat)
{
..
..
       // define KExifData object
       KExifData exifData;
}

I think the problem is that I need to install a libkexif-devel package but =
I
can't find one anywhere and I don't remember doing this for Suse 9.3.
libkexif 0.2.2 from Packman.
I also tried installing libkexif from the source code (using checkinstall)
but this didn't help (could a "make install" make a differnce here?)
I also tried putting the libkexif tree into the kipi-plugins tree (at the
same level as the kipi-plugins folder) and generated a new configure script
using make -f Makefile.cvs. and ran configure and make.
When I do this libkexif is compiled and ImagesGallery compiles but again I
get the exact same linker error.
Where can I get a libkexif-devel package for suse 10.0 or does anyone have
any other ideas?

Thanks,

Con

[Attachment #5 (text/html)]

<div style="direction: ltr;">Hi All,<br><br>I use the ImagesGallery out of Digikam to \
generate galleries for my web site.<br><br>I wanted to change the look of the \
generated html to match my site so I downloaded the source code and added some hard \
coding to do what I wanted. <br><br>I also wanted to have the exif date and time \
displayed under the photos so I added some code using libkexif functions to do what I \
wanted.<br><br>It took me a while to get everything compiling successfully and \
working but I did succeed in the end. <br><br>That was some time ago using SuSE \
9.3.<br><br>Now I've updated to SuSE 10.0 (fresh install) but I can't get \
ImagesGallery to compile with libkexif stuff in it.<br><br>The compile actually \
works, it's the link step that stops with this error: <br><br>.libs/imagesgallery.o: \
In function `KIPIImagesGalleryPlugin::ImagesGallery::createBody(QTextStream&amp;, \
QStringList const&amp;, KURL const&amp;, QString const&amp;, QString \
const&amp;)':<br>imagesgallery.cpp:(.text+0xbfcc): undefined reference to \
`KExifData::KExifData()' <br>imagesgallery.cpp:(.text+0xbfd4): undefined reference to \
`KExifData::~KExifData()'<br><br>The only code I have in there at the moment for \
testing is the just definition of a KExifData object.<br><br>#include \
&lt;libkexif/kexifdata.h&gt; <br>..<br>..<br>void \
ImagesGallery::createBody(QTextStream&amp; stream, const QStringList&amp; \
subDirList,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
const KURL&amp; url, const QString&amp; \
imageFormat,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs \
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
const QString&amp; TargetimagesFormat) \
<br>{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<br>..<br>..<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // define KExifData object \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KExifData exifData;<br>}<br><br>I think the \
problem is that I need to install a libkexif-devel package but I can't find one \
anywhere and I don't remember doing this for Suse  9.3.<br>libkexif 0.2.2 from \
Packman.<br>I also tried installing libkexif from the source code (using \
checkinstall) but this didn't help (could a &quot;make install&quot; make a differnce \
here?)<br>I also tried putting the libkexif tree into the kipi-plugins tree (at the \
same level as the kipi-plugins folder) and generated a new configure script using \
make -f  Makefile.cvs. and ran configure and make.<br>When I do this libkexif is \
compiled and ImagesGallery compiles but again I get the exact same linker \
error.<br>Where can I get a libkexif-devel package for suse 10.0 or does anyone have \
any other ideas? <br><br>Thanks,<br></div><div style="direction: ltr;"><span \
class="sg"><br>Con<br>

</span></div>



_______________________________________________
Kde-extra-gear mailing list
Kde-extra-gear@kde.org
https://mail.kde.org/mailman/listinfo/kde-extra-gear


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

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