libigl-python-bindings
libigl-python-bindings copied to clipboard
error: lvalue required as left operand of assignment
Failed to build libigl-python-bindings with ERROR message: error: lvalue required as left operand of assignment
.
[ 1%] Built target predicates
In file included from ....../libigl-python-bindings/external/numpyeigen/src/npe_typedefs.h:6,
from ....../libigl-python-bindings/external/numpyeigen/src/npe_typedefs.cpp:1:
....../libigl-python-bindings/external/numpyeigen/cmake/../src/npe_sparse_array.h: In function ‘pybind11::handle pybind11::detail::eigen_sparse_array_cast(Type*, pybind11::handle, bool)’:
....../libigl-python-bindings/external/numpyeigen/cmake/../src/npe_sparse_array.h:169:13: error: lvalue required as left operand of assignment
169 | data.flags() &= ~detail::npy_api::NPY_ARRAY_OWNDATA_;
| ~~~~~~~~~~^~
....../libigl-python-bindings/external/numpyeigen/cmake/../src/npe_sparse_array.h:172:15: error: lvalue required as left operand of assignment
172 | indptr.flags() &= ~detail::npy_api::NPY_ARRAY_OWNDATA_;
| ~~~~~~~~~~~~^~
....../libigl-python-bindings/external/numpyeigen/cmake/../src/npe_sparse_array.h:175:16: error: lvalue required as left operand of assignment
175 | indices.flags() &= ~detail::npy_api::NPY_ARRAY_OWNDATA_;
| ~~~~~~~~~~~~~^~
....../libigl-python-bindings/external/numpyeigen/cmake/../src/npe_sparse_array.h:182:18: error: lvalue required as left operand of assignment
182 | indices.flags() &= ~detail::npy_api::NPY_ARRAY_WRITEABLE_;
| ~~~~~~~~~~~~~^~
....../libigl-python-bindings/external/numpyeigen/cmake/../src/npe_sparse_array.h:183:17: error: lvalue required as left operand of assignment
183 | indptr.flags() &= ~detail::npy_api::NPY_ARRAY_WRITEABLE_;
| ~~~~~~~~~~~~^~
....../libigl-python-bindings/external/numpyeigen/cmake/../src/npe_sparse_array.h:184:15: error: lvalue required as left operand of assignment
184 | data.flags() &= ~detail::npy_api::NPY_ARRAY_WRITEABLE_;
| ~~~~~~~~~~^~
make[2]: *** [CMakeFiles/npe.dir/build.make:79: CMakeFiles/npe.dir/external/numpyeigen/src/npe_typedefs.cpp.o] Error 1
make[2]: Leaving directory '....../libigl-python-bindings/build_20.04'
make[1]: *** [CMakeFiles/Makefile2:196: CMakeFiles/npe.dir/all] Error 2
make[1]: Leaving directory '....../libigl-python-bindings/build_20.04'
make: *** [Makefile:104: all] Error 2