ilpincy/argos3-examples

Issue while compiling

Closed this issue · 0 comments

Hey, I was trying to compile the code. The following error occured during make:
[ 1%] Automatic moc for target footbot_diffusion
[ 1%] Built target footbot_diffusion_automoc
[ 4%] Built target footbot_diffusion
[ 5%] Automatic moc for target footbot_synchronization
[ 5%] Built target footbot_synchronization_automoc
[ 9%] Built target footbot_synchronization
[ 10%] Automatic moc for target footbot_flocking
[ 10%] Built target footbot_flocking_automoc
[ 13%] Built target footbot_flocking
[ 14%] Automatic moc for target footbot_gripping
[ 14%] Built target footbot_gripping_automoc
[ 18%] Built target footbot_gripping
[ 19%] Automatic moc for target footbot_foraging
[ 19%] Built target footbot_foraging_automoc
[ 22%] Built target footbot_foraging
[ 24%] Automatic moc for target footbot_manualcontrol
[ 24%] Built target footbot_manualcontrol_automoc
[ 27%] Built target footbot_manualcontrol
[ 28%] Automatic moc for target footbot_nn
[ 28%] Built target footbot_nn_automoc
[ 35%] Built target footbot_nn
[ 36%] Automatic moc for target eyebot_circle
[ 36%] Built target eyebot_circle_automoc
[ 41%] Built target eyebot_circle
[ 42%] Automatic moc for target eyebot_flocking
[ 42%] Built target eyebot_flocking_automoc
[ 45%] Built target eyebot_flocking
[ 47%] Automatic moc for target epuck_obstacleavoidance
[ 47%] Built target epuck_obstacleavoidance_automoc
[ 50%] Built target epuck_obstacleavoidance
[ 51%] Automatic moc for target foraging_loop_functions
[ 51%] Built target foraging_loop_functions_automoc
[ 56%] Built target foraging_loop_functions
[ 57%] Automatic moc for target mpga
[ 57%] Built target mpga_automoc
[ 62%] Built target mpga
[ 63%] Automatic moc for target mpga_phototaxis_loop_functions
[ 63%] Built target mpga_phototaxis_loop_functions_automoc
[ 66%] Built target mpga_phototaxis_loop_functions
[ 67%] Automatic moc for target custom_distributions_loop_functions
[ 67%] Built target custom_distributions_loop_functions_automoc
[ 71%] Built target custom_distributions_loop_functions
[ 72%] Automatic moc for target trajectory_loop_functions
[ 72%] Built target trajectory_loop_functions_automoc
[ 77%] Built target trajectory_loop_functions
[ 78%] Automatic moc for target id_loop_functions
[ 78%] Built target id_loop_functions_automoc
[ 81%] Built target id_loop_functions
[ 82%] Automatic moc for target manualcontrol_loop_functions
[ 82%] Built target manualcontrol_loop_functions_automoc
[ 86%] Built target manualcontrol_loop_functions
[ 87%] Automatic moc for target galib_phototaxis_loop_functions
[ 87%] Built target galib_phototaxis_loop_functions_automoc
[ 90%] Built target galib_phototaxis_loop_functions
[ 91%] Automatic moc for target mpga_phototaxis
[ 91%] Built target mpga_phototaxis_automoc
[ 95%] Built target mpga_phototaxis
[ 96%] Automatic moc for target galib_phototaxis
[ 96%] Built target galib_phototaxis_automoc
[ 97%] Linking CXX executable galib_phototaxis
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function LaunchARGoS(GAGenome&)': main.cpp:(.text+0x4f): undefined reference to typeinfo for GAGenome'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome<float>::read(std::istream&)': main.cpp:(.text+0x28e): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSet<float>::allele() const': main.cpp:(.text+0x4c1): undefined reference to garan2()'
main.cpp:(.text+0x541): undefined reference to garan2()' main.cpp:(.text+0x5ca): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GARealGaussianMutator(GAGenome&, float)': main.cpp:(.text+0x621): undefined reference to typeinfo for GAGenome'
main.cpp:(.text+0x6e5): undefined reference to garan2()' main.cpp:(.text+0x757): undefined reference to GAUnitGaussian()'
main.cpp:(.text+0x915): undefined reference to garan2()' main.cpp:(.text+0x975): undefined reference to GAUnitGaussian()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSet<float>::allele(unsigned int) const': main.cpp:(.text+0xa2d): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GARealArithmeticCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text+0xb2e): undefined reference to typeinfo for GAGenome'
main.cpp:(.text+0xb4e): undefined reference to typeinfo for GAGenome' main.cpp:(.text+0xb90): undefined reference to typeinfo for GAGenome'
main.cpp:(.text+0xbb0): undefined reference to typeinfo for GAGenome' main.cpp:(.text+0xc74): undefined reference to typeinfo for GAGenome'
CMakeFiles/galib_phototaxis.dir/main.cpp.o:main.cpp:(.text+0xd19): more undefined references to typeinfo for GAGenome' follow CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GARealBlendCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)':
main.cpp:(.text+0xe4b): undefined reference to garan2()' main.cpp:(.text+0xe75): undefined reference to garan2()'
main.cpp:(.text+0xf5c): undefined reference to typeinfo for GAGenome' main.cpp:(.text+0x1002): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::read(std::istream&)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE4readERSi[_ZN15GA1DArrayGenomeIfE4readERSi]+0x2c): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::equal(GAGenome const&) const': main.cpp:(.text._ZNK15GA1DArrayGenomeIfE5equalERK8GAGenome[_ZNK15GA1DArrayGenomeIfE5equalERK8GAGenome]+0x17): undefined reference to typeinfo for GAGenome'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::ElementComparator(GAGenome const&, GAGenome const&)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE17ElementComparatorERK8GAGenomeS3_[_ZN15GA1DArrayGenomeIfE17ElementComparatorERK8GAGenomeS3_]+0x10): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17ElementComparatorERK8GAGenomeS3[ZN15GA1DArrayGenomeIfE17ElementComparatorERK8GAGenomeS3]+0x31): undefined reference to typeinfo for GAGenome' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::SwapMutator(GAGenome&, float)':
main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x11): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x91): undefined reference to garan2()'
main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x9e): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x15f): undefined reference to garan2()'
main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x225): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef[_ZN15GA1DArrayGenomeIfE11SwapMutatorER8GAGenomef]+0x25a): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSetCore<float>::~GAAlleleSetCore()': main.cpp:(.text._ZN15GAAlleleSetCoreIfED2Ev[_ZN15GAAlleleSetCoreIfED5Ev]+0x4c): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::UniformCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x19): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0x42): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x81): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0xa7): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x111): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0x1d6): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x264): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0x377): undefined reference to GARandomBit()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4_]+0x3da): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16UniformCrossoverERK8GAGenomeS3_PS1_S4]+0x480): undefined reference to GARandomBit()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::~GA1DArrayGenome()':
main.cpp:(.text._ZN15GA1DArrayGenomeIfED2Ev[_ZN15GA1DArrayGenomeIfED5Ev]+0x18): undefined reference to GAGenome::~GAGenome()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::resize(int)':
main.cpp:(.text._ZN15GA1DArrayGenomeIfE6resizeEi[_ZN15GA1DArrayGenomeIfE6resizeEi]+0x20a): undefined reference to garan2()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome::UniformInitializer(GAGenome&)':
main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE18UniformInitializerER8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE18UniformInitializerER8GAGenome]+0xf): undefined reference to typeinfo for GAGenome' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSet::read(std::istream&)':
main.cpp:(.text._ZN11GAAlleleSetIfE4readERSi[_ZN11GAAlleleSetIfE4readERSi]+0x24): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GAAlleleSet::write(std::ostream&) const':
main.cpp:(.text._ZNK11GAAlleleSetIfE5writeERSo[_ZNK11GAAlleleSetIfE5writeERSo]+0x24): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::EvenOddCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)':
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4]+0x1e): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4_]+0x3e): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4]+0x80): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4_]+0xa0): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE16EvenOddCrossoverERK8GAGenomeS3_PS1_S4]+0x158): undefined reference to typeinfo for GAGenome' CMakeFiles/galib_phototaxis.dir/main.cpp.o:main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0x1e): more undefined references to typeinfo for GAGenome' follow
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::PartialMatchCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0x73): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4]+0x9a): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0xea): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4]+0x10d): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0x4ab): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4]+0x834): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE21PartialMatchCrossoverERK8GAGenomeS3_PS1_S4_]+0x853): undefined reference to GARandomBit()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::OrderCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0x22): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4]+0x3f): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0x72): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4]+0x97): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0xe6): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4]+0x10b): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0x463): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4]+0x482): undefined reference to GARandomBit()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14OrderCrossoverERK8GAGenomeS3_PS1_S4_]+0x7f3): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::CycleCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_]+0x22): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4]+0x42): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_]+0x8d): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4]+0xb3): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_]+0x1e1): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4]+0x211): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE14CycleCrossoverERK8GAGenomeS3_PS1_S4_]+0x230): undefined reference to GARandomBit()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::GA1DArrayGenome(unsigned int, float (*)(GAGenome&), void*)': main.cpp:(.text._ZN15GA1DArrayGenomeIfEC2EjPFfR8GAGenomeEPv[_ZN15GA1DArrayGenomeIfEC5EjPFfR8GAGenomeEPv]+0x61): undefined reference to GAGenome::NoInitializer(GAGenome&)'
main.cpp:(.text._ZN15GA1DArrayGenomeIfEC2EjPFfR8GAGenomeEPv[_ZN15GA1DArrayGenomeIfEC5EjPFfR8GAGenomeEPv]+0x66): undefined reference to GAGenome::GAGenome(void (*)(GAGenome&), int (*)(GAGenome&, float), float (*)(GAGenome const&, GAGenome const&))' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::OnePointCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)':
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x22): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x42): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x81): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0xa4): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x107): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x12f): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x528): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x56f): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x598): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x5ca): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0x7cb): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0x821): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0xa46): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4_]+0xa85): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17OnePointCrossoverERK8GAGenomeS3_PS1_S4]+0xb30): undefined reference to garan2()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::TwoPointCrossover(GAGenome const&, GAGenome const&, GAGenome*, GAGenome*)':
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x22): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x3f): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x81): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0xa4): undefined reference to typeinfo for GAGenome'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x111): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x139): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x189): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x1ac): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x6b6): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x707): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x72b): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x770): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0x794): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0x7e1): undefined reference to GARandomBit()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0xa09): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0xd76): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0xdb5): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0xdda): undefined reference to garan2()'
main.cpp:(.text.ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4[ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4]+0xf1f): undefined reference to garan2()' main.cpp:(.text._ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_[_ZN15GA1DArrayGenomeIfE17TwoPointCrossoverERK8GAGenomeS3_PS1_S4_]+0xf45): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::resizeBehaviour(unsigned int, unsigned int)': main.cpp:(.text._ZN15GA1DArrayGenomeIfE15resizeBehaviourEjj[_ZN15GA1DArrayGenomeIfE15resizeBehaviourEjj]+0x88): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::GA1DArrayGenome()': main.cpp:(.text._ZN15GA1DArrayGenomeIfEC2Ev[_ZN15GA1DArrayGenomeIfEC5Ev]+0x2b): undefined reference to GAGenome::GAGenome(void ()(GAGenome&), int ()(GAGenome&, float), float ()(GAGenome const&, GAGenome const&))'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome<float>::OrderedInitializer(GAGenome&)': main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome]+0x15): undefined reference to typeinfo for GAGenome'
main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome]+0x13c): undefined reference to GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, char const*)' main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE18OrderedInitializerER8GAGenome]+0x1f1): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome<float>::FlipMutator(GAGenome&, float)': main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef[_ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef]+0xf): undefined reference to typeinfo for GAGenome'
main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef[_ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef]+0x95): undefined reference to garan2()' main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef[_ZN21GA1DArrayAlleleGenomeIfE11FlipMutatorER8GAGenomef]+0x1ef): undefined reference to garan2()'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function main': main.cpp:(.text.startup+0x207): undefined reference to GASimpleGA::GASimpleGA(GAGenome const&)'
main.cpp:(.text.startup+0x219): undefined reference to GASimpleGA::minimaxi(int)' main.cpp:(.text.startup+0x22b): undefined reference to GASimpleGA::populationSize(unsigned int)'
main.cpp:(.text.startup+0x251): undefined reference to GAParameterList::set(char const*, void const*)' main.cpp:(.text.startup+0x27d): undefined reference to GAParameterList::set(char const
, double)'
main.cpp:(.text.startup+0x2a9): undefined reference to GAParameterList::set(char const*, double)' main.cpp:(.text.startup+0x2d2): undefined reference to GAParameterList::set(char const*, void const*)'
main.cpp:(.text.startup+0x345): undefined reference to GAParameterList::set(char const*, void const*)' main.cpp:(.text.startup+0x35b): undefined reference to GAStatistics::flushFrequency(unsigned int)'
main.cpp:(.text.startup+0x43c): undefined reference to GASimpleGA::initialize(unsigned int)' main.cpp:(.text.startup+0x78b): undefined reference to GASimpleGA::step()'
main.cpp:(.text.startup+0x9ca): undefined reference to GAStatistics::flushScores()' main.cpp:(.text.startup+0x9e5): undefined reference to GAStatistics::bestIndividual(unsigned int) const'
main.cpp:(.text.startup+0x9f4): undefined reference to typeinfo for GAGenome' main.cpp:(.text.startup+0xe33): undefined reference to GASimpleGA::~GASimpleGA()'
main.cpp:(.text.startup+0x140e): undefined reference to GASimpleGA::~GASimpleGA()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome::copy(GAGenome const&)':
main.cpp:(.text._ZN15GA1DArrayGenomeIfE4copyERK8GAGenome[_ZN15GA1DArrayGenomeIfE4copyERK8GAGenome]+0x31): undefined reference to typeinfo for GAGenome' main.cpp:(.text._ZN15GA1DArrayGenomeIfE4copyERK8GAGenome[_ZN15GA1DArrayGenomeIfE4copyERK8GAGenome]+0x51): undefined reference to GAGenome::copy(GAGenome const&)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::clone(GAGenome::CloneMethod) const': main.cpp:(.text._ZNK15GA1DArrayGenomeIfE5cloneEN8GAGenome11CloneMethodE[_ZNK15GA1DArrayGenomeIfE5cloneEN8GAGenome11CloneMethodE]+0x54): undefined reference to GAGenome::copy(GAGenome const&)'
CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayGenome<float>::GA1DArrayGenome(GA1DArrayGenome<float> const&)': main.cpp:(.text._ZN15GA1DArrayGenomeIfEC2ERKS0_[_ZN15GA1DArrayGenomeIfEC5ERKS0_]+0x56): undefined reference to GAGenome::GAGenome(void ()(GAGenome&), int ()(GAGenome&, float), float (*)(GAGenome const&, GAGenome const&))'
main.cpp:(.text.ZN15GA1DArrayGenomeIfEC2ERKS0[ZN15GA1DArrayGenomeIfEC5ERKS0]+0x96): undefined reference to GAGenome::~GAGenome()' CMakeFiles/galib_phototaxis.dir/main.cpp.o: In function GA1DArrayAlleleGenome::copy(GAGenome const&)':
main.cpp:(.text._ZN21GA1DArrayAlleleGenomeIfE4copyERK8GAGenome[_ZN21GA1DArrayAlleleGenomeIfE4copyERK8GAGenome]+0x2d): undefined reference to typeinfo for GAGenome' CMakeFiles/galib_phototaxis.dir/main.cpp.o:(.rodata._ZTI15GA1DArrayGenomeIfE[_ZTI15GA1DArrayGenomeIfE]+0x28): undefined reference to typeinfo for GAGenome'
collect2: error: ld returned 1 exit status
embedding/galib/CMakeFiles/galib_phototaxis.dir/build.make:124: recipe for target 'embedding/galib/galib_phototaxis' failed
make[2]: *** [embedding/galib/galib_phototaxis] Error 1
CMakeFiles/Makefile2:1854: recipe for target 'embedding/galib/CMakeFiles/galib_phototaxis.dir/all' failed
make[1]: *** [embedding/galib/CMakeFiles/galib_phototaxis.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2