Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yarp-ros repo with Unstable branches and compile again against YARP master in Unstable branches #1547

Merged
merged 38 commits into from
Oct 30, 2024

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Nov 27, 2023

Fix #1536 .

Changes necessary to support modern YARP:

This PR also adds a ROBOTOLOGY_SUPERBUILD_BUILD_SEPARATE_YARP_ROS CMake option, that is ON by default when used with ROBOTOLOGY_PROJECT_TAGS set to Unstable, but that can be manually enable if users want to set YCM_EP_DEVEL_MODE_YARP to ON and manually switch to use YARP master and the future YARP 3.10.

fyi @SimoneMic @GiulioRomualdi @S-Dafarra

@traversaro
Copy link
Member Author

Build fails with:

2023-11-27T18:15:53.8379707Z [349/448] Performing build step for 'blocktest-yarp-plugins'
2023-11-27T18:15:53.8380458Z FAILED: src/blocktest-yarp-plugins/CMakeFiles/YCMStamp/blocktest-yarp-plugins-build 
2023-11-27T18:15:53.8382783Z cd /__w/robotology-superbuild/robotology-superbuild/build/src/blocktest-yarp-plugins && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /__w/robotology-superbuild/robotology-superbuild/build/src/blocktest-yarp-plugins/CMakeFiles/YCMStamp/blocktest-yarp-plugins-build
2023-11-27T18:15:53.8384691Z ninja: error: '/__w/robotology-superbuild/robotology-superbuild/src/blocktest-yarp-plugins/YARP::yarpidl_thrift', needed by 'thrift/ClockServer.cpp', missing and no known rule to make it

The problem is that both yarp and yarp-ros install the <prefix>/lib/cmake/YARP_idl_tools/YARP_idl_toolsTargets.cmake and <prefix>/lib/cmake/YARP_idl_tools/YARP_idl_toolsConfig.cmake files. The yarp-ros file overwrite the yarp overwrite the yarp file that defines the target YARP::yarpidl_thrift, and hence the error.

traversaro added a commit that referenced this pull request Nov 28, 2023
Until the yarp-ros situation described in #1547 (comment) is fixed.
@traversaro
Copy link
Member Author

Build fails with:

2023-11-27T18:15:53.8379707Z [349/448] Performing build step for 'blocktest-yarp-plugins'
2023-11-27T18:15:53.8380458Z FAILED: src/blocktest-yarp-plugins/CMakeFiles/YCMStamp/blocktest-yarp-plugins-build 
2023-11-27T18:15:53.8382783Z cd /__w/robotology-superbuild/robotology-superbuild/build/src/blocktest-yarp-plugins && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /__w/robotology-superbuild/robotology-superbuild/build/src/blocktest-yarp-plugins/CMakeFiles/YCMStamp/blocktest-yarp-plugins-build
2023-11-27T18:15:53.8384691Z ninja: error: '/__w/robotology-superbuild/robotology-superbuild/src/blocktest-yarp-plugins/YARP::yarpidl_thrift', needed by 'thrift/ClockServer.cpp', missing and no known rule to make it

The problem is that both yarp and yarp-ros install the <prefix>/lib/cmake/YARP_idl_tools/YARP_idl_toolsTargets.cmake and <prefix>/lib/cmake/YARP_idl_tools/YARP_idl_toolsConfig.cmake files. The yarp-ros file overwrite the yarp overwrite the yarp file that defines the target YARP::yarpidl_thrift, and hence the error.

This was fixed by robotology/yarp-ros#19 .

@traversaro traversaro closed this Feb 29, 2024
@traversaro traversaro reopened this Feb 29, 2024
@traversaro
Copy link
Member Author

traversaro commented Feb 29, 2024

Ok, I removed the pin of yarp-3.9 branch in the Unstable branch, as this PR should now ready to merge. Unfortunately, this means that probably we will hit ~3 months backlog of regression due to the changes of YARP, some of which already hit @S-Dafarra .

The first one is in Debian buster:

