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

An error occurred during catkin_make. #1

Open
jz068 opened this issue Jan 24, 2023 · 1 comment
Open

An error occurred during catkin_make. #1

jz068 opened this issue Jan 24, 2023 · 1 comment

Comments

@jz068
Copy link

jz068 commented Jan 24, 2023

Hello, sorry to bother you. I downloaded the project and run it on ubuntu20.04, where I found two suspicious points. 
1 indicates an error during operation (catkin_make)
[CMake Error at CMakeLists.txt:5 (find_package):
By not providing "Findsmach_viewer.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"smach_viewer", but CMake did not find one.
Could not find a package configuration file provided by "smach_viewer" with
any of the following names:
smach_viewerConfig.cmake
smach_viewer-config.cmake
Add the installation prefix of "smach_viewer" to CMAKE_PREFIX_PATH or set
"smach_viewer_DIR" to a directory containing one of the above files. If
"smach_viewer" provides a separate development package or SDK, be sure it
has been installed.]
. 2 the file is not found.
rosrun pick_and_place_contraller state_machine.py

@leoll2
Copy link
Owner

leoll2 commented Jan 25, 2023

Hi jz08, the project indeed depends on smach, make sure it is properly installed in your system.
By the way, I used ROS Melodic (Ubuntu 18.04) for this project, I cannot guarantee that it works with newer versions like Noetic too (but it should, with minor adjustments)

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

2 participants