Hello,
setting up the environment, I got this problem with numpy_eigen package:
In file included from /usr/include/x86_64-linux-gnu/bits/types/stack_t.h:23:0,
from /usr/include/signal.h:303,
from /home/dgguglielmo/.local/lib/python3.8/site-packages/numpy/core/include/numpy/npy_interrupt.h:23,
from /home/dgguglielmo/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:6,
from /home/dgguglielmo/norv_ws/src/mapping/numpy_eigen/include/numpy_eigen/NumpyEigenConverter.hpp:28,
from /home/dgguglielmo/norv_ws/src/mapping/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp:2:
/home/dgguglielmo/norv_ws/src/mapping/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp: In function ‘void init_module_libnumpy_eigen()’:
/home/dgguglielmo/.local/lib/python3.8/site-packages/numpy/core/include/numpy/__multiarray_api.h:1553:151: error: return-statement with a value, in function returning 'void' [-fpermissive]
Have you ever faced this error? Seems that the error occurs in the init_module_libnumpy_eigen() function, where a return statement with a value is encountered in a function returning void. Also, is there a specific version of protobuf to use?
Thank you
Hello, setting up the environment, I got this problem with numpy_eigen package:
In file included from /usr/include/x86_64-linux-gnu/bits/types/stack_t.h:23:0, from /usr/include/signal.h:303, from /home/dgguglielmo/.local/lib/python3.8/site-packages/numpy/core/include/numpy/npy_interrupt.h:23, from /home/dgguglielmo/.local/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:6, from /home/dgguglielmo/norv_ws/src/mapping/numpy_eigen/include/numpy_eigen/NumpyEigenConverter.hpp:28, from /home/dgguglielmo/norv_ws/src/mapping/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp:2: /home/dgguglielmo/norv_ws/src/mapping/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp: In function ‘void init_module_libnumpy_eigen()’: /home/dgguglielmo/.local/lib/python3.8/site-packages/numpy/core/include/numpy/__multiarray_api.h:1553:151: error: return-statement with a value, in function returning 'void' [-fpermissive]
define import_array() {if (_import_array() < 0) {PyErr_Print(); PyErr_SetString(PyExc_ImportError, "numpy.core.multiarray failed to import"); return NULL; } }
Have you ever faced this error? Seems that the error occurs in the init_module_libnumpy_eigen() function, where a return statement with a value is encountered in a function returning void. Also, is there a specific version of protobuf to use? Thank you