fwhelan / coinfinder

A tool for the identification of coincident (associating and dissociating) genes in pangenomes.
GNU General Public License v3.0
95 stars 10 forks source link

Added gml files to source files list #48

Closed gavinmdouglas closed 3 years ago

gavinmdouglas commented 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

fwhelan commented 3 years ago

Thank you!! Apologies for not having updated this- hope it didn't cause you too much lost time!

gavinmdouglas commented 3 years ago

No worries at all!