CGAL problem when building diode


zhuceyonghu123@...
 

Hi,
I try to build diode on debian (CGAL 4.9), but got the following error (only the first several errors are listed here):
#################################### error message ##################
In file included from /remote/pi309a/jia/workspace/ConKennedy/analysis/anaCode/PH/diode-master/include/diode/diode.h:46:0,
                from /remote/pi309a/jia/workspace/ConKennedy/analysis/anaCode/PH/diode-master/examples/generate_alpha_shap
e.cpp:7:
/remote/pi309a/jia/workspace/ConKennedy/analysis/anaCode/PH/diode-master/include/diode/diode.hpp: In function ‘void diode::
fill_weighted_alpha_shapes(const Points&, const SimplexCallback&)’:
/remote/pi309a/jia/workspace/ConKennedy/analysis/anaCode/PH/diode-master/include/diode/diode.hpp:127:29: error: Regular_tr
iangulation_vertex_base_3’ in namespace ‘CGAL’ does not name a template type
    using Rvb       = CGAL::Regular_triangulation_vertex_base_3<K>;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/remote/pi309a/jia/workspace/ConKennedy/analysis/anaCode/PH/diode-master/include/diode/diode.hpp:128:58: error: Rvb’ was n
ot declared in this scope
    using Vb        = CGAL::Alpha_shape_vertex_base_3<K, Rvb>;
                                                         ^~~
/remote/pi309a/jia/workspace/ConKennedy/analysis/anaCode/PH/diode-master/include/diode/diode.hpp:128:61: error: template ar
gument 2 is invalid
    using Vb        = CGAL::Alpha_shape_vertex_base_3<K, Rvb>;
...
##################
If I download CGAL 4.12, and "cmake 
-DCGAL_DIR=../CGAL4.12 .." and make, then the building succeeds. But after I export PYTHONPATH in the .bashrc file and source .bashrc, when importing diode in python, it says "No module named diode"...


Join dionysus@groups.io to automatically receive all group messages.