You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:82 (find_package):
Could not find a package configuration file provided by
"message_generation" with any of the following names:
Add the installation prefix of "message_generation" to CMAKE_PREFIX_PATH or
set "message_generation_DIR" to a directory containing one of the above
files. If "message_generation" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:24 (find_package)
-- Configuring incomplete, errors occurred!
See also "/root/catkin_ws/build_isolated/cartographer_ros_msgs/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'cartographer_ros_msgs':
Command '['/root/catkin_ws/install_isolated/env.sh', 'cmake', '/root/catkin_ws/src/cartographer_ros/cartographer_ros_msgs', '-DCATKIN_DEVEL_PREFIX=/root/catkin_ws/devel_isolated/cartographer_ros_msgs', '-DCMAKE_INSTALL_PREFIX=/root/catkin_ws/install_isolated', '-G', 'Ninja']' returned non-zero exit status 1.
Reproduce this error by running:
==> cd /root/catkin_ws/build_isolated/cartographer_ros_msgs && /root/catkin_ws/install_isolated/env.sh cmake /root/catkin_ws/src/cartographer_ros/cartographer_ros_msgs -DCATKIN_DEVEL_PREFIX=/root/catkin_ws/devel_isolated/cartographer_ros_msgs -DCMAKE_INSTALL_PREFIX=/root/catkin_ws/install_isolated -G Ninja
Command failed, exiting.
]
how do i solve this issue
The text was updated successfully, but these errors were encountered:
I am installing cartographer on Ubuntu 20.04 and ROS noetic version. Even I am facing errors while building the package. I am getting error messages like these. How do I resolve this?
/home/vboxuser/catkin_ws5/src/cartographer/cartographer/mapping/internal/connected_components.h:75:32: error: ‘lock_’ has not been declared
75 | EXCLUSIVE_LOCKS_REQUIRED(lock_);
| ^~~~~
/home/vboxuser/catkin_ws5/src/cartographer/cartographer/mapping/internal/connected_components.h:75:37: error: ISO C++ forbids declaration of ‘EXCLUSIVE_LOCKS_REQUIRED’ with no type [-fpermissive]
75 | EXCLUSIVE_LOCKS_REQUIRED(lock_);
| ^
/home/vboxuser/catkin_ws5/src/cartographer/cartographer/mapping/internal/connected_components.h:75:7: error: ‘int cartographer::mapping::ConnectedComponents::EXCLUSIVE_LOCKS_REQUIRED(int)’ cannot be overloaded with ‘int cartographer::mapping::ConnectedComponents::EXCLUSIVE_LOCKS_REQUIRED(int)’
75 | EXCLUSIVE_LOCKS_REQUIRED(lock_);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/vboxuser/catkin_ws5/src/cartographer/cartographer/mapping/internal/connected_components.h:73:34: note: previous declaration ‘int cartographer::mapping::ConnectedComponents::EXCLUSIVE_LOCKS_REQUIRED(int)’
73 | int FindSet(int trajectory_id) EXCLUSIVE_LOCKS_REQUIRED(lock_);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/vboxuser/catkin_ws5/src/cartographer/cartographer/mapping/internal/connected_components.h:80:22: error: expected ‘;’ at end of member declaration
80 | std::map<int, int> forest_ GUARDED_BY(lock_);
| ^~~~~~~
| ;
/home/vboxuser/catkin_ws5/src/cartographer/cartographer/mapping/internal/connected_components.h:80:41: error: ‘lock_’ is not a type
80 | std::map<int, int> forest_ GUARDED_BY(lock_);
| ^~~~~
/home/vboxuser/catkin_ws5/src/cartographer/cartographer/mapping/internal/connected_components.h:80:46: error: ISO C++ forbids declaration of ‘GUARDED_BY’ with no type [-fpermissive]
80 | std::map<int, int> forest_ GUARDED_BY(lock_);
| ^
When using , i get this :
[CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:82 (find_package):
Could not find a package configuration file provided by
"message_generation" with any of the following names:
Add the installation prefix of "message_generation" to CMAKE_PREFIX_PATH or
set "message_generation_DIR" to a directory containing one of the above
files. If "message_generation" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:24 (find_package)
-- Configuring incomplete, errors occurred!
See also "/root/catkin_ws/build_isolated/cartographer_ros_msgs/CMakeFiles/CMakeOutput.log".
<== Failed to process package 'cartographer_ros_msgs':
Command '['/root/catkin_ws/install_isolated/env.sh', 'cmake', '/root/catkin_ws/src/cartographer_ros/cartographer_ros_msgs', '-DCATKIN_DEVEL_PREFIX=/root/catkin_ws/devel_isolated/cartographer_ros_msgs', '-DCMAKE_INSTALL_PREFIX=/root/catkin_ws/install_isolated', '-G', 'Ninja']' returned non-zero exit status 1.
Reproduce this error by running:
==> cd /root/catkin_ws/build_isolated/cartographer_ros_msgs && /root/catkin_ws/install_isolated/env.sh cmake /root/catkin_ws/src/cartographer_ros/cartographer_ros_msgs -DCATKIN_DEVEL_PREFIX=/root/catkin_ws/devel_isolated/cartographer_ros_msgs -DCMAKE_INSTALL_PREFIX=/root/catkin_ws/install_isolated -G Ninja
Command failed, exiting.
]
how do i solve this issue
The text was updated successfully, but these errors were encountered: