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

error #4

Open
xiaodu1049024647 opened this issue Nov 1, 2023 · 3 comments
Open

error #4

xiaodu1049024647 opened this issue Nov 1, 2023 · 3 comments

Comments

@xiaodu1049024647
Copy link

SLAMesh/CMakeFiles/slamesh.dir/build.make:158: recipe for target 'SLAMesh/CMakeFiles/slamesh.dir/src/slamesher_node.cpp.o' failed
make[2]: *** [SLAMesh/CMakeFiles/slamesh.dir/src/slamesher_node.cpp.o] Error 1
CMakeFiles/Makefile2:930: recipe for target 'SLAMesh/CMakeFiles/slamesh.dir/all' failed
make[1]: *** [SLAMesh/CMakeFiles/slamesh.dir/all] Error 2
Makefile:140: recipe for target 'all' failed

@RuanJY
Copy link
Member

RuanJY commented May 24, 2024

please find where the "error" really happened and report it.

The message you left here is just a conclusion of the build process so I can not locate the problem/

@Pilat66
Copy link

Pilat66 commented May 26, 2024

Hi!

ROS1 noetic, Ubuntu-20.04

-- Could NOT find mesh_msgs (missing: mesh_msgs_DIR)
-- Could not find the required component 'mesh_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "mesh_msgs" with
any of the following names:

mesh_msgsConfig.cmake
mesh_msgs-config.cmake

Add the installation prefix of "mesh_msgs" to CMAKE_PREFIX_PATH or set
"mesh_msgs_DIR" to a directory containing one of the above files. If
"mesh_msgs" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
SLAMesh/CMakeLists.txt:26 (find_package)

-- Configuring incomplete, errors occurred!
make: *** [Makefile:4020: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

@RuanJY
Copy link
Member

RuanJY commented May 27, 2024

Hi,

This error means the mesh-tool is not correctly installed or found

first, assume you have built mesh-tool in mesh_tool_ws, then, in slamesh_ws, try source mesh_tool_ws/devel/setup.bash before use catkin_make.

if you still can not solve the problem, check the docker image in the repo: https://github.com/RuanJY/SLAMesh

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

3 participants