Information/Error

[kalibr] fatal error: numpy/arrayobject.h: No such file or directory

페트론 2020. 4. 27. 16:54

https://github.com/ethz-asl/kalibr/issues/123

 

cmake/catkin scripts not detecting python & numpy C/C++ header include dirs correctly · Issue #123 · ethz-asl/kalibr

The build scripts incorrectly assume the location of numpy. I suggest using the python and numpy cmake scripts in the folder linked below to solve the problem. I recently used them in a similar man...

github.com

 

numpy의 위치경로가 제대로 설정되지 않은 문제이므로, 다음과 같이 파일을 link 시켜준다.

 

ln -s /usr/local/lib/python2.7/dist-packages/numpy/core/include/numpy /usr/local/include/numpy

반응형