WNDPROC return value cannot be converted to LRESULT
Hi,
I'm building ros2 humble from source on Windows 11, when I run colcon like this:
colcon build --packages-select google_benchmark_vendor
I got outupt messages as:
Finished <<< google_benchmark_vendor [1.45s]
Summary: 1 package finished [3.14s]
It seems that the build succeeded?
I also got messages as:
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)
I'm not sure about the last 2 lines of message, is it an error of colcon? cmake? some python code? does it matter?
Somehow I got the same messages, and I think it is not related to Colcon but it's in the code we're trying to compile.
Hi, do you find any solution for this matter?
It's possible this is a problem with Colcon's desktop notification extension.
Could you try rerunning your build but add
--event-handlers desktop_notification-
to the arguments?I got the same Message and package failed due to this error. Any update?
Have you tried running with the argument I suggested? That would give a clue as to whether the problem is in the notifications or not.
if it's the same message it should not cause a failed build of a package.
Yes, you are right. It is not causing any fail to build the packages. There are other problems.
with your argument message is disappeared.
If running your build with
--event-handlers desktop_notification-
avoids theWPARAM
error message, please post about your issue on colcon/colcon-notification/issues.You can link it to this post on ROS Answers.
Edit: colcon/colcon-notification#64.