KumarRobotics / ublox

A driver for ublox gps
BSD 3-Clause "New" or "Revised" License
431 stars 378 forks source link

Ublox_msgs_lib Error #221

Open Dashenboy opened 1 year ago

Dashenboy commented 1 year ago

This bug won't allow me to compile in windows 10. Specifically, the ublox_gps. It seems as if the cmakelist isn't generating ublox_msgs_lib.lib, C:\dev\ros2_ws>colcon build Starting >>> diagnostic_updater Starting >>> ublox_serialization Starting >>> diagnostic_aggregator Finished <<< ublox_serialization [3.86s] Starting >>> ublox_msgs [Processing: diagnostic_aggregator, diagnostic_updater, ublox_msgs] Finished <<< ublox_msgs [33.9s] [Processing: diagnostic_aggregator, diagnostic_updater] Finished <<< diagnostic_aggregator [1min 30s] Finished <<< diagnostic_updater [1min 36s] Starting >>> diagnostic_common_diagnostics Starting >>> ublox_gps --- stderr: ublox_gps CMake Warning at C:/dev/ros2_ws/install/ublox_msgs/share/ublox_msgs/cmake/ament_cmake_export_libraries-extras.cmake:116 (message): Package 'ublox_msgs' exports library 'lib' which couldn't be found Call Stack (most recent call first): C:/dev/ros2_ws/install/ublox_msgs/share/ublox_msgs/cmake/ublox_msgsConfig.cmake:41 (include) CMakeLists.txt:26 (find_package)

CMake Error at C:/dev/ros2_ws/install/ublox_msgs/share/ublox_msgs/cmake/ublox_msgs_libExport.cmake:84 (message): The imported target "ublox_msgs::ublox_msgs_lib" references the file

 "C:/dev/ros2_ws/install/ublox_msgs/lib/ublox_msgs_lib.lib"

but this file does not exist. Possible reasons include:

Call Stack (most recent call first): C:/dev/ros2_ws/install/ublox_msgs/share/ublox_msgs/cmake/ament_cmake_export_targets-extras.cmake:9 (include) C:/dev/ros2_ws/install/ublox_msgs/share/ublox_msgs/cmake/ublox_msgsConfig.cmake:41 (include) CMakeLists.txt:26 (find_package)


Failed <<< ublox_gps [14.8s, exited with code 1] Aborted <<< diagnostic_common_diagnostics [23.1s]

Summary: 4 packages finished [1min 59s] 1 package failed: ublox_gps 1 package aborted: diagnostic_common_diagnostics 1 package had stderr output: ublox_gps 1 package not processed

In my include Lib Folder I am not finding it as well image

Expected behavior Ive tried building Ublox_msgs before ublox_gps its build but still doesn't generate the library.

Desktop (please complete the following information):

I saw this issue 3 years ago saying you haven't worked on it for windows but i was just wondering if that has changed now that ros1 is reaching its end of life.

clalancette commented 1 year ago

I saw this issue 3 years ago saying you haven't worked on it for windows but i was just wondering if that has changed now that ros1 is reaching its end of life.

Unfortunately I have not. If you figure out a way to make this build on Windows, I'm happy to review patches that fix it.