Fix compilation for Ubuntu 22.04 (Humble)#198
Conversation
On humble we have libgtest-dev at version 1.11.0-3 but this package restricts gtest to 1.12 or higher. If you remove this version restriction, this package can also be used on Humble.
|
This is fixposition-sdk dependency, which is why we install gtest 1.13 "manually": https://github.com/fixposition/fixposition-sdk/blob/main/docker/scripts/install_gtest.sh for those systems (Docker images) that come with an earlier one, such as Ubuntu 22 (https://github.com/fixposition/fixposition-sdk/blob/main/docker/Dockerfile.humble-base#L34). You can skip the testing by using the FPSDK_BUILD_TESTING=OFF CMake option. Does that work for you? |
|
Yes I see that a higher version is installed. But this is not needed. All tests run fine with gtest 1.11 |
|
I believe there are other (non-public) branches/versions of fixposition-sdk that do need a more recent gtest. That's why it explicitly asks for at least this version. I'll investigate this a bit more at some time, perhaps we can set it to >= 1.11 For the time being please either upgrade your gtest or build with FPSDK_BUILD_TESTING=OFF or build using your branch. |
On humble we have
libgtest-devat version 1.11.0-3 but this package restricts gtest to 1.12 or higher. If you remove this version restriction, this package can also be used on Humble.