Closed MinzhuXie closed 4 years ago
Indeed I get the same issue. It doesn't look like gatb-core plays well with an external Boost dependency. This could be because gatb-core already includes another version of Boost (in ../thirdparty
). Do you really need to use boost::adjacency_list?
Best, Rayan
Yes. One of my student tried to use a gatb tool Bicolor but always got a compile error with the head file. Is there any solution to this issue? Best, Minzhu Xie
在 2019年10月25日,下午11:14,Rayan Chikhi notifications@github.com<mailto:notifications@github.com> 写道:
Indeed I get the same issue. It doesn't look like gatb-core plays well with an external Boost dependency. This could be because gatb-core already includes another version of Boost (in ../thirdparty). Do you really need to use boost::adjacency_list?
Best, Rayan
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/GATB/gatb-core/issues/30?email_source=notifications&email_token=ACUAUZWBUHMKGFRAADPLOBTQQMEMPA5CNFSM4JE6AMBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECIVFYI#issuecomment-546394849, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACUAUZVNI2Y7ZEEYNCQCQJDQQMEMPANCNFSM4JE6AMBA.
Sorry for the delay, it should work now in the latest version of the master branch.
I had only inserted "#include <boost/graph/adjacency_list.hpp>" at the head of the gatb-core example file debruijn1.cpp, and type the following commands:
there is a compile error: [100%] Building CXX object examples/CMakeFiles/debruijn1.dir/debruijn/debruijn1.cpp.o In file included from /usr/local/include/boost/pending/container_traits.hpp:15:0, from /usr/local/include/boost/graph/named_graph.hpp:23, from /usr/local/include/boost/graph/adjacency_list.hpp:37, from /home/xieminzhu/Downloads/GATB/gatb-core/gatb-core/examples/debruij/debruijn1.cpp:3: /usr/local/include/boost/next_prior.hpp:64:1: error: template argument 2 is invalid