I am build graphs-tools 2.31 using g++ 8.3.0. It floods me with warnings like
the following:
/users/lisergey/include/boost/bind.hpp:41:1: note: #pragma message: The
practice of declaring the Bind placeholders (_1, _2, ...) in the global
namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace
boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the
current behavior.
)
^
/users/lisergey/include/boost/python/extract.hpp:185:11: warning:
'*((void*)&<anonymous> +24)' may be used uninitialized in this function
[-Wmaybe-uninitialized]
);
^
/users/lisergey/include/boost/python/extract.hpp: In constructor
'WrappedState<Graph, State>::WrappedState(Graph&, WrappedState<Graph,
State>::smap_t, WrappedState<Graph, State>::smap_t, boost::python::dict,
rng_t&) [with Graph = boost::filt_graph<boost::adj_list<long unsigned
int>,
graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned
char, boost::adj_edge_index_property_map<long unsigned int> > >,
graph_tool::detail::MaskFilter<boost::unchecked_vector_property_map<unsigned
char, boost::typed_identity_property_map<long unsigned int> > > >; State
= graph_tool::majority_voter_state]':
--
Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
./configure for graph-toosl 2.31 fails if boost in a custom location
./configure --disable-cairo --disable-openmp --disable-sparsehash
--prefix=/users/lisergey --with-boost=/users/lisergey
--with-boost-libdir=/users/lisergey/lib --with-boost-python
--with-cgal=/users/lisergey
--with-python-module-path=/users/lisergey/lib/site-packages
checking whether the Boost::Python library is available... yes
checking whether boost_python36 is the correct library... yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
checking whether the Boost::Context library is available... yes
checking for exit in -lboost_context... yes
checking whether the Boost::Coroutine library is available... yes
checking for exit in -lboost_coroutine... no
checking for exit in -lboost_coroutine... (cached) no
checking for exit in -lboost_coroutine... (cached) no
checking for exit in -lboost_coroutine... (cached) no
checking for exit in -lboost_coroutine... (cached) no
configure: error: Could not link against boost_coroutine !
It passes if I set extra flags
./configure --disable-cairo --disable-openmp --disable-sparsehash
--prefix=/users/lisergey --with-boost=/users/lisergey
--with-boost-libdir=/users/lisergey/lib --with-boost-python
--with-cgal=/users/lisergey
--with-python-module-path=/users/lisergey/lib/site-packages
LIBS=-lboost_context -lboost_thread -lboost_regex -lboost_system
LDFLAGS=-Wl,-rpath -Wl,/users/lisergey/lib -L/users/lisergey/lib
--
Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/