Closed loriab closed 8 years ago
I wonder if this is the issue of std::
vs boost::
version of shared_ptr
.
If you make a branch with switching them out or advise me what to switch out, I can test. It's just https://anaconda.org/conda-forge/boost that I'm using.
I think two things to try:
include/ambit/common_types.h
to include boost/shared_ptr.hpp
and change line 25 to be using boost::shared_ptr;
.src/python/bindings.cc
doesn't explicitly use shared_ptr
but for some reason boost/shared_ptr.hpp
is include. You could try removing it.No fix by either suggestion. But what I now suspect is going on is that having built ambit against libstdc++
, it is linking correctly against similarly built boosts (the 1.59 I tried) but failing against libc++
-built boosts (1.60 & 1.61). Unfortunately, I don't have a single boost version in both libstdc++
and libc++
forms to test with, but I know how to proceed.
Boost 1.56 and 1.59 seem fine, but when I build the python module agains 1.60 or 1.61, get error: