Skip to content
Marcelo S. Reis edited this page Jul 3, 2017 · 2 revisions

In order to install featsel, after unzip the software package, you need to input the commands explained below. These commands must be called from inside of the directory where it was unzipped.


Compiling the main program and the unit tests

To compile the main program, just open a terminal and type:

> make

To compile the unit tests, type:

> make test

The Extended Markup Language (XML) parser

Warning: this procedure requires GNU Bison and GNU Flex.

After the modifications in the XML parser files, type:

> make bison

and then:

> make flex

Updating 'featsel.cpp' and 'featselTest.cpp' files

Warning: this procedure requires Perl 5.

Just type:

> make featsel.cpp

and

> make featselTest.cpp

to update the featsel program main and unit test main files, respectively.

After a successful addition of new algorithms and/or cost functions, these two commands are executed automatically.


Compiling the help man page

Warning: this procedure requires GNU groff.

Just type:

> make help

to update the help man page (file "docs/featsel.txt").


Compiling everything at once

Warning: this procedure requires Perl 5, GNU Bison, Flex and groff.

Just type:

> make all

in order to compile at once everything listed in items (3.1)--(3.4).


Cleaning objects and binaries

To remove the objects and binaries produced by the compiler, type:

> make clean

Back to home