Hi,
I've tried to compile horton (release 2.1.1) on two different machines - Ubuntu 20.10 and CentOS 7.6, with gcc versions 10.2.0 and 4.8.5 respectively, and got the same error in both cases:
horton/meanfield/cext.cpp: In function ‘PyObject* __pyx_pf_6horton_9meanfield_4cext_12LibXCWrapper_4refs___get__(__pyx_obj_6horton_9meanfield_4cext_LibXCWrapper*)’:
horton/meanfield/cext.cpp:2427:70: error: cannot convert ‘func_reference_type* const*’ to ‘const char*’
2427 | __pyx_t_1 = __Pyx_PyBytes_FromString((__pyx_v_self->_func.info[0]).refs); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 117, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| func_reference_type* const*
Hi, I've tried to compile horton (release 2.1.1) on two different machines - Ubuntu 20.10 and CentOS 7.6, with gcc versions 10.2.0 and 4.8.5 respectively, and got the same error in both cases:
FWIW, the link in tools/qa/install_libxc-2.2.2.sh is broken, so I changed the version to 5.1.2 and the link to http://www.tddft.org/programs/libxc/down.php?file=5.1.2/libxc-5.1.2.tar.gz
Any help is appreciated!