[galib] Compile GAlib with Mingw

Jorge Seixal jseixal at gmail.com
Sun Aug 28 16:44:04 EDT 2005


   Hello!
 
   I tried to compile GAlib using a Mingw compiler on WinXP but I get the
following errors:
 
D:/Temp/galib246/ga/GARealGenome.C:19: error: specialization of T
GAAlleleSet<T>::allele() const [with T = float] after instantiation
D:/Temp/galib246/ga/GARealGenome.C:19: error: prototype for `T
GAAlleleSet<T>::allele() const [with T = float]' does not match any in class
`GAAlleleSet<float>'
D:/Temp/galib246/ga/GAAllele.C:231: error: candidates are: T
GAAlleleSet<T>::allele(unsigned int) const [with T = float]
D:/Temp/galib246/ga/GAAllele.C:211: error:                 T
GAAlleleSet<T>::allele() const [with T = float]
D:/Temp/galib246/ga/GARealGenome.C:19: error: `T GAAlleleSet<T>::allele()
const [with T = float]' and `T GAAlleleSet<T>::allele() const [with T =
float]' cannot be overloaded
D:/Temp/galib246/ga/GARealGenome.C:51: error: specialization of T
GAAlleleSet<T>::allele(unsigned int) const [with T = float] after
instantiation
D:/Temp/galib246/ga/GARealGenome.C:51: error: prototype for `T
GAAlleleSet<T>::allele(unsigned int) const [with T = float]' does not match
any in class `GAAlleleSet<float>'
D:/Temp/galib246/ga/GAAllele.C:231: error: candidates are: T
GAAlleleSet<T>::allele(unsigned int) const [with T = float]
D:/Temp/galib246/ga/GAAllele.C:211: error:                 T
GAAlleleSet<T>::allele() const [with T = float]
D:/Temp/galib246/ga/GARealGenome.C:51: error: `T
GAAlleleSet<T>::allele(unsigned int) const [with T = float]' and `T
GAAlleleSet<T>::allele(unsigned int) const [with T = float]' cannot be
overloaded
 
   Does anyone know if there is a solution for these errors? Can GAlib be
compiled using a Mingw compiler? I have limited knowledge of C++ or OO
languages.
 
   Thanks for any replies.
Jorge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20050828/6e1c68f8/attachment.htm


More information about the galib mailing list