I am getting the following error on compilation of alps-2.3.0:
[ 0%] Building CXX object src/boost/CMakeFiles/boost.dir/home/pragatigupta/alps/alps-2.3.0-src-with-boost/boost/libs/python/src/converter/builtin_converters.cpp.o /home/pragatigupta/alps/alps-2.3.0-src-with-boost/boost/libs/python/src/converter/builtin_converters.cpp: In function ‘void* boost::python::converter::{anonymous}::convert_to_cstring(PyObject*)’: /home/pragatigupta/alps/alps-2.3.0-src-with-boost/boost/libs/python/src/converter/builtin_converters.cpp:51:35: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive] 51 | return PyUnicode_Check(obj) ? _PyUnicode_AsString(obj) : 0; make[2]: *** [src/boost/CMakeFiles/boost.dir/build.make:1395: src/boost/CMakeFiles/boost.dir/home/pragatigupta/alps/alps-2.3.0-src-with-boost/boost/libs/python/src/converter/builtin_converters.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2689: src/boost/CMakeFiles/boost.dir/all] Error 2 make: *** [Makefile:182: all] Error 2
I am using Manjaro Linux, cmake-3.19.4, gcc-10.2.0, python-3.9, hdf5-1.8.5
Thank you, Pragati Gupta
comp-phys-alps-users@lists.phys.ethz.ch