install libga.a ,<br>then link it in the project,<br>the manual of GALib may be helpful.<br>Hope it works.<br><br><br><div class="gmail_quote">2008/12/31 <span dir="ltr"><<a href="mailto:galib-request@mit.edu">galib-request@mit.edu</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send galib mailing list submissions to<br>
<a href="mailto:galib@mit.edu">galib@mit.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://mailman.mit.edu/mailman/listinfo/galib" target="_blank">http://mailman.mit.edu/mailman/listinfo/galib</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:galib-request@mit.edu">galib-request@mit.edu</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:galib-owner@mit.edu">galib-owner@mit.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of galib digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. new user needs help (haidi emade el dean)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 30 Dec 2008 12:16:45 +0000<br>
From: haidi emade el dean <<a href="mailto:haidi_badr2@hotmail.com">haidi_badr2@hotmail.com</a>><br>
Subject: [galib] new user needs help<br>
To: <<a href="mailto:galib@mit.edu">galib@mit.edu</a>><br>
Message-ID: <COL103-W324433F4D71D4002D96641DAE70@phx.gbl><br>
Content-Type: text/plain; charset="windows-1256"<br>
<br>
<br>
hello,<br>
Please i'm a new user to GALIB, i downloaded galib247 under suse 10.3<br>
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:<br>
---------------------------------------------------------------------------------------------------------------------------------------------<br>
ex1.o: In function `main':<br>
/home/haidi/GAlib1/src/ex1.cpp:55: undefined reference to `GA2DBinaryStringGenome::GA2DBinaryStringGenome(unsigned int, unsigned int, float (*)(GAGenome&), void*)'<br>
/home/haidi/GAlib1/src/ex1.cpp:62: undefined reference to `GASimpleGA::GASimpleGA(GAGenome const&)'<br>
/home/haidi/GAlib1/src/ex1.cpp:63: undefined reference to `GASimpleGA::populationSize(unsigned int)'<br>
/home/haidi/GAlib1/src/ex1.cpp:71: undefined reference to `GAStatistics::bestIndividual(unsigned int) const'<br>
/home/haidi/GAlib1/src/ex1.cpp:74: undefined reference to `GASimpleGA::~GASimpleGA()'<br>
/home/haidi/GAlib1/src/ex1.cpp:74: undefined reference to `GASimpleGA::~GASimpleGA()'<br>
/home/haidi/GAlib1/src/ex1.cpp:74: undefined reference to `GA2DBinaryStringGenome::~GA2DBinaryStringGenome()'<br>
/home/haidi/GAlib1/src/ex1.cpp:74: undefined reference to `GA2DBinaryStringGenome::~GA2DBinaryStringGenome()'<br>
ex1.o: In function `GAParameterList::set(char const*, unsigned int)':<br>
/home/haidi/GAlib1/src/ga/GAParameter.h:78: undefined referen<br>
ce to `GAParameterList::set(char const*, void const*)'<br>
ex1.o: In function `GAGeneticAlgorithm::pMutation(float)':<br>
/home/haidi/GAlib1/src/ga/GABaseGA.h:186: undefined reference to `GAParameterList::set(char const*, double)'<br>
ex1.o: In function `GAGeneticAlgorithm::pCrossover(float)':<br>
/home/haidi/GAlib1/src/ga/GABaseGA.h:183: undefined reference to `GAParameterList::set(char const*, double)'<br>
ex1.o: In function `GAGeneticAlgorithm::evolve(unsigned int)':<br>
/home/haidi/GAlib1/src/ga/GABaseGA.h:138: undefined reference to `GAStatistics::flushScores()'<br>
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
i will be thankful for any help please<br>
thank you for your time<br>
<br>
<br>
<br>
_________________________________________________________________<br>
News, entertainment and everything you care about at Live.com. Get it now!<br>
<a href="http://www.live.com/getstarted.aspx" target="_blank">http://www.live.com/getstarted.aspx</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mailman.mit.edu/pipermail/galib/attachments/20081230/ef8739ea/attachment-0001.htm" target="_blank">http://mailman.mit.edu/pipermail/galib/attachments/20081230/ef8739ea/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
galib mailing list<br>
<a href="mailto:galib@mit.edu">galib@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/galib" target="_blank">http://mailman.mit.edu/mailman/listinfo/galib</a><br>
<br>
<br>
End of galib Digest, Vol 65, Issue 4<br>
************************************<br>
</blockquote></div><br>