<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi,</DIV>
<DIV>I've problems with compilation of all examples (Windows XP Pro and <FONT
face=Arial size=2>Borland C++ 5.6 for Win32)</FONT>. I've created stub for
library that i built in Visual 6.0 (with Coff2Omf ... ). I've added that new lib
into project in builder and if I define NO_STREAMS in gaconfig.h there are 3
errors:</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In ex11.cpp:</FONT><BR>in line
<BR> cout << genome.score() << "):\n" <<
genome << "\n";<BR> [C++ Error]
GAProg.cpp(93): E2094 'operator<<' not implemented in type '_STL::ostream'
for arguments of type 'GAListGenome<int>'<BR><BR>in line
<BR> cout << ga.parameters() <<
"\n";<BR> [C++ Error] GAProg.cpp(95): E2094
'operator<<' not implemented in type '_STL::ostream' for arguments of type
'GAParameterList'<BR><BR>and in <BR>int
GAListGenome<int>::write(std::ostream & os) const<BR>{ ... }<BR>
[C++ Error] GAProg.cpp(159): E2316 'GAListGenome<int>::write(_STL::ostream
&) const' is not a member of 'GAListGenome<int>'<BR><BR><BR>and if I
DON'T define NO_STREAMS in gaconfig.h there are 26 errors like this :))
:<BR>
<BR> [Linker Error] Unresolved external
'GAParameterList::~GAParameterList()' referenced from C:\PROGRAM
FILES\BORLAND\CBUILDER6\PROJECTS\GAPROG.OBJ<BR> [Linker Error] Unresolved
external 'GAListGenome<int>::~GAListGenome<int>()' referenced from
C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\GAPROG.OBJ<BR>.......<BR></DIV>
<DIV><FONT face=Arial size=2>With Visual I dont have any problems ...
unfortunately i have to use Builder
...</FONT><BR>HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!!!<BR>Can anyone advise me how
to solve this problems?? || Can anyone send me working Borland C++ Builder
6.0 Project of GALib zipped up that
works?<BR><BR><BR><BR> Marcio</DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV></BODY></HTML>