cgg-bern / AlgoHex

GNU Affero General Public License v3.0
18 stars 6 forks source link

Cannot build AlgoHex #22

Open zyyue99 opened 2 months ago

zyyue99 commented 2 months ago

Hello, thank you for sharing the code. I encountered some issues when building AlgoHex, and here is the error message:

[100%] Linking CXX executable ../Build/tests/unittests /usr/bin/ld: CMakeFiles/unittests.dir/SphericalHarmonicsTest.cc.o:(.data.rel.ro._ZTIN7AlgoHex22SphericalHarmonicsTestE[_ZTIN7AlgoHex22SphericalHarmonicsTestE]+0x10): undefined reference to typeinfo for testing::Test' /usr/bin/ld: CMakeFiles/unittests.dir/ConstrainedSHProjectorTest.cc.o:(.data.rel.ro._ZTIN7AlgoHex26ConstrainedSHProjectorTestE[_ZTIN7AlgoHex26ConstrainedSHProjectorTestE]+0x10): undefined reference totypeinfo for testing::Test' collect2: error: ld returned 1 exit status make[2]: [tests/CMakeFiles/unittests.dir/build.make:166: Build/tests/unittests] Error 1 make[1]: [CMakeFiles/Makefile2:1777: tests/CMakeFiles/unittests.dir/all] Error 2 make: *** [Makefile:166: all] Error 2

Could you please advise on how I should resolve this? Thank you very much.