Robotics StackExchange | Archived questions

Colcon error: WNDPROC return value cannot be converted to LRESULT

Hi, I am here to seek some help for ROS2 colcon error in Windows 10. I was trying to run the tutorial in ROS2 "Using colcon to build packages" , while I input the command

colcon build --symlink-install --merge-install

the command window shows the error:

Summary: 16 packages finished [5min 45s]
  7 packages had stderr output: examples_rclpy_executors examples_rclpy_minimal_action_client examples_rclpy_minimal_action_server examples_rclpy_minimal_client examples_rclpy_minimal_publisher examples_rclpy_minimal_service examples_rclpy_minimal_subscriber
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)

I was trying to solve this WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType), but didn't find a way out, can you please give me some resolution or hints to fix this?

Asked by cooperhhhr on 2023-06-06 13:32:05 UTC

Comments

I'm closing this as a duplicate of #q415532, which I believe this is a duplicate of.

From the comment you posted there, it would appear you'd already found it as well.

Asked by gvdhoorn on 2023-06-07 10:36:49 UTC

Answers