Closed gavinmdouglas closed 3 years ago
I was running into the below issue when installing the latest release (1.0.9) from source.
[100%] Linking CXX executable coinfinder /usr/bin/ld: CMakeFiles/coinfinder.dir/coinfind-code/main.cpp.o: in function `main': main.cpp:(.text.startup+0x14d8): undefined reference to `Gml::run(DataSet&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/coinfinder.dir/build.make:282: coinfinder] Error 1 make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/coinfinder.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
Adding the Gml source f iles to CMakeLists.txt fixed this problem for me (see commit).
Cheers,
Gavin
Thank you!! Apologies for not having updated this- hope it didn't cause you too much lost time!
No worries at all!
I was running into the below issue when installing the latest release (1.0.9) from source.
Adding the Gml source f iles to CMakeLists.txt fixed this problem for me (see commit).
Cheers,
Gavin