[Paradiseo-help] Update: Re: Just Beginning, Nothing Runs

Paul E. MacNeil (SEE) see at paulemacneil.com
Ven 11 Juin 01:09:18 CEST 2010


1.  I kept trying with version 1.2.1, using every include path (to make, 
and to c++/g++) I could think of, without success.

2.  I then installed version 1.2, and it compiled and ran without a problem.

     Hope this helps.

     Thanks for developing these wonderful tools. They offer great 
prospects for research.

     I wish I had not forgotten so much of the little bit of French that 
I learned in High School, long ago.

         Cheers!

                 Paul MacNeil

-------- Original Message --------
Subject: 	Re: [Paradiseo-help] Just Beginning, Nothing Runs
Date: 	Thu, 10 Jun 2010 11:19:27 -0400
From: 	Paul E. MacNeil <macneil_pe at mercer.edu>
Reply-To: 	macneil_pe at mercer.edu
Organization: 	Mercer University/School of Engineering
To: 	paradiseo-help at lists.gforge.inria.fr



  I don't know if this helps, but here is a more complete listing from
my most recent attempt:

>  paul at paul-desktop:~/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1$
>  ls
>  CMakeCache.txt CMakeLists.txt FirstRealGA.cpp Makefile-Lesson1.mk
>  CMakeFiles exercise1.3.cpp Makefile Makefile.simple
>  cmake_install.cmake FirstBitGA.cpp Makefile.am nbproject
>  paul at paul-desktop:~/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1$
>  make -I /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/src
>  [ 33%] Building CXX object CMakeFiles/FirstBitGA.dir/FirstBitGA.o
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:17:14:
>  error: eo: No such file or directory
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:18:16:
>  error: ga.h: No such file or directory
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:30:
>  error: expected initializer before ‘<’ token
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:37:
>  error: ISO C++ forbids declaration of ‘Indi’ with no type
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:37:
>  error: expected ‘,’ or ‘...’ before ‘&’ token
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:
>  In function ‘double binary_value(int)’:
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:40:
>  error: ‘_indi’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:
>  In function ‘void main_function(int, char**)’:
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:65:
>  error: ‘rng’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:72:
>  error: ‘eoEvalFuncPtr’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:72:
>  error: ‘Indi’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:72:
>  error: ‘eval’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:80:
>  error: ‘eoPop’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:80:
>  error: ‘pop’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:84:
>  error: expected ‘;’ before ‘v’
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:88:
>  error: ‘v’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:90:
>  error: ‘v’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:112:
>  error: ‘eoDetTournamentSelect’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:112:
>  error: ‘select’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:124:
>  error: ‘eo1PtBitXover’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:124:
>  error: ‘xover’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:127:
>  error: ‘eoBitMutation’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:127:
>  error: ‘mutation’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:135:
>  error: ‘eoGenContinue’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:135:
>  error: ‘continuator’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:145:
>  error: ‘eoSGA’ was not declared in this scope
>  /home/paul/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:146:
>  error: ‘gga’ was not declared in this scope
>  make[2]: *** [CMakeFiles/FirstBitGA.dir/FirstBitGA.o] Error 1
>  make[1]: *** [CMakeFiles/FirstBitGA.dir/all] Error 2
>  make: *** [all] Error 2
>  paul at paul-desktop:~/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1$
>

Thanks for trying to help,

Paul


On 06/10/2010 05:23 AM, paradiseo-help wrote:
>
>  Hello,
>
>  Do you install Paradiseo by this way?
>  In paradiseo directory, enter the command line:
>  bash installParadiseo.sh
>
>  Regards,
>  Paradiseo Team.
>
>  Paul MacNeil a écrit :
>  >  I thought I had followed the installation instructions, but can't get
>  >  Lesson1 to make. Here is a small sample from my command line:
>  >
>  >
>  >>
>  macneil at macneil-desktop:~/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1$
>  >>  ls
>  >>  CMakeCache.txt CMakeLists.txt FirstRealGA.cpp Makefile.simple
>  >>  CMakeFiles exercise1.3.cpp Makefile
>  >>  cmake_install.cmake FirstBitGA.cpp Makefile.am
>  >>
>  macneil at macneil-desktop:~/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1$
>  >>  make -I /home/macneil/paradiseo/paradiseo-1.2.1/paradiseo-eo/
>  >>  [ 33%] Building CXX object CMakeFiles/FirstBitGA.dir/FirstBitGA.o
>  >>
>  /home/macneil/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:16:14:
>  >>  error: eo: No such file or directory
>  >>
>  /home/macneil/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:17:16:
>  >>  error: ga.h: No such file or directory
>  >>
>  /home/macneil/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:25:
>  >>  error: expected initializer before �<� token
>  >>
>  /home/macneil/paradiseo/paradiseo-1.2.1/paradiseo-eo/tutorial/Lesson1/FirstBitGA.cpp:32:
>  >>  error: ISO C++ forbids declaration of �Indi� with no type
>  >>
>  >
>  >  After a few hours of trying various attempted fixes, I've gotten nothing
>  >  better than this.
>  >
>  >  Any help would be appreciated.
>  >
>  >  Thank you,
>  >
>  >  Paul MacNeil
>  >
>  >
>  >  _______________________________________________
>  >  Paradiseo-help mailing list
>  >  Paradiseo-help at lists.gforge.inria.fr
>  >  http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/paradiseo-help
>  >
>

-- 
-- 
-----------------------------------------------------------------------
Paul E. MacNeil, Ph.D.
Associate Professor, Software Engineering Graduate Chair
School of Engineering
Mercer University
1400 Coleman Avenue
Macon, Georgia 31207
voice: (478) 301-2185
fax: (478) 301-2732
email: macneil_pe at mercer.edu
http://faculty.mercer.edu/macneil_pe/Courses.html
http://engineering.mercer.edu/academics/gradpgms_sess.htm
http://www.paulemacneil.com/

"Luck is what happens when preparation meets opportunity." - Seneca the Younger






Plus d'informations sur la liste de diffusion Paradiseo-help