Skip to content
New issue

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

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

Already on GitHub? # to your account

Cannot locate rosdep definition for [Boost] #1000

Open
yusufersullu opened this issue Jan 16, 2025 · 2 comments
Open

Cannot locate rosdep definition for [Boost] #1000

yusufersullu opened this issue Jan 16, 2025 · 2 comments

Comments

@yusufersullu
Copy link

when I run this command: rosdep install --from-paths . --ignore-src -r -y

this error appears:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
mesh_rviz_plugins: Cannot locate rosdep definition for [Boost]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

I don't know how can I solve this

@zaynebaris
Copy link

# 1. Install Boost manually
sudo apt-get install libboost-all-dev

# 2. Update rosdep database
rosdep update

# 3. Verify or fix the dependency in package.xml open and edit manually if not present
# Ensure these lines are present in mesh_rviz_plugins/package.xml:
# <build_depend>boost</build_depend>
# <exec_depend>boost</exec_depend>

# 4. Run rosdep again
rosdep install --from-paths . --ignore-src -r -y

This should address the issue.

@yusufersullu
Copy link
Author

Errors << mesh_rviz_plugins:check /home/yusuf/catkin_ws/logs/mesh_rviz_plugins/build.check.004.log
CMake Warning (dev) at CMakeLists.txt:2 (project):
Policy CMP0048 is not set: project() command manages VERSION variables.
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

The following variable(s) would be set to empty:

CMAKE_PROJECT_VERSION
CMAKE_PROJECT_VERSION_MAJOR
CMAKE_PROJECT_VERSION_MINOR
CMAKE_PROJECT_VERSION_PATCH

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at /home/yusuf/catkin_ws/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:38 (find_package):
By not providing "Findboost.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "boost", but
CMake did not find one.

Could not find a package configuration file provided by "boost" with any of
the following names:

boostConfig.cmake
boost-config.cmake

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

make: *** [Makefile:1868: cmake_check_build_system] Error 1

now this error appears

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

No branches or pull requests

2 participants