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

Ublox_msgs_lib Error #221

Open
Dashenboy opened this issue Jun 29, 2023 · 1 comment
Open

Ublox_msgs_lib Error #221

Dashenboy opened this issue Jun 29, 2023 · 1 comment

Comments

@Dashenboy
Copy link

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:

  • The file was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and contained

    "C:/dev/ros2_ws/install/ublox_msgs/share/ublox_msgs/cmake/ublox_msgs_libExport.cmake"

but not all the files it references.

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):

  • Windows 10
  • Humble

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
Copy link
Collaborator

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.

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