Missing: rosy_DIR

I’m getting errors when trying to compile. I don’t really know what caused the error. Something seems corrupt.
This is what I do:
rm -rf build/ devel/

And I get this error:
– ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
– ~~ traversing 13 packages in topological order:
– ~~ - my_publisher_example_pkg
– ~~ - topics_quiz
– ~~ - exercise_33
– ~~ - exercise_62
– ~~ - exercise_63
– ~~ - my_custom_srv_msg_pkg
– ~~ - my_exercise_31
– ~~ - my_package
– ~~ - my_service_client_example_pkg
– ~~ - my_service_server_example_pkg
– ~~ - my_subscriber_example_pkg
– ~~ - services_quiz
– ~~ - unit_5_services
– ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
– +++ processing catkin package: ‘my_publisher_example_pkg’
– ==> add_subdirectory(my_publisher_example_pkg)
– Could NOT find rosy (missing: rosy_DIR)
– Could not find the required component ‘rosy’. The following CMake error indicates that you either need to install the package withthe 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 “rosy” with any of**
** the following names:**

** rosyConfig.cmake**
** rosy-config.cmake**

** Add the installation prefix of “rosy” to CMAKE_PREFIX_PATH or set**
** “rosy_DIR” to a directory containing one of the above files. If “rosy”**
** provides a separate development package or SDK, be sure it has been**
** installed.**
Call Stack (most recent call first):
** my_publisher_example_pkg/CMakeLists.txt:10 (find_package)**
– Configuring incomplete, errors occurred!

That package “my_publisher_example_pkg” has nothing strange, I know it works, I think it fails there just because it is the first one on the list.

This is the error. rosy should be rospy (most likely). You have this error in the CMakeLists.txt file of your my_publisher_example_pkg package, on line 10.

Search for rosy in that file and replace it with rospy, or remove it if not needed.

Oh my g…! Exactly, that was it!
I don’t know in which moment I made that typo.

Thanks a lot!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.