-
Notifications
You must be signed in to change notification settings - Fork 3
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 irrlicht, update vcpkg and install ignition libraries via vcpkg #39
Conversation
The build is failing with error:
I don't have access to the log, but I guess this may be connected to microsoft/vcpkg#15250 that happens if CMake 3.19.0 or 3.19.1 are used (https://gitlab.kitware.com/cmake/cmake/-/issues/21529). |
Indeed, ti seems that GitHub Action Windows images is using the CMake 3.19.1 at the moment: actions/runner-images#2192 (comment) . In theory vcpkg has its own copy of CMake (see for example microsoft/vcpkg#14716), but if a newer version is found in the system, that one is used, with no way of forcing the use of the internal version (see https://github.com/microsoft/vcpkg/blob/9ddc9173d7858ddb40b2fc0cdc73b529c390ba47/docs/users/config-environment.md#vcpkg_force_system_binaries). In this case the internal version would be 3.18.4 (that was working fine), but we have no way of forcing the use of it. In theory we could find a workaround by deleting the CMake installed by the GitHub Actions image, but in practice is just easier to update vcpkg to a commit after microsoft/vcpkg#14716 so that the internal 3.19.2 is used. |
Done in acc2003 . |
Obviously updating vcpkg broke the Gazebo build. |
At this point, given that microsoft/vcpkg#11273 was finally merged, let's also add a vcpkg port for ignition-fuel-tools4, so we can install all Gazebo11 dependencies from vcpkg and this should simplify the debug. |
|
The latest Gazebo requires sdformat 9.3, and the version in vcpkg was too old. I bumped it in microsoft/vcpkg#15720 . |
That PR was merged, and I updated the vcpkg version in cff73ec . In ddb892b I also updated the Gazebo version to include the fix gazebosim/gazebo-classic#2862 for compilation against the latest Boost, unfortunately we can't use the 11.3.0 release due to the bug gazebosim/gazebo-classic#2905 that I introduced in it and is only fixed in the latest master commit. |
The job continues to fail, so I modified it to also upload the complete logs as an artifacts. By inspecting the logs (
i.e. some kind of API change in the latest OGRE, probably we should have a periodic build that runs with vcpkg master to early catch this problems. |
Interestingly, the last successful build in https://github.com/robotology/robotology-superbuild-dependencies-vcpkg/releases/tag/v0.5.0 was using Ogre 1.12.9#1, while the latest vcpkg has Ogre 1.12.9#4, so it is not a OGRE change, but rather a vcpkg-specific regression. |
The regression is most probably due to microsoft/vcpkg#15194, that changes Ogre to build by default with the strict resource manager, instead of making the strict resource manager opt-in . |
Waiting for the upstream discussion, I enabled all the default features except for strict in 2666dfd . |
I really envy your optimism on the possible problems that may arise when we may need to bump vcpkg version, young @traversaro . |
The workaround worked nice. The problem will be fixed upstream by microsoft/vcpkg#15789, but given that now the CI is working I think we should merge. |
irrlicht is used by iDynTree visualizer support, that against my advice several people are using. : )
It is quite a small and self-contained library, so I think it is perfectly safe to add it.