"[rti_connext_dds_cmake_module][warning] RTI Connext DDS environment script not found (\resource\scripts\rtisetenv_x64Win64VS2017.bat). RTI Connext DDS will not be available at runtime, unless you already configured PATH manually."
意思是没找到。首先要安装这东西,其次,就是要运行一下脚本。
call c:\Program Files\rti_connext_dds-5.3.1\resource\scripts\rtisetenv_x64Win64VS2017.bat
call d:\pro\ros2-windows\local_setup.bat
运行完这两条就可以跑测试程序了。