2024-02-29T13:45:53.7194015Z loading initial cache file /__w/robotology-superbuild/robotology-superbuild/build/src/YARP/CMakeFiles/YCMTmp/YARP-cache-Debug.cmake
2024-02-29T13:45:53.7195516Z CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
2024-02-29T13:45:53.7196434Z   CMake 3.19 or higher is required.  You are running version 3.18.4
2024-02-29T13:45:53.7197057Z 
2024-02-29T13:45:53.7197064Z 
2024-02-29T13:45:53.7197388Z -- Configuring incomplete, errors occurred!
2024-02-29T13:45:54.2974407Z [113/264] Performing configure step for 'BlockFactory'

This was kind of expected. We already discussed about this with core and it basically means that we will stop supporting pc104 systems (see https://icub-tech-iit.github.io/documentation/icub_operating_systems/download/) when using YARP 3.10, and I think it was agreed this was ok (fyi @Nicogene @pattacini).

@traversaro
Copy link
Member Author

We also have the same problem in Focal:

[184/456] Performing configure step for 'YARP'
FAILED: src/YARP/CMakeFiles/YCMStamp/YARP-configure 
cd /__w/robotology-superbuild/robotology-superbuild/build/src/YARP && /usr/bin/cmake --no-warn-unused-cli -DCMAKE_PREFIX_PATH:PATH=/__w/robotology-superbuild/robotology-superbuild/build/install -DYARP_COMPILE_GUIS:BOOL=ON -DYARP_USE_SYSTEM_SQLite:BOOL=ON -DYARP_COMPILE_libYARP_math:BOOL=ON -DYARP_COMPILE_CARRIER_PLUGINS:BOOL=ON -DYARP_DISABLE_MACOS_BUNDLES:BOOL=ON -DENABLE_yarpcar_bayer:BOOL=ON -DENABLE_yarpcar_tcpros:BOOL=ON -DENABLE_yarpcar_xmlrpc:BOOL=ON -DENABLE_yarpcar_priority:BOOL=ON -DENABLE_yarpcar_bayer:BOOL=ON -DENABLE_yarpcar_mjpeg:BOOL=ON -DENABLE_yarpcar_portmonitor:BOOL=ON -DENABLE_yarppm_bottle_compression_zlib:BOOL=ON -DENABLE_yarppm_depthimage_compression_zlib:BOOL=ON -DENABLE_yarppm_image_compression_ffmpeg:BOOL=ON -DENABLE_yarppm_depthimage_to_mono:BOOL=ON -DENABLE_yarppm_depthimage_to_rgb:BOOL=ON -DENABLE_yarpidl_thrift:BOOL=ON -DYARP_COMPILE_DEVICE_PLUGINS:BOOL=ON -DENABLE_yarpcar_human:BOOL=ON -DENABLE_yarpcar_rossrv:BOOL=ON -DENABLE_yarpmod_fakebot:BOOL=ON -DENABLE_yarpmod_imuBosch_BNO055:BOOL=ON -DENABLE_yarpmod_SDLJoypad:BOOL=ON -DENABLE_yarpmod_serialport:BOOL=ON -DENABLE_yarpmod_AudioPlayerWrapper:BOOL=ON -DENABLE_yarpmod_AudioRecorderWrapper:BOOL=ON -DENABLE_yarpmod_portaudio:BOOL=ON -DENABLE_yarpmod_portaudioPlayer:BOOL=ON -DENABLE_yarpmod_portaudioRecorder:BOOL=ON -DENABLE_yarpmod_opencv_grabber:BOOL=ON -DYARP_COMPILE_ALL_FAKE_DEVICES:BOOL=ON -DYARP_COMPILE_RobotTestingFramework_ADDONS:BOOL=ON -DYARP_COMPILE_BINDINGS:BOOL=ON -DYARP_USE_I2C:BOOL=ON -DYARP_USE_SDL:BOOL=ON -DCREATE_PYTHON:BOOL=ON -DCREATE_LUA:BOOL=OFF -DCREATE_CSHARP:BOOL=OFF -DENABLE_yarpmod_usbCamera:BOOL=ON -DENABLE_yarpmod_usbCameraRaw:BOOL=ON -C/__w/robotology-superbuild/robotology-superbuild/build/src/YARP/CMakeFiles/YCMTmp/YARP-cache-Debug.cmake -GNinja /__w/robotology-superbuild/robotology-superbuild/src/YARP && /usr/bin/cmake -E touch /__w/robotology-superbuild/robotology-superbuild/build/src/YARP/CMakeFiles/YCMStamp/YARP-configure
Not searching for unused variables given on the command line.
loading initial cache file /__w/robotology-superbuild/robotology-superbuild/build/src/YARP/CMakeFiles/YCMTmp/YARP-cache-Debug.cmake
CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
  CMake 3.19 or higher is required.  You are running version 3.16.3


-- Configuring incomplete, errors occurred!
[185/456] Creating directories for 'qpOASES'
[186/456] Performing download step (git clone) for 'OpenVR'
Cloning into 'OpenVR'...

For what regards focal, we are not ready to drop 20.04 support (see #1439), so for patching focal probably we can install a newer CMake via either backports or kitware repo.

@traversaro traversaro changed the title Add yarp-ros repo with Unstable branches Add yarp-ros repo with Unstable branches and re-compile against YARP master in Unstable branches Feb 29, 2024
@traversaro
Copy link
Member Author

Ok, now I see the error:

2024-02-29T14:03:18.5628612Z [3/6] Building CXX object ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o
2024-02-29T14:03:18.5629587Z FAILED: ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o 
2024-02-29T14:03:18.5633485Z /usr/bin/c++ -Dftnode_EXPORTS -isystem /__w/robotology-superbuild/robotology-superbuild/build/install/include -g -fPIC -MD -MT ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o -MF ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o.d -o ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o -c /__w/robotology-superbuild/robotology-superbuild/src/yarp-devices-forcetorque/ftNode/ftnodeDriver.cpp
2024-02-29T14:03:18.5638281Z /__w/robotology-superbuild/robotology-superbuild/src/yarp-devices-forcetorque/ftNode/ftnodeDriver.cpp: In member function 'virtual bool yarp::dev::ftnodeDriver::attach(yarp::dev::PolyDriver*)':
2024-02-29T14:03:18.5641536Z /__w/robotology-superbuild/robotology-superbuild/src/yarp-devices-forcetorque/ftNode/ftnodeDriver.cpp:320:38: error: 'class yarp::dev::PolyDriver' has no member named 'getValue'
2024-02-29T14:03:18.5643608Z   320 |     pImpl->serialComPortName = poly->getValue("comport").asString();
2024-02-29T14:03:18.5644475Z       |                                      ^~~~~~~~
2024-02-29T14:03:18.5645337Z [4/6] Building CXX object ftShoe/CMakeFiles/ftshoe.dir/ftshoeDriver.cpp.o
2024-02-29T14:03:18.5646210Z ninja: build stopped: subcommand failed.

That I guess is what @S-Dafarra was reporting.

@S-Dafarra
Copy link
Collaborator

Ok, now I see the error:

2024-02-29T14:03:18.5628612Z [3/6] Building CXX object ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o
2024-02-29T14:03:18.5629587Z FAILED: ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o 
2024-02-29T14:03:18.5633485Z /usr/bin/c++ -Dftnode_EXPORTS -isystem /__w/robotology-superbuild/robotology-superbuild/build/install/include -g -fPIC -MD -MT ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o -MF ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o.d -o ftNode/CMakeFiles/ftnode.dir/ftnodeDriver.cpp.o -c /__w/robotology-superbuild/robotology-superbuild/src/yarp-devices-forcetorque/ftNode/ftnodeDriver.cpp
2024-02-29T14:03:18.5638281Z /__w/robotology-superbuild/robotology-superbuild/src/yarp-devices-forcetorque/ftNode/ftnodeDriver.cpp: In member function 'virtual bool yarp::dev::ftnodeDriver::attach(yarp::dev::PolyDriver*)':
2024-02-29T14:03:18.5641536Z /__w/robotology-superbuild/robotology-superbuild/src/yarp-devices-forcetorque/ftNode/ftnodeDriver.cpp:320:38: error: 'class yarp::dev::PolyDriver' has no member named 'getValue'
2024-02-29T14:03:18.5643608Z   320 |     pImpl->serialComPortName = poly->getValue("comport").asString();
2024-02-29T14:03:18.5644475Z       |                                      ^~~~~~~~
2024-02-29T14:03:18.5645337Z [4/6] Building CXX object ftShoe/CMakeFiles/ftshoe.dir/ftshoeDriver.cpp.o
2024-02-29T14:03:18.5646210Z ninja: build stopped: subcommand failed.

That I guess is what @S-Dafarra was reporting.

Indeed. Related issues:

@S-Dafarra
Copy link
Collaborator

Would it be possible to add also https://github.com/robotology/yarp-devices-ros?

@traversaro
Copy link
Member Author

Would it be possible to add also https://github.com/robotology/yarp-devices-ros?

Sure, I did not realized that was a different repo as well.

@traversaro traversaro reopened this Sep 20, 2024
@traversaro
Copy link
Member Author

I heard from two developers in the last week that they had problems of compatibility due to this, let's try to wrap it up (also in view of a possible YARP 3.10.0 release).

fyi @mfussi66 @kaidegast @MSECode @valegagge @Nicogene

@traversaro
Copy link
Member Author

I guess that teh yarp_rosmsg generator in yarp-ros requires YARP's .dll to be in the PATH for running the generator, but they are not there as at that point in the build we still did not source the setup.bat of the superbuild.

vcpkg build is not frequently use, I guess we can just add the right path in the CI script.

@traversaro
Copy link
Member Author

I guess that teh yarp_rosmsg generator in yarp-ros requires YARP's .dll to be in the PATH for running the generator, but they are not there as at that point in the build we still did not source the setup.bat of the superbuild.

Workaround added in 9b6fe9d .

@traversaro
Copy link
Member Author

  • macos-12 fails with:
WARNING: Error parsing dependencies of yarp: Invalid version: '3.9.0+167-20240805.2+git2fd8e6993'
Error: Process completed with exit code 1.

This problem was fixed in robotology/yarp#3097, but I guess the fix was never forward-merged in yarp master.

This was fixed in robotology/yarp@ac4b416, the merge yarp-3.9 --> master was broken and now it should work fine.

@traversaro
Copy link
Member Author

New failure:

2024-10-10T13:22:34.0084089Z [6/56] Building CXX object src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o
2024-10-10T13:22:34.0085926Z FAILED: src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o 
2024-10-10T13:22:34.0101301Z /home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-c++ -Dyarp_laserFromRosTopic_EXPORTS -isystem /home/runner/work/robotology-superbuild/robotology-superbuild/b/install/include -Wall -Wextra -Wsign-compare -Wpointer-arith -Winit-self -Wnon-virtual-dtor -Wcast-align -Wunused -Wunused-but-set-variable -Wvla -Wmissing-include-dirs -Wlogical-op -Wreorder -Wsizeof-pointer-memaccess -Woverloaded-virtual -Wmismatched-new-delete -Wundef -Wredundant-decls -Wunknown-pragmas -Wunused-result -Wc++2a-compat -Wignored-attributes -Wdangling-else -Wmisleading-indentation -Wtautological-compare -Wsuggest-override -Wmaybe-uninitialized  -Wno-unused-parameter  -Wdeprecated-declarations -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/runner/miniconda3/envs/test/include -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/runner/miniconda3/envs/test/include -O3 -DNDEBUG -fPIC -MD -MT src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o -MF src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o.d -o src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o -c /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/yarp-devices-ros/src/devices/laserFromRosTopic/yarp_plugin_laserFromRosTopic.cpp
2024-10-10T13:22:34.0115970Z In file included from /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/yarp-devices-ros/src/devices/laserFromRosTopic/yarp_plugin_laserFromRosTopic.cpp:10:
2024-10-10T13:22:34.0119697Z /home/runner/work/robotology-superbuild/robotology-superbuild/src/yarp-devices-ros/src/devices/laserFromRosTopic/LaserFromRosTopic.h:17:10: fatal error: yarp/dev/LaserScan2D.h: No such file or directory
2024-10-10T13:22:34.0121894Z    17 | #include <yarp/dev/LaserScan2D.h>
2024-10-10T13:22:34.0122510Z       |          ^~~~~~~~~~~~~~~~~~~~~~~~
2024-10-10T13:22:34.0123088Z compilation terminated.

I think I already solved this in the past.

@Nicogene
Copy link
Member

New failure:

2024-10-10T13:22:34.0084089Z [6/56] Building CXX object src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o
2024-10-10T13:22:34.0085926Z FAILED: src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o 
2024-10-10T13:22:34.0101301Z /home/runner/miniconda3/envs/test/bin/x86_64-conda-linux-gnu-c++ -Dyarp_laserFromRosTopic_EXPORTS -isystem /home/runner/work/robotology-superbuild/robotology-superbuild/b/install/include -Wall -Wextra -Wsign-compare -Wpointer-arith -Winit-self -Wnon-virtual-dtor -Wcast-align -Wunused -Wunused-but-set-variable -Wvla -Wmissing-include-dirs -Wlogical-op -Wreorder -Wsizeof-pointer-memaccess -Woverloaded-virtual -Wmismatched-new-delete -Wundef -Wredundant-decls -Wunknown-pragmas -Wunused-result -Wc++2a-compat -Wignored-attributes -Wdangling-else -Wmisleading-indentation -Wtautological-compare -Wsuggest-override -Wmaybe-uninitialized  -Wno-unused-parameter  -Wdeprecated-declarations -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/runner/miniconda3/envs/test/include -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/runner/miniconda3/envs/test/include -O3 -DNDEBUG -fPIC -MD -MT src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o -MF src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o.d -o src/devices/laserFromRosTopic/CMakeFiles/yarp_laserFromRosTopic.dir/yarp_plugin_laserFromRosTopic.cpp.o -c /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/yarp-devices-ros/src/devices/laserFromRosTopic/yarp_plugin_laserFromRosTopic.cpp
2024-10-10T13:22:34.0115970Z In file included from /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/yarp-devices-ros/src/devices/laserFromRosTopic/yarp_plugin_laserFromRosTopic.cpp:10:
2024-10-10T13:22:34.0119697Z /home/runner/work/robotology-superbuild/robotology-superbuild/src/yarp-devices-ros/src/devices/laserFromRosTopic/LaserFromRosTopic.h:17:10: fatal error: yarp/dev/LaserScan2D.h: No such file or directory
2024-10-10T13:22:34.0121894Z    17 | #include <yarp/dev/LaserScan2D.h>
2024-10-10T13:22:34.0122510Z       |          ^~~~~~~~~~~~~~~~~~~~~~~~
2024-10-10T13:22:34.0123088Z compilation terminated.

I think I already solved this in the past.

This is a similar failure that currently is in yarp-devices-ros2, this is due to:

I think that neither yarp-ros and yarp-devices-ros2 has been ported

@traversaro
Copy link
Member Author

Thanks, I was actually confusing it with robotology/gazebo-yarp-plugins#690 that was for sure easier.

@traversaro
Copy link
Member Author

Fix provided in robotology/yarp-devices-ros#3 .

@traversaro
Copy link
Member Author

New fix robotology/gz-sim-yarp-plugins#217 (fyi @xela-95 can you quicky check the PR so we can unblock this one? Thanks!)

@xela-95
Copy link
Member

xela-95 commented Oct 11, 2024

New fix robotology/gz-sim-yarp-plugins#217 (fyi @xela-95 can you quicky check the PR so we can unblock this one? Thanks!)

Done!

@traversaro
Copy link
Member Author

New fix robotology/gz-sim-yarp-plugins#217 (fyi @xela-95 can you quicky check the PR so we can unblock this one? Thanks!)

Done!

Thanks!

@traversaro
Copy link
Member Author

Finally green!

@traversaro
Copy link
Member Author

Actually not, still a Windows error after 1.5 h of CI:

2024-10-11T12:11:36.8405581Z   CMake Error at D:/a/robotology-superbuild/robotology-superbuild/b/install/lib/cmake/YARP/YARPConfig.cmake:150 (find_package):
2024-10-11T12:11:36.8407255Z     Could not find a package configuration file provided by "YARP_rosmsg" with
2024-10-11T12:11:36.8407862Z     any of the following names:
2024-10-11T12:11:36.8408155Z   
2024-10-11T12:11:36.8408355Z       YARP_rosmsgConfig.cmake
2024-10-11T12:11:36.8408720Z       yarp_rosmsg-config.cmake
2024-10-11T12:11:36.8408969Z   
2024-10-11T12:11:36.8409313Z     Add the installation prefix of "YARP_rosmsg" to CMAKE_PREFIX_PATH or set
2024-10-11T12:11:36.8409924Z     "YARP_rosmsg_DIR" to a directory containing one of the above files.  If
2024-10-11T12:11:36.8410527Z     "YARP_rosmsg" provides a separate development package or SDK, be sure it
2024-10-11T12:11:36.8410977Z     has been installed.
2024-10-11T12:11:36.8411237Z   Call Stack (most recent call first):
2024-10-11T12:11:36.8411674Z     publishers/HumanStatePublisher/CMakeLists.txt:4 (find_package)
2024-10-11T12:11:36.8412076Z   
2024-10-11T12:11:36.8412229Z   
2024-10-11T12:11:36.8420776Z   -- Configuring incomplete, errors occurred!

@traversaro
Copy link
Member Author

The actual error is:

2024-10-11T12:32:52.1959584Z        Creating library D:/a/robotology-superbuild/robotology-superbuild/b/src/yarp-ros/src/carriers/xmlrpc_carrier/Release/yarp_xmlrpc.lib and object D:/a/robotology-superbuild/robotology-superbuild/b/src/yarp-ros/src/carriers/xmlrpc_carrier/Release/yarp_xmlrpc.exp
2024-10-11T12:32:52.2482570Z     yarp_xmlrpc.vcxproj -> D:\a\robotology-superbuild\robotology-superbuild\b\src\yarp-ros\lib\yarp\Release\yarp_xmlrpc.dll
2024-10-11T12:32:52.2807410Z C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'D:\a\robotology-superbuild\robotology-superbuild\b\CMakeFiles\d9c11c0650ae59f51a0ee092b89388a2\yarp-ros-configure.rule;D:\a\robotology-superbuild\robotology-superbuild\b\CMakeFiles\d9c11c0650ae59f51a0ee092b89388a2\yarp-ros-build.rule;D:\a\robotology-superbuild\robotology-superbuild\b\CMakeFiles\d9c11c0650ae59f51a0ee092b89388a2\yarp-ros-install.rule;D:\a\robotology-superbuild\robotology-superbuild\b\CMakeFiles\749f66fd2258ce12d9f2093c7ec6007b\yarp-ros-complete.rule;D:\a\robotology-superbuild\robotology-superbuild\b\CMakeFiles\7bcbaeb6a047aea64e351c9c4eb34a3f\yarp-ros.rule;D:\a\robotology-superbuild\robotology-superbuild\CMakeLists.txt' exited with code 1. [D:\a\robotology-superbuild\robotology-superbuild\b\yarp-ros.vcxproj]

@traversaro
Copy link
Member Author

Argh, I tooth I had close this.

@traversaro
Copy link
Member Author

Finally green!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unstable CI failure End of November 2023
4 participants