Dionysus Build / make problem on Mac OS X 10.10 yosemite

I followed the instructions for making / building Dionysus from http://www.mrzv.org/software/dionysus/get-build-install.html

From a brand new computer with nothing, I used the port to install python27, cmake, boost, mercurial, and a few other packages. In terminal I have done

hg clone http://hg.mrzv.org/Dionysus/
cd Dionysus
hg up tip
mkdir build
cd build
cmake ..
make

      

When the terminal is running through make it has the following error:

  [  1%] Built target bottleneck-distance
  [  3%] Building CXX object  
 examples/alphashapes/CMakeFiles/alphashapes2d.dir/alphashapes2d.o
 In file included from   
/Users/pavan/Desktop/Dionysus/examples/alphashapes/alphashapes2d.cpp:3:
In file included from   
/Users/pavan/Desktop/Dionysus/examples/alphashapes/alphashapes2d.h:12:
In file included from   
/Users/pavan/Desktop/Dionysus/include/topology/simplex.h:221:

In file included from   
/Users/pavan/Desktop/Dionysus/include/topology/simplex.hpp:2:

In file included from /opt/local/include/boost/serialization/set.hpp:26: 

/opt/local/include/boost/serialization/detail/stack_constructor.hpp:54:31:     error: 
  no member named 'load_construct_data_adl' in namespace
  'boost::serialization'
    boost::serialization::load_construct_data_adl(
    ~~~~~~~~~~~~~~~~~~~~~~^
1 error generated.
make[2]: ***         [examples/alphashapes/CMakeFiles/alphashapes2d.dir/alphashapes2d.o] 
Error 1
make[1]: *** [examples/alphashapes/CMakeFiles/alphashapes2d.dir/all] 
Error 2
make: *** [all] Error 2

      

So far I've tried everything I could think of, reinstalling all boost and python dependencies (started with a new computer factory reset). I'm a complete noob when it comes to anything C related, so any pointers would be extremely appreciated.

Also, I tried the same exact installation on my booted ubuntu machine and it worked, so I'm wondering if the ports installation issue is causing some problems?

+3


source to share


2 answers


Just stumbled upon the same problem. Also use OSX 10.10. Several days switching and managing libraries between macports and brew without success ...

Today I finally put Dionysus together like this:



brew unlink boost
brew tap homebrew/versions
brew install boost155
brew link boost155

      

Still, you need to find out if the tree of the entire library is well built (boost, cgal, swig, cgal-swig-bindings, dionysus).

+1


source


I had a similar problem. I just removed the explicit namespace (in stack_constructor.hpp):

load_construct_data_adl

      

instead



boost::serialization::load_construct_data_adl

      

this solved the error in my case.

+1


source







All Articles