Hi. Anders.
I reinstall my system to ubuntu 20.04. which is same with yours.
Then all cmake-gui and building passed.
when I run the python_examples.
belowed issued:
root@cade:/home/tmp/openvoronoi/python_examples# python ./offset/offset_1.py
Traceback (most recent call last):
File "./offset/offset_1.py", line 1, in <module>
import openvoronoi as ovd
if I run it by python3, below issued:
root@cade:/home/tmp/openvoronoi/python_examples# python3 ./offset/offset_1.py
File "./offset/offset_1.py", line 32
print ovd.version()
^
SyntaxError: invalid syntax
So I think it is still some problem with the openvoronoi install process.
below is my make install printing:
root@cade:/home/tmp/openvoronoi/build# make install
[ 26%] Built target openvoronoi_static
[ 30%] Built target openvoronoi
[ 57%] Built target libopenvoronoi
[ 61%] Built target cpptest_medial_axis
[ 66%] Built target cpptest_medial_axis_pocket
[ 71%] Built target cpptest_minimal
[ 76%] Built target cpptest_offset
[ 80%] Built target cpptest_para_lines
[ 85%] Built target cpptest_polygon
[ 90%] Built target cpptest_random_linesegs
[ 95%] Built target cpptest_random_points
[100%] Built target cpptest_square
Install the project...
-- Install configuration: ""
-- Installing: /usr/lib/python2.7/dist-packages/openvoronoi.so
-- Up-to-date: /usr/lib/python2.7/dist-packages/ovdvtk.py
-- Up-to-date: /usr/lib/python2.7/dist-packages/ngc_writer.py
-- Up-to-date: /usr/lib/python2.7/dist-packages/ovdgenerators.py
-- Installing: /usr/local/lib/python3.8/lib/openvoronoi/libopenvoronoi.so.20.2008.2013
-- Installing: /usr/local/lib/python3.8/lib/openvoronoi/libopenvoronoi.so
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/graph.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/voronoidiagram.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/vertex.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/edge.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/site.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/checker.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/vertex_positioner.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/kdtree.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/offset.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/offset_sorter.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/filter.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/medial_axis_filter.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/medial_axis_walk.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/medial_axis_pocket.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/polygon_interior_filter.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/island_filter.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/version_string.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/version.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/common/numeric.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/common/point.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/common/halfedgediagram.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/utility/vd2svg.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/utility/simple_svg_1.0.0.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/solvers/solution.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/solvers/solver.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/solvers/solver_lll.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/solvers/solver_lll_para.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/solvers/solver_ppp.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/solvers/solver_qll.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/solvers/solver_sep.hpp
-- Installing: /usr/local/lib/python3.8/include/openvoronoi/solvers/solver_alt_sep.hpp
root@cade:/home/tmp/openvoronoi/build#
it looks the install path is:
/usr/lib/python2.7/dist-packages/openvoronoi.so
if I remove python 2.7 from ubuntu,
the cmake-gui cannot generate.
Could you help me solve this problem?