<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Gilles Caulier</b> <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>></span><br>
Date: 2008/11/4<br>Subject: Re: Including blob lib into kipi-plugin<br>To: Andi Clemens <<a href="mailto:andi.clemens@gmx.net">andi.clemens@gmx.net</a>><br><br><br>Andi,<br><br>Your plugin compile fine now. i have tested with a serie of images and it's work perfectly...<br>
<br>There is a screenshot available here :<br><br><a href="http://www.flickr.com/photos/digikam/3001770179/sizes/o/" target="_blank">http://www.flickr.com/photos/digikam/3001770179/sizes/o/</a><br>
<br>I recommend you to post a new blog entry in <a href="http://digikam.org" target="_blank">digikam.org</a> to announce availability of your tool and to have feedback from users. You can use this embeded link to flickr with your post :<br>
<br><a href="<a href="http://www.flickr.com/photos/digikam/3001770179/" target="_blank">http://www.flickr.com/photos/digikam/3001770179/</a>" title="new batch red eyes removal tool by cauliergilles, on Flickr"><img src="<a href="http://farm4.static.flickr.com/3192/3001770179_9af82b2497.jpg" target="_blank">http://farm4.static.flickr.com/3192/3001770179_9af82b2497.jpg</a>" width="500" height="377" alt="new batch red eyes removal tool" /></a><div>
<div></div><div class="Wj3C7c"><br>
<br>Gilles<br><br><br><div class="gmail_quote">2008/11/4 Andi Clemens <span dir="ltr"><<a href="mailto:andi.clemens@gmx.net" target="_blank">andi.clemens@gmx.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Gilles,<br>
<br>
I'm still not that familiar with C++ and its libs, in Python it would be easy<br>
to include new libs into a program: just copy them into the folder and that's<br>
it.<br>
But I guess this is not how it works in C++ / CMake.<br>
I created a folder libs/blob inside the plugin and copied all *.h and *.cpp<br>
files into it.<br>
Now I need to create a CMakeLists.txt that defines this folder as a library,<br>
right?<br>
Do you think I can just copy the sqlite3 files as an example or will this not<br>
work since sqlite3 is already compiled?<br>
Do I have to actually compile the blob lib and only use the header files and<br>
the libblob.a file in there?<br>
Dies this mean it will not work on windows? To make it work there I think I<br>
need to have the blob*.cpp files in there, too?<br>
<br>
You see CMake and C++ in general still is a big confusion for me sometimes,<br>
like the 'delete' statement crashing my application etc... :-)<br>
But I will learn...!<br>
<br>
Andi<br>
<br>
On Tuesday 04 November 2008 10:58:43 Gilles Caulier wrote:<br>
> blob cv lib is very small. A possible way is to include code in your plugin<br>
> as well...<br>
><br>
> Gilles<br>
><br>
> 2008/11/4 Andi Clemens <<a href="mailto:andi.clemens@gmx.net" target="_blank">andi.clemens@gmx.net</a>><br>
><br>
> > There is another needed lib for openCV that I manually copied into my<br>
> > openCV<br>
> > system folder: OpenCV Blob Detection library<br>
> > (<a href="http://opencvlibrary.sourceforge.net/cvBlobsLib" target="_blank">http://opencvlibrary.sourceforge.net/cvBlobsLib</a>).<br>
> ><br>
> > I don't know if distributions prepare packages for it, Archlinux does not<br>
> > s far as I know.<br>
> ><br>
> > This is a problem, how to solve this?<br>
> ><br>
> > Andi<br>
> ><br>
> > On Tuesday 04 November 2008 09:40:09 Gilles Caulier wrote:<br>
> > > SVN commit 879865 by cgilles:<br>
> > ><br>
> > > update<br>
> > ><br>
> > ><br>
> > > M +4 -1 README<br>
> > ><br>
> > ><br>
> > > --- trunk/extragear/graphics/kipi-plugins/README #879864:879865<br>
> > > @@ -32,8 +32,9 @@<br>
> > > RawConverter : A tool to convert Raw Image to JPEG/PNG/TIFF.<br>
> > > DngConverter : A tool to convert Raw Image to Digital NeGative<br>
> ><br>
> > (DNG<br>
> ><br>
> > > -<br>
> > > <a href="http://en.wikipedia.org/wiki/Digital_Negative_%28file_format%29" target="_blank">http://en.wikipedia.org/wiki/Digital_Negative_(file_format)</a><<a href="http://en.w" target="_blank">http://en.w</a><br>
> > ><a href="http://ikipedia.org/wiki/Digital_Negative_%28file_format%29" target="_blank">ikipedia.org/wiki/Digital_Negative_%28file_format%29</a>>).<br>
> ><br>
> > WallPaper<br>
> ><br>
> > > : A tool to set image to KDE Desktop.<br>
> > ><br>
> > > +RemoveRedEyes : A tool to remove red eyes on image automatically.<br>
> > ><br>
> > > -Plugins not yet ported to Qt4/KDE4:<br>
> > > +Plugins not yet ported to Qt4/KDE4 (or under progress):<br>
> > ><br>
> > > IpodExport : A tool to export pictures to an Ipod device.<br>
> > > MpegEncoder : A tool to create an MPEG slideshow with a set of<br>
> > > images. @@ -63,6 +64,7 @@<br>
> > > libexpat >= 2.0.1<br>
> > > <a href="http://expat.sourceforge.net" target="_blank">http://expat.sourceforge.net</a> libqtopengl >= 4.3.x<br>
> > > <a href="http://www.trolltech.com" target="_blank">http://www.trolltech.com</a> Mesa3D >= 7.0.4<br>
> > > <a href="http://mesa3d.sourceforge.net" target="_blank">http://mesa3d.sourceforge.net</a> +libopencv >= 1.0<br>
> > > <a href="http://opencv.willowgarage.com" target="_blank">http://opencv.willowgarage.com</a><br>
> > ><br>
> > > Plugin Specific Dependencies (for compiling and for running) :<br>
> > ><br>
> > > @@ -73,6 +75,7 @@<br>
> > > htmlexport : libxslt and libxml2<br>
> > > jpeglossless : imagemagick (runtime dependency)<br>
> > > wallpaper : kdebase (runtime dependency)<br>
> > > +RemoveRedEyes : libopencv.<br>
> > ><br>
> > > -- CONTACT<br>
> > > ------------------------------------------------------------<br>
> ><br>
> > _______________________________________________<br>
> > Kde-imaging mailing list<br>
> > <a href="mailto:Kde-imaging@kde.org" target="_blank">Kde-imaging@kde.org</a><br>
> > <a href="https://mail.kde.org/mailman/listinfo/kde-imaging" target="_blank">https://mail.kde.org/mailman/listinfo/kde-imaging</a><br>
<br>
</blockquote></div><br>
</div></div></div><br>