chengyangkj / Ros_Qt5_Gui_App

ROS human computer interface based on Qt5(基于Qt5的ROS人机交互界面)
GNU General Public License v2.0
898 stars 304 forks source link

请问windows下能使用吗?总是编译失败 #43

Closed coolmaxx closed 2 months ago

coolmaxx commented 3 months ago

bug描述 在项目根目录使用colcon build --event-handlers console_direct+编译出现错误

1>Checking Build System yaml-cpp.vcxproj -> C:\qt_ws\Ros_Qt5_Gui_App\build\ros_qt5_gui_app\3rdpart\yaml-cpp\Release\yaml-cpp.lib LINK : fatal error LNK1104: �޷����ļ���libboost_filesystem-vc142-mt-x64-1_74.lib�� [C:\qt_ws\Ros_Qt5_Gui_App\build\ros_qt5_gui_app\common\common.vcxproj] plugin.vcxproj -> C:\qt_ws\Ros_Qt5_Gui_App\build\ros_qt5_gui_app\plugin\Release\plugin.lib Automatic MOC for target qt5advanceddocking qt5advanceddocking.vcxproj -> C:\qt_ws\Ros_Qt5_Gui_App\build\ros_qt5_gui_app\lib\Release\qt5advanceddocking_static.lib yaml-cpp-parse.vcxproj -> C:\qt_ws\Ros_Qt5_Gui_App\build\ros_qt5_gui_app\3rdpart\yaml-cpp\util\Release\parse.exe yaml-cpp-read.vcxproj -> C:\qt_ws\Ros_Qt5_Gui_App\build\ros_qt5_gui_app\3rdpart\yaml-cpp\util\Release\read.exe yaml-cpp-sandbox.vcxproj -> C:\qt_ws\Ros_Qt5_Gui_App\build\ros_qt5_gui_app\3rdpart\yaml-cpp\util\Release\sandbox.exe Failed <<< ros_qt5_gui_app [2.94s, exited with code 1]

Summary: 0 packages finished [3.78s] 1 package failed: ros_qt5_gui_app WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType)

操作步骤 安装了Ros2 windows版本,和虚拟机上的ros2能建立通讯 common.vcxproj文件里link的C:\local\boost_1_74_0\lib64-msvc-14.2\boost_filesystem-vc142-mt-x64-1_74.lib文件是存在的,为什么总链接失败? 有windows下编译该项目的教程吗?

分支名及平台: