[galib] galib Digest, Vol 65, Issue 4

=?GB2312?B?1dTJ6g==?= rch.zhao at gmail.com
Sat Jan 3 19:34:19 EST 2009


install libga.a ,
then link it in the project,
the manual of GALib may be helpful.
Hope it works.


2008/12/31 <galib-request at mit.edu>

> Send galib mailing list submissions to
>        galib at mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mailman.mit.edu/mailman/listinfo/galib
> or, via email, send a message with subject or body 'help' to
>        galib-request at mit.edu
>
> You can reach the person managing the list at
>        galib-owner at mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of galib digest..."
>
>
> Today's Topics:
>
>   1. new user needs help (haidi emade el dean)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 30 Dec 2008 12:16:45 +0000
> From: haidi emade el dean <haidi_badr2 at hotmail.com>
> Subject: [galib] new user needs help
> To: <galib at mit.edu>
> Message-ID: <COL103-W324433F4D71D4002D96641DAE70 at phx.gbl>
> Content-Type: text/plain; charset="windows-1256"
>
>
> hello,
> Please i'm a new user to GALIB, i downloaded galib247 under suse 10.3
> i created a c++ project and rename ex1.c to ex1.cpp add add it as a file in
> this project but when i tried to compile it i received this msg:
>
> ---------------------------------------------------------------------------------------------------------------------------------------------
> ex1.o: In function `main':
> /home/haidi/GAlib1/src/ex1.cpp:55: undefined reference to
> `GA2DBinaryStringGenome::GA2DBinaryStringGenome(unsigned int, unsigned int,
> float (*)(GAGenome&), void*)'
> /home/haidi/GAlib1/src/ex1.cpp:62: undefined reference to
> `GASimpleGA::GASimpleGA(GAGenome const&)'
> /home/haidi/GAlib1/src/ex1.cpp:63: undefined reference to
> `GASimpleGA::populationSize(unsigned int)'
> /home/haidi/GAlib1/src/ex1.cpp:71: undefined reference to
> `GAStatistics::bestIndividual(unsigned int) const'
> /home/haidi/GAlib1/src/ex1.cpp:74: undefined reference to
> `GASimpleGA::~GASimpleGA()'
> /home/haidi/GAlib1/src/ex1.cpp:74: undefined reference to
> `GASimpleGA::~GASimpleGA()'
> /home/haidi/GAlib1/src/ex1.cpp:74: undefined reference to
> `GA2DBinaryStringGenome::~GA2DBinaryStringGenome()'
> /home/haidi/GAlib1/src/ex1.cpp:74: undefined reference to
> `GA2DBinaryStringGenome::~GA2DBinaryStringGenome()'
> ex1.o: In function `GAParameterList::set(char const*, unsigned int)':
> /home/haidi/GAlib1/src/ga/GAParameter.h:78: undefined referen
> ce to `GAParameterList::set(char const*, void const*)'
> ex1.o: In function `GAGeneticAlgorithm::pMutation(float)':
> /home/haidi/GAlib1/src/ga/GABaseGA.h:186: undefined reference to
> `GAParameterList::set(char const*, double)'
> ex1.o: In function `GAGeneticAlgorithm::pCrossover(float)':
> /home/haidi/GAlib1/src/ga/GABaseGA.h:183: undefined reference to
> `GAParameterList::set(char const*, double)'
> ex1.o: In function `GAGeneticAlgorithm::evolve(unsigned int)':
> /home/haidi/GAlib1/src/ga/GABaseGA.h:138: undefined reference to
> `GAStatistics::flushScores()'
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> i will be thankful for any help please
> thank you for your time
>
>
>
> _________________________________________________________________
> News, entertainment and everything you care about at Live.com. Get it now!
> http://www.live.com/getstarted.aspx
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.mit.edu/pipermail/galib/attachments/20081230/ef8739ea/attachment-0001.htm
>
> ------------------------------
>
> _______________________________________________
> galib mailing list
> galib at mit.edu
> http://mailman.mit.edu/mailman/listinfo/galib
>
>
> End of galib Digest, Vol 65, Issue 4
> ************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20090104/892b0495/attachment.htm


More information about the galib mailing list