[galib] Visual Studio
Jami Da
jq8qpa.gu at gmail.com
Wed Apr 22 11:16:50 EDT 2020
To whom it may concern,
I'm writing to address my issue on running Galib on Visual Studio
2019. I followed all the steps here for Windows:
http://lancet.mit.edu/galib-2.4/Installation.html
I'm getting the following linking errors:
1>GARealGenome.obj
: error LNK2019: unresolved external symbol "public: static float __cdecl
GA1DArrayGenome<float>::ElementComparator(class GAGenome const
&,class GAGenome const &)"
(?ElementComparator@?$GA1DArrayGenome at M@@SAMABVGAGenome@@0 at Z) referenced in
function "public: __thiscall
GA1DArrayAlleleGenome<float>::GA1DArrayAlleleGenome<float>(class
GAAlleleSetArray<float> const &,float (__cdecl*)(class GAGenome
&),void *)"
(??0?$GA1DArrayAlleleGenome at M@@QAE at ABV?$GAAlleleSetArray at M@@P6AMAAVGAGenome@@@ZPAX at Z)
1>GARealGenome.obj
: error LNK2019: unresolved external symbol "public: static int __cdecl
GA1DArrayGenome<float>::UniformCrossover(class GAGenome const &,class
GAGenome const &,class GAGenome *,class GAGenome *)"
(?UniformCrossover@?$GA1DArrayGenome at M@@SAHABVGAGenome@@0PAV2 at 1@Z) referenced
in function "public: __thiscall
GA1DArrayAlleleGenome<float>::GA1DArrayAlleleGenome<float>(class
GAAlleleSetArray<float> const &,float (__cdecl*)(class GAGenome
&),void *)"
(??0?$GA1DArrayAlleleGenome at M@@QAE at ABV?$GAAlleleSetArray at M@@P6AMAAVGAGenome@@@ZPAX at Z)
1>GARealGenome.obj
: error LNK2019: unresolved external symbol "public: __thiscall
GA1DArrayGenome<float>::GA1DArrayGenome<float>(unsigned int,float
(__cdecl*)(class GAGenome &),void *)"
(??0?$GA1DArrayGenome at M@@QAE at IP6AMAAVGAGenome@@@ZPAX at Z) referenced in
function "public: __thiscall
GA1DArrayAlleleGenome<float>::GA1DArrayAlleleGenome<float>(class
GAAlleleSetArray<float> const &,float (__cdecl*)(class GAGenome
&),void *)"
(??0?$GA1DArrayAlleleGenome at M@@QAE at ABV?$GAAlleleSetArray at M@@P6AMAAVGAGenome@@@ZPAX at Z)
1>GARealGenome.obj
: error LNK2019: unresolved external symbol "public: virtual __thiscall
GA1DArrayGenome<float>::~GA1DArrayGenome<float>(void)"
(??1?$GA1DArrayGenome at M@@UAE at XZ) referenced in function
__unwindfunclet$??0?$GA1DArrayAlleleGenome at M@@QAE at ABV?$GAAlleleSetArray at M@@P6AMAAVGAGenome@@@ZPAX at Z$0
1>GARealGenome.obj
: error LNK2019: unresolved external symbol "public: static void __cdecl
GA1DArrayAlleleGenome<float>::UniformInitializer(class GAGenome
&)"
(?UniformInitializer@?$GA1DArrayAlleleGenome at M@@SAXAAVGAGenome@@@Z) referenced
in function "public: __thiscall
GA1DArrayAlleleGenome<float>::GA1DArrayAlleleGenome<float>(class
GAAlleleSetArray<float> const &,float (__cdecl*)(class GAGenome
&),void *)" (??0?$GA1DArrayAlleleGenome at M@@QAE at ABV?$GAAlleleSetArray at M@@P6AMAAVGAGenome@@@ZPAX at Z)
1>GARealGenome.obj
: error LNK2001: unresolved external symbol "public: virtual class
GAGenome * __thiscall GA1DArrayAlleleGenome<float>::clone(enum
GAGenome::CloneMethod)const "
(?clone@?$GA1DArrayAlleleGenome at M@@UBEPAVGAGenome@@W4CloneMethod at 2@@Z)
1>GARealGenome.obj
: error LNK2001: unresolved external symbol "public: virtual void
__thiscall GA1DArrayAlleleGenome<float>::copy(class GAGenome const
&)" (?copy@?$GA1DArrayAlleleGenome at M@@UAEXABVGAGenome@@@Z)
1>GARealGenome.obj
: error LNK2001: unresolved external symbol "public: virtual int
__thiscall GA1DArrayAlleleGenome<float>::write(class
std::basic_ostream<char,struct std::char_traits<char> > &)const
"
(?write@?$GA1DArrayAlleleGenome at M@@UBEHAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@@Z)
1>GARealGenome.obj
: error LNK2001: unresolved external symbol "public: virtual int
__thiscall GA1DArrayAlleleGenome<float>::equal(class GAGenome const
&)const " (?equal@?$GA1DArrayAlleleGenome at M@@UBEHABVGAGenome@@@Z)
1>GARealGenome.obj
: error LNK2001: unresolved external symbol "public: virtual int
__thiscall GA1DArrayAlleleGenome<float>::resize(int)"
(?resize@?$GA1DArrayAlleleGenome at M@@UAEHH at Z)
1>GARealGenome.obj
: error LNK2019: unresolved external symbol "public: __thiscall
GAAlleleSetCore<float>::GAAlleleSetCore<float>(class
GAAlleleSetCore<float> const &)"
(??0?$GAAlleleSetCore at M@@QAE at ABV0@@Z) referenced
in function "public:
class GAAlleleSet<float> & __thiscall
GAAlleleSet<float>::operator=(class GAAlleleSet<float> const
&)" (??4?$GAAlleleSet at M@@QAEAAV0 at ABV0@@Z)
1>GARealGenome.obj
: error LNK2019: unresolved external symbol "public: class
GAAlleleSetCore<float> & __thiscall
GAAlleleSetCore<float>::operator=(class GAAlleleSetCore<float>
const &)" (??4?$GAAlleleSetCore at M@@QAEAAV0 at ABV0@@Z) referenced
in function "public:
class GAAlleleSet<float> & __thiscall
GAAlleleSet<float>::operator=(class GAAlleleSet<float> const
&)" (??4?$GAAlleleSet at M@@QAEAAV0 at ABV0@@Z)
1>GAStringGenome.obj
: error LNK2019: unresolved external symbol "public: static float __cdecl
GA1DArrayGenome<char>::ElementComparator(class GAGenome const &,class
GAGenome const &)"
(?ElementComparator@?$GA1DArrayGenome at D@@SAMABVGAGenome@@0 at Z) referenced
in function
"public: __thiscall
GA1DArrayAlleleGenome<char>::GA1DArrayAlleleGenome<char>(class
GAAlleleSetArray<char> const &,float (__cdecl*)(class GAGenome
&),void *)"
(??0?$GA1DArrayAlleleGenome at D@@QAE at ABV?$GAAlleleSetArray at D@@P6AMAAVGAGenome@@@ZPAX at Z)
1>GAStringGenome.obj
: error LNK2019: unresolved external symbol "public: static int __cdecl
GA1DArrayGenome<char>::UniformCrossover(class GAGenome const &,class
GAGenome const &,class GAGenome *,class GAGenome *)"
(?UniformCrossover@?$GA1DArrayGenome at D@@SAHABVGAGenome@@0PAV2 at 1@Z) referenced
in function
"public: __thiscall
GA1DArrayAlleleGenome<char>::GA1DArrayAlleleGenome<char>(class
GAAlleleSetArray<char> const &,float (__cdecl*)(class GAGenome
&),void *)"
(??0?$GA1DArrayAlleleGenome at D@@QAE at ABV?$GAAlleleSetArray at D@@P6AMAAVGAGenome@@@ZPAX at Z)
1>GAStringGenome.obj
: error LNK2019: unresolved external symbol "public: __thiscall
GA1DArrayGenome<char>::GA1DArrayGenome<char>(unsigned int,float
(__cdecl*)(class GAGenome &),void *)"
(??0?$GA1DArrayGenome at D@@QAE at IP6AMAAVGAGenome@@@ZPAX at Z) referenced
in function
"public: __thiscall
GA1DArrayAlleleGenome<char>::GA1DArrayAlleleGenome<char>(class
GAAlleleSetArray<char> const &,float (__cdecl*)(class GAGenome
&),void *)"
(??0?$GA1DArrayAlleleGenome at D@@QAE at ABV?$GAAlleleSetArray at D@@P6AMAAVGAGenome@@@ZPAX at Z)
1>GAStringGenome.obj
: error LNK2019: unresolved external symbol "public: virtual __thiscall
GA1DArrayGenome<char>::~GA1DArrayGenome<char>(void)"
(??1?$GA1DArrayGenome at D@@UAE at XZ) referenced
in function __unwindfunclet$??0?$GA1DArrayAlleleGenome at D@@QAE at ABV?$GAAlleleSetArray at D@@P6AMAAVGAGenome@@@ZPAX at Z$0
1>GAStringGenome.obj
: error LNK2019: unresolved external symbol "public: static void __cdecl
GA1DArrayAlleleGenome<char>::UniformInitializer(class GAGenome
&)" (?UniformInitializer@?$GA1DArrayAlleleGenome at D@@SAXAAVGAGenome@@@Z)referenced
in function "public: __thiscall
GA1DArrayAlleleGenome<char>::GA1DArrayAlleleGenome<char>(class
GAAlleleSetArray<char> const &,float (__cdecl*)(class GAGenome
&),void *)"
(??0?$GA1DArrayAlleleGenome at D@@QAE at ABV?$GAAlleleSetArray at D@@P6AMAAVGAGenome@@@ZPAX at Z)
1>GAStringGenome.obj
: error LNK2019: unresolved external symbol "public: static int __cdecl
GA1DArrayAlleleGenome<char>::FlipMutator(class GAGenome
&,float)"
(?FlipMutator@?$GA1DArrayAlleleGenome at D@@SAHAAVGAGenome@@M at Z) referenced
in function "public:
__thiscall
GA1DArrayAlleleGenome<char>::GA1DArrayAlleleGenome<char>(class
GAAlleleSetArray<char> const &,float (__cdecl*)(class GAGenome
&),void *)"
(??0?$GA1DArrayAlleleGenome at D@@QAE at ABV?$GAAlleleSetArray at D@@P6AMAAVGAGenome@@@ZPAX at Z)
1>GAStringGenome.obj
: error LNK2001: unresolved external symbol "public: virtual class
GAGenome * __thiscall GA1DArrayAlleleGenome<char>::clone(enum
GAGenome::CloneMethod)const "
(?clone@?$GA1DArrayAlleleGenome at D@@UBEPAVGAGenome@@W4CloneMethod at 2@@Z)
1>GAStringGenome.obj
: error LNK2001: unresolved external symbol "public: virtual void
__thiscall GA1DArrayAlleleGenome<char>::copy(class GAGenome const
&)" (?copy@?$GA1DArrayAlleleGenome at D@@UAEXABVGAGenome@@@Z)
1>GAStringGenome.obj
: error LNK2001: unresolved external symbol "public: virtual int
__thiscall GA1DArrayAlleleGenome<char>::equal(class GAGenome const
&)const " (?equal@?$GA1DArrayAlleleGenome at D@@UBEHABVGAGenome@@@Z)
1>GAStringGenome.obj
: error LNK2001: unresolved external symbol "public: virtual int __thiscall
GA1DArrayAlleleGenome<char>::resize(int)"
(?resize@?$GA1DArrayAlleleGenome at D@@UAEHH at Z)
1>GAStringGenome.obj
: error LNK2019: unresolved external symbol "public: __thiscall
GAAlleleSetCore<char>::GAAlleleSetCore<char>(class
GAAlleleSetCore<char> const &)" (??0?$GAAlleleSetCore at D@@QAE at ABV0@@Z)
referenced in function "public: class GAAlleleSet<char> &
__thiscall GAAlleleSet<char>::operator=(class GAAlleleSet<char>
const &)" (??4?$GAAlleleSet at D@@QAEAAV0 at ABV0@@Z)
1>GAStringGenome.obj
: error LNK2019: unresolved external symbol "public: class
GAAlleleSetCore<char> & __thiscall
GAAlleleSetCore<char>::operator=(class GAAlleleSetCore<char> const
&)" (??4?$GAAlleleSetCore at D@@QAEAAV0 at ABV0@@Z) referenced in function "public:
class GAAlleleSet<char> & __thiscall
GAAlleleSet<char>::operator=(class GAAlleleSet<char> const
&)" (??4?$GAAlleleSet at D@@QAEAAV0 at ABV0@@Z)
Am I missing something with Visual Studio configuration ?
Thank you for your time,
Jami.
RépondreTransférer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20200422/afe08a98/attachment-0001.html
More information about the galib
mailing list