Control: tags -1 help
Hi,
I tried hard to port libvigraimpex to Python3 in Git[1] and think I
managed. Unfortunately there is a C++ error uncovered which I feel
unable to fix:
...
/build/libvigraimpex-1.11.1+dfsg/vigranumpy/src/core/vigranumpycore.cxx: In
function 'vigra::UInt32 vigra::pychecksum(const boost::python::str&)':
/build/libvigraimpex-1.11.1+dfsg/vigranumpy/src/core/vigranumpycore.cxx:64:39:
error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
64 | char * data = PyUnicode_AsUTF8AndSize(s.ptr(), &size);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
| |
| const char*
make[4]: *** [vigranumpy/src/core/CMakeFiles/vigranumpy_core.dir/build.make:66:
vigranumpy/src/core/CMakeFiles/vigranumpy_core.dir/vigranumpycore.cxx.o] Error 1
make[4]: Leaving directory '/build/libvigraimpex-1.11.1+dfsg/obj.python3.7'
Any help would be welcome (or Daniel feel free to continue from here).
Kind regards
Andreas.
[1] https://salsa.debian.org/science-team/libvigraimpex
--
http://fam-tille.de
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers