This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: HELP: GAlib
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Anna Szekér <kordely at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 11 Feb 2014 15:52:48 +0100 (CET)
- Subject: Re: HELP: GAlib
- Authentication-results: sourceware.org; auth=none
- References: <CAJ=_NYC2dJ5-SmmH9ZAyOXkrv83vLfMqkCpkejtjt9ikiWVoeA at mail dot gmail dot com>
- Reply-to: gcc-help at gcc dot gnu dot org
On Tue, 11 Feb 2014, Anna Szekér wrote:
Hello for everyone,
I would use galib
http://lancet.mit.edu/ga/
but g++ cannot find the library:
g++ -I /usr/include/ga example.cc
That -I is telling the compiler to look for
/usr/include/ga/ga/GA2DArrayGenome
Notice something wrong?
example.cc:1:30: error: ga/GA2DArrayGenome does not exist
example.cc:2:25: error: ga/GASimpleGA does not exist
example.cc:3:21: error: ga/GAList does not exist
example.cc:4:27: error: ga/GAStatistics does not exist
Missing .h at the end of the name? Look at the files in /usr/include/ga,
there isn't one called GA2DArrayGenome, just like the error message is
telling you...
--
Marc Glisse