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

build on windows, rosidl_generator_java package failed #232

Open
pengg opened this issue May 9, 2023 · 2 comments
Open

build on windows, rosidl_generator_java package failed #232

pengg opened this issue May 9, 2023 · 2 comments

Comments

@pengg
Copy link

pengg commented May 9, 2023

Finished <<< ament_build_type_gradle [1.56s]
Starting >>> ament_cmake_export_jars
Starting >>> ament_cmake_export_jni_libraries
Finished <<< ament_cmake_export_jars [1.23s]
Starting >>> rcljava_common
Finished <<< ament_cmake_export_jni_libraries [1.31s]
Finished <<< rcljava_common [2.14s]
Starting >>> rosidl_generator_java
--- stderr: rosidl_generator_java
CMake Error at CMakeLists.txt:73 (get_property):
get_property could not find TARGET rosidl_generator_java_messages_jar.
Perhaps it has not yet been created.

CMake Error at E:/tools/ros2-humble/ros2-windows/src/ros2_java_galactic/install/share/rcljava_common/cmake/Modules/JavaExtra.cmake:104 (ament_export_jars):
Unknown CMake command "ament_export_jars".
Call Stack (most recent call first):
CMakeLists.txt:83 (ament_add_junit_tests)


Failed <<< rosidl_generator_java [4.47s, exited with code 1]

Summary: 5 packages finished [11.3s]
1 package failed: rosidl_generator_java
2 packages had stderr output: ament_build_type_gradle rosidl_generator_java
27 packages not processed
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)

@gatordevin
Copy link

Did you ever resolve this issue?

@adammetcalf
Copy link

Similar issue for me, but building on Ubuntu 20.

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

3 participants