[galib] bcb problem with GA{Real, String}Genome

Tomasz Samotyjak samotyjak at pwsz.elblag.pl
Tue Mar 2 05:44:59 EST 2004


I have problem with GARealGenome and GAStringGenome. Compiling under 
BCB have that error:

[C++ Error] GARealGenome.cpp(14): E2171 Body has already been defined 
for function 'GARealGenome::className() const'
[C++ Error] GARealGenome.cpp(15): E2171 Body has already been defined 
for function 'GARealGenome::classID() const'
[C++ Error] GARealGenome.cpp(19): E2171 Body has already been defined 
for function 'GARealGenome::GA1DArrayAlleleGenome(unsigned int,const 
GARealAlleleSet &,float (*)(GAGenome &),void *)'
[C++ Error] GARealGenome.cpp(33): E2171 Body has already been defined 
for function 'GARealGenome::GA1DArrayAlleleGenome(const 
GARealAlleleSetArray &,float (*)(GAGenome &),void *)'
[C++ Error] GARealGenome.cpp(46): E2171 Body has already been defined 
for function 'GARealGenome::~GA1DArrayAlleleGenome()'
[C++ Error] GARealGenome.cpp(55): E2171 Body has already been defined 
for function 'GARealGenome::read(istream &)'
[C++ Error] GARealGenome.cpp(85): E2171 Body has already been defined 
for function 'GARealAlleleSet::allele() const'
[C++ Error] GARealGenome.cpp(117): E2171 Body has already been defined 
for function 'GARealAlleleSet::allele(unsigned int) const'
the same examples with GAStringGenome. 
Anybody know how to solve that problem?
P.S. Other kinds of genomes work ok.

Pozdrawiam
Tomasz Samotyjak
asystent PWSZ



More information about the galib mailing list