help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-GIFT] gift extension howto


From: Dayang Awg Iskandar
Subject: Re: [help-GIFT] gift extension howto
Date: Tue, 22 Mar 2005 16:32:46 +1100 (EST)

Hi,

> > Wolfgang worked a little bit on including retrieval by image regions
> > into MRML and this is detailed in one of the papers on MRML.
> This concerned only additions to MRML, there was never any code doing it.

Reading the mailing list, this is apart of my study interest.
One of my task will be working on how to integrate retrieval by image
region using some code, and I am planning to make it as a GIFT plugin.

> > The features will need to be added in the FeatureExtraction directory in
> > the main gift tree.
> Oh, there are a couple of things to do. There is first feature extraction, as
> you say.
> Then there is creating an extended/changed query engine.
>
> There is a PluginMaker directory. I used it last 2 years ago, and I think I
> was the only user. I would be glad if someone tried it out again. The
> PluginMaker will create for you valid but empty GIFT plugins that can be
> filled with your code.

I have a copy of plugin-how-to written in May 2003 by Alex. I don't know
whether it is still ok to follow that (if there is a latest
document, can I have a copy). Anyway, I tried the PluginMaker
according to the document. It did create a Gift plugin
templete. Based on the document: without changing anything, I should be
able to compile and
install the empty plugin. But, when I "make all" it gave me this error:

make  all-recursive
make[1]: Entering directory `/home/dayang/GIFT/giftdayang/GIFTPlugin-foo'
Making all in libGIFTAcfoo
make[2]: Entering directory
`/home/dayang/GIFT/giftdayang/GIFTPlugin-foo/libGIFTAcfoo'
Making all in include
make[3]: Entering directory
`/home/dayang/GIFT/giftdayang/GIFTPlugin-foo/libGIFTAcfoo/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/dayang/GIFT/giftdayang/GIFTPlugin-foo/libGIFTAcfoo/include'
Making all in cc
make[3]: Entering directory
`/home/dayang/GIFT/giftdayang/GIFTPlugin-foo/libGIFTAcfoo/cc'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I../.. -DHAS_BOOL -I/usr/local/include -g -O2 -DEF_PROTECT_BELOW=1
-DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42  -I
/usr/include/mysql -I/usr/local/include    -g -O2 -DEF_PROTECT_BELOW=1
-DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42  -MT plug_in_fo.lo
-MD -MP -MF ".deps/plug_in_fo.Tpo" -c -o plug_in_fo.lo plug_in_fo.cc; \
then mv -f ".deps/plug_in_fo.Tpo" ".deps/plug_in_fo.Plo"; else rm -f
".deps/plug_in_fo.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAS_BOOL -I/usr/local/include -g
-O2 -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8
-DEF_FILL=42 -I /usr/include/mysql -I/usr/local/include -g -O2
-DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8
-DEF_FILL=42 -MT plug_in_fo.lo -MD -MP -MF .deps/plug_in_fo.Tpo -c
plug_in_fo.cc  -fPIC -DPIC -o .libs/plug_in_fo.o
In file included from
/usr/local/include/libMRML/include/CAccessorAdmin.h:26,
                 from
/usr/local/include/libMRML/include/CAccessorAdminCollection.h:28,
                 from plug_in_fo.cc:2:
/usr/local/include/libMRML/include/CSelfDestroyPointer.h: In member
function `CSelfClonePointer<T>& CSelfClonePointer<T>::operator=(const
CSelfClonePointer<T>&)':
/usr/local/include/libMRML/include/CSelfDestroyPointer.h:204: error:
`mPointer' undeclared (first use this function)
/usr/local/include/libMRML/include/CSelfDestroyPointer.h:204: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
/usr/local/include/libMRML/include/CSelfDestroyPointer.h: In copy
constructor `CSelfClonePointer<T>::CSelfClonePointer(const
CSelfClonePointer<T>&)':
/usr/local/include/libMRML/include/CSelfDestroyPointer.h:226: error:
`mPointer' undeclared (first use this function)
make[3]: *** [plug_in_fo.lo] Error 1
make[3]: Leaving directory
`/home/dayang/GIFT/giftdayang/GIFTPlugin-foo/libGIFTAcfoo/cc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/dayang/GIFT/giftdayang/GIFTPlugin-foo/libGIFTAcfoo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dayang/GIFT/giftdayang/GIFTPlugin-foo'
make: *** [all] Error 2

Hope you can help me. If not mistaken, David mentioned that one of his
student
have done something on region based retrievel with GIFT, Is there any
paper that I can read regarding this matter?

Thanks,
Dayang





reply via email to

[Prev in Thread] Current Thread [Next in Thread]