This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HELP: GAlib


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]