KumarRobotics / ublox

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

Can't compile on windows10 #86

Open uhligr opened 4 years ago

uhligr commented 4 years ago

Hello,

when i try to compile, i get the following error:

c:\HSA\Code\ublox-dashing-devel>colcon build Starting >>> ublox_serialization Finished <<< ublox_serialization [25.0s] Starting >>> ublox_msgs [Processing: ublox_msgs] Finished <<< ublox_msgs [233.8s] Starting >>> ublox_gps --- stderr: ublox_gps CMake Error at C:/HSA/Code/ublox-dashing-devel/install/ublox_msgs/share/ublox_msgs/cmake/ament_cmake_export_libraries-extras.cmake:48 (message): Package 'ublox_msgs' exports the library 'ublox_msgs_lib' which couldn't be found Call Stack (most recent call first): C:/HSA/Code/ublox-dashing-devel/install/ublox_msgs/share/ublox_msgs/cmake/ublox_msgsConfig.cmake:38 (include) CMakeLists.txt:26 (find_package)


Failed <<< ublox_gps [ Exited with code 1 ]

Summary: 2 packages finished [258.8s] 1 package failed: ublox_gps 1 package had stderr output: ublox_gps 1 package not processed

Using: Windows 10 ROS2 Dashing RMW: fastrtps CMake: 3.14.1

Any Ideas?

Thank you!

clalancette commented 4 years ago

I did the initial ROS 2 port to Dashing, but I didn't try it at all on Windows. I suspect that it will need a bunch of fixes to the CMakeLists.txt and the header files to make work. I won't have time to look into it myself, but I'd be happy to review PRs that added support.