galib 245

G.Spagnuolo spanish at ieee.org
Tue Apr 10 07:35:36 EDT 2001


Hi,
thanks a lot for your support, but your suggestions didn't solve my problems.
The message of Dr.Wilson you forwarded refers to the version 244 that 
includes the project file, while version 245 doesn't include any project. 
So I have used the msvcpp5.zip downloaded by the ftp site.
Nevertheless, I think that the problem arise from some setting in the 
project file that  doesn't go with galib 245. In fact, if you open the file 
compile-errors.txt included in the archive msvcpp5.zip, you see that the 
test was done on the version 243 of the library.
Thanks again.

Bye for now.

G.Spagnuolo


Deleting intermediate files and output files for project 'ex1 - Win32 Debug'.
--------------------Configuration: ex1 - Win32 Debug--------------------
Compiling...
ex1.C
..\..\ga/GAParameter.h(94) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAParameter.h(96) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GAParameter.h(107) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAParameter.h(107) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAParameter.h(109) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GAParameter.h(109) : error C2872: 'istream' : ambiguous symbol
..\..\ga/gaerror.h(123) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAGenome.h(210) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GAGenome.h(212) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAGenome.h(278) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAGenome.h(278) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAGenome.h(280) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GAGenome.h(280) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GAPopulation.h(177) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GAPopulation.h(178) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAPopulation.h(222) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAPopulation.h(222) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAPopulation.h(224) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GAPopulation.h(224) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GAStatistics.h(97) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAStatistics.h(99) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAStatistics.h(206) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GAStatistics.h(206) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GABaseGA.h(142) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GABaseGA.h(144) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GABaseGA.h(157) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GASimpleGA.h(64) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GASimpleGA.h(64) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GASimpleGA.h(66) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GASimpleGA.h(66) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GA2DBinStrGenome.h(63) : error C2872: 'istream' : ambiguous symbol
..\..\ga/GA2DBinStrGenome.h(64) : error C2872: 'ostream' : ambiguous symbol
..\..\ga/GA2DBinStrGenome.h(63) : error C2872: 'cin' : ambiguous symbol
..\..\ga/GA2DBinStrGenome.h(64) : error C2872: 'cout' : ambiguous symbol
C:\giovanni\visual\galib245\examples\ex1.C(28) : error C2872: 'cout' : 
ambiguous symbol
C:\giovanni\visual\galib245\examples\ex1.C(29) : error C2872: 'cout' : 
ambiguous symbol
C:\giovanni\visual\galib245\examples\ex1.C(30) : error C2872: 'cout' : 
ambiguous symbol
C:\giovanni\visual\galib245\examples\ex1.C(30) : error C2872: 'cout' : 
ambiguous symbol
C:\giovanni\visual\galib245\examples\ex1.C(70) : error C2872: 'cout' : 
ambiguous symbol
Error executing cl.exe.

ex1.exe - 39 error(s), 0 warning(s)



At 10.35 09/04/01 +0100, you wrote:
>Hi,
>
>These links should probably help you in solving your problem.
>There are for VC++ 6, but I presume that it should be similar with
>VC++5:
>
>http://lancet.mit.edu/galib-mail-archive/355.html
>http://lancet.mit.edu/galib-mail-archive/354.html
>
>the below message is from Dr. Ian Wilson who helped me a lot
>when I had all sort of problems. Probably it would be a better
>choice if you download the following version of the galib (if you
>haven't done so already).
>
>Daniel,
>
>I am not sure which galib-2.4.4 you downloaded, there are two on
>the FTP
>site, namely:
>     the galib244.zip;
>     and the galib244-win.zip (which, unlike the above, contains a
>projects
>folder).
>
>I have just downloaded the galib244-win.zip at home, built it, and
>then
>downloaded both Windows demos (gademo and tspdemo), added
>them to the
>workspace that is created by the galib244-win.zip and built them
>too (after
>adjusting the referencing of the galib.lib). Aside from a few
>compilation
>warnings (I didn't include the warning suppression code in the
>gaconfig.h
>file), the console example and both windows examples work fine.
>
>You have probably done the same, but knowing for certain will help
>me assist
>you (should you require any further guidance).
>
>Good luck,
>
>Ian
>
>Regards,
>Daniel





--
Dr. Giovanni Spagnuolo, Ph.D.
Assistant Professor
University of Salerno
Dipartimento di Ingegneria dell'Informazione ed Ingegneria Elettrica
D.I.I.I.E.
Via Ponte Don Melillo
84084 Fisciano - Salerno - Italy
phone: +39 089 964258
fax: +39 089 964218
e-mail: spanish at ieee.org

"You can tell whether a man is clever by his answers.
You can tell whether a man is wise by his questions."
Naguib Mahfouz





More information about the galib mailing list