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?
Asked by felixf4xu on 2023-05-18 02:15:48 UTC
Comments
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.
Asked by renepo on 2023-06-01 02:31:43 UTC
Hi, do you find any solution for this matter?
Asked by cooperhhhr on 2023-06-06 13:59:28 UTC
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?Asked by gvdhoorn on 2023-06-06 23:39:08 UTC
I got the same Message and package failed due to this error. Any update?
Asked by yerkgb on 2023-06-20 04:17:03 UTC
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.
Asked by gvdhoorn on 2023-06-20 05:43:19 UTC
Yes, you are right. It is not causing any fail to build the packages. There are other problems.
with your argument message is disappeared.
Asked by yerkgb on 2023-06-20 07:16:09 UTC
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.
Asked by gvdhoorn on 2023-06-20 11:12:03 UTC