Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1005 CMake Error编译出错之依赖缺失-muparser library not found #28

Open
zymouse opened this issue Mar 18, 2022 · 0 comments
Open

Comments

@zymouse
Copy link
Owner

zymouse commented Mar 18, 2022

1.0 示例

1.1 错误信息

$ catkin_make 
-- Could NOT find MUPARSER (missing: MUPARSER_LIBRARY MUPARSER_INCLUDE_DIR)
CMake Error at ros_canopen/canopen_motor_node/CMakeLists.txt:47 (message):
muparser library not found

-- Configuring incomplete, errors occurred!
See also "/home/jpm/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/jpm/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

1.2 解决方案

$ sudo apt install lib<name>-dev
Example:
$ sudo apt install libmuparser-dev

1.3 安装后

image

2.0 总结:

典型的依赖缺失,属于c++的库依赖于缺失。

BUG :<name> library not found
解决: sudo apt install lib<name>-dev
安装位置:需要源码安装才能知道


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant