help-gift
[Top][All Lists]
Advanced

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

[help-GIFT] inclusion of new classes


From: Wolfgang Müller
Subject: [help-GIFT] inclusion of new classes
Date: Tue, 5 Dec 2000 14:22:26 +0100 (GMT-1)

Hi,
Thanks a lot for the question

MH> where do I have to insert new classes to have them included correctly
MH> into all Makefiles and what do I have to do to compile them properly? I
MH> am doing some modifications of the libInverted file part.

OK for this one has to look a bit at the way a system is configured.

When you install GIFT (or any other GNU package), you first call
./configure . ./configure will perform a number of tests, and it will
say in the end that it is creating makefiles (a whole list of them,
something like 30 in the GIFT case in my current development
tree). These makefiles are created on the based on the Makefile.am
which you will find in most GIFT directorys. If you are adding a class 
which does not need any additional flags from the configuration, you
are done by looking in the Makefile.am closest to your source, and
adding the *.cc file list which you will be seing your *.cc file. You
will then have to go into the GIFT base directory and run there

% automake
% autoconf

After that your make files should contain your new addition and things 
should compile as you want them to compile

Cheers,
Wolfgang

-- 
Wolfgang Müller, assistant-doctorant
Group Home Page:   http://vision.unige.ch/
    Viper's new name is: The GIFT. 
The GIFT is the GNU Image Finding Tool!
Get it at: ftp://ftp.gnu.org/gnu/gift/




reply via email to

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