Thank you, I have had a look at your channel! The reason I am trying to
compile it is so that I can quickly react to bug fixes implemented in the
git version which isn't possible using packages compiled by somebody else as
I depend on their schedules then.

I have also dug around a bit more and am using "./configure
--prefix=$HOME/.local --with-boost=/home/pmj27/anaconda2 CXX="g++-5"
CXXFLAGS="-std=gnu++14 -Wno-unused-local-typedefs"
PYTHON="/home/pmj27/anaconda2/bin/python2.7"
CPPFLAGS="-I/home/pmj27/anaconda2/include"
LDFLAGS="-L/home/pmj27/anaconda2/lib" --enable-openmp". This returns me a
configuration summary that finally looks like what I would expect
referencing the anaconda boost verion:

================================================================================
                             CONFIGURATION SUMMARY
================================================================================
Using python version:   2.7.13
Python interpreter:     /home/pmj27/anaconda2/bin/python2.7
Installation path:     
/home/pmj27/anaconda2/lib/python2.7/site-packages/graph_tool

C++ compiler (CXX):     g++-5
C++ compiler version:   5.4.0

Prefix:                 /home/pmj27/.local
Pkgconfigdir:           ${libdir}/pkgconfig

Python CPP flags:       -I/home/pmj27/anaconda2/include/python2.7
Python LD flags:        -L/home/pmj27/anaconda2/lib -lpython2.7
Boost CPP flags:        -I/home/pmj27/anaconda2/include
Boost LD flags:         -lboost_iostreams -lboost_python -lboost_regex
-lboost_coroutine
Numpy CPP flags:       
-I/home/pmj27/anaconda2/lib/python2.7/site-packages/numpy/core/include
Sparsehash CPP flags:
CGAL CPP flags:         -I/usr/include
CGAL LD flags:          -L/usr/lib -lCGAL -lCGAL_Core -lgmp
Expat CPP flags:        -I/usr/include
Expat LD flags:         -L/usr/lib -lexpat
Cairomm CPP flags:      -std=c++11 -I/usr/include/cairomm-1.0
-I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include
Cairomm LD flags:       -lcairomm-1.0 -lcairo -lsigc-2.0
OpenMP compiler flags:  -fopenmp
OpenMP LD flags:
Extra CPPFLAGS:         -I/home/pmj27/anaconda2/include
Extra CXXFLAGS:         -fopenmp -O3 -fvisibility=default
-fvisibility-inlines-hidden -Wno-deprecated -ftemplate-depth-250  -DNDEBUG
-Wall -Wextra -ftemplate-backtrace-limit=0 -std=gnu++14
-Wno-unused-local-typedefs
Extra LDFLAGS:          -L/home/pmj27/anaconda2/lib

Using OpenMP:           yes
Using sparsehash:       yes
Using cairo:            yes

================================================================================

config.log
<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4027077/config.log>
  
is attached. However, when running make I run into an error proclaiming:

"make[4]: Entering directory '/home/pmj27/graph-tool/src/graph/topology'
  CXX      graph_isomorphism.lo
  CXX      graph_transitive_closure.lo
  CXX      graph_tsp.lo
  CXX      graph_vertex_similarity.lo
In file included from graph_tsp.cc:22:0:
/home/pmj27/anaconda2/include/boost/graph/metric_tsp_approx.hpp: In
instantiation of ‘boost::TSPVertexVisitorConcept<Visitor,
Graph>::~TSPVertexVisitorConcept() [with Visitor =
boost::tsp_tour_visitor<std::back_insert_iterator&lt;std::vector&lt;int> >
>; Graph = boost::undirected_adaptor<boost::adj_list&lt;long unsigned int>
>]’:
/home/pmj27/anaconda2/include/boost/concept/detail/general.hpp:39:28:  
required from ‘static void
boost::concepts::requirement<boost::concepts::failed************
Model::************>::failed() [with Model =
boost::TSPVertexVisitorConcept<boost::tsp_tour_visitor&lt;std::back_insert_iterator&lt;std::vector&lt;int>
> >, boost::undirected_adaptor<boost::adj_list&lt;long unsigned int> > >]’

etc
etc

Makefile:571: recipe for target 'graph_isomorphism.lo' failed
make[4]: *** [graph_isomorphism.lo] Error 1
make[4]: Leaving directory '/home/pmj27/graph-tool/src/graph/topology'
Makefile:740: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/pmj27/graph-tool/src/graph'
Makefile:419: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/pmj27/graph-tool/src'
Makefile:591: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pmj27/graph-tool'
Makefile:478: recipe for target 'all' failed
make: *** [all] Error 2"

I have attached the screengrab for the entire error message here: 
screengrab.dat
<http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4027077/screengrab.dat>
  

Does anybody know what this is caused by/how I could solve it?

Best,

Philipp



--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/Boost-Python-ArgumentError-Python-argument-types-did-not-match-C-signature-tp4027056p4027077.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to