Open cgroza opened 1 year ago
I moved that code into my own source files and the symbol is found. Seems to me there is something wrong with the way the library is compiled?
Is it possible that you're not picking up any of libhandlegraph.a
at linking? Most of libhandlegraph is header files, so it could be that your build is getting the includes but not the library without running into any other linking errors.
Hi,
I am trying to use the dijkstra algorithm defined in
libhandlegraph
but getting a linker error.There are not other errors and warnings. I compiled and installed both
libbdsg
andlibhandlegraph
on Ubuntu.I inspected the
libhandlegraph
dynamic and static libraries for this symbol and it is indeed there.Here is the Makefile and the source code:
Makefile:
Source code:
Any pointers on why g++ does not find the symbols?
My thanks.