ms-iot / ROSOnWindows

ROS on Windows Documentation Repository
https://aka.ms/ros/docs
MIT License
211 stars 48 forks source link

BUG: The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (gazebo) #364

Open SpaceView opened 2 years ago

SpaceView commented 2 years ago

Describe the bug As described below, The package name passed to find_package_handle_standard_args (PkgConfig) does not match the name of the calling package (gazebo) No package 'OGRE' found


To Reproduce Following the webpage: https://ms-iot.github.io/ROSOnWindows/ros2/nav2.html

D:\ros2prj\nav2_ws>call C:\opt\ros\galactic\x64\setup.bat D:\ros2prj\nav2_ws>colcon build [1.785s] root DEBUG Using proactor: IocpProactor Starting >>> turtlebot3_msgs Starting >>> dynamixel_sdk Starting >>> turtlebot3_description Starting >>> dynamixel_sdk_custom_interfaces Starting >>> turtlebot3_cartographer Starting >>> turtlebot3_navigation2 Starting >>> turtlebot3_teleop Finished <<< turtlebot3_teleop [1.30s] Finished <<< turtlebot3_cartographer [2.25s] Finished <<< turtlebot3_navigation2 [2.30s] Finished <<< dynamixel_sdk [2.56s] Finished <<< turtlebot3_description [2.58s] Starting >>> turtlebot3_gazebo Finished <<< dynamixel_sdk_custom_interfaces [6.48s] Starting >>> dynamixel_sdk_examples Finished <<< turtlebot3_msgs [7.19s] Starting >>> turtlebot3_node Starting >>> turtlebot3_example Starting >>> turtlebot3_fake_node stderr: turtlebot3_gazebo CMake Warning (dev) at C:/opt/ros/galactic/x64/Lib/site-packages/cmake/data/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to find_package_handle_standard_args (PkgConfig) does not match the name of the calling package (gazebo). This can lead to problems in calling code that expects find_package result variables (e.g., _FOUND) to follow a certain pattern. Call Stack (most recent call first): C:/opt/ros/galactic/x64/Lib/site-packages/cmake/data/share/cmake-3.20/Modules/FindPkgConfig.cmake:70 (find_package_handle_standard_args) C:/opt/ros/galactic/x64/Lib/cmake/gazebo/gazebo-config.cmake:31 (include) CMakeLists.txt:23 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

Package OGRE was not found in the pkg-config search path. Perhaps you should add the directory containing `OGRE.pc' to the PKG_CONFIG_PATH environment variable No package 'OGRE' found

Failed <<< turtlebot3_gazebo [5.42s, exited with code 1] Aborted <<< dynamixel_sdk_examples [1.56s] Aborted <<< turtlebot3_example [1.22s] Aborted <<< turtlebot3_fake_node [2.27s] Aborted <<< turtlebot3_node [2.72s]

Summary: 7 packages finished [10.4s] 1 package failed: turtlebot3_gazebo 4 packages aborted: dynamixel_sdk_examples turtlebot3_example turtlebot3_fake_node turtlebot3_node 1 package had stderr output: turtlebot3_gazebo 3 packages not processed


Environment information:

what happened?

AB#509376

ooeygui commented 2 years ago

Hi there, Thank you for the issue and the chocolatey logs. I see that you are using the galactic build. This has not been officially released for chocolatey. Is there a specific feature of galactic that you need? If not, the ros-foxy-desktop release is fully supported