Open meschi opened 1 year ago
Does source tools/debian_buildenv.sh setup
succeed, i.e. no errors about packages not being found?
Can you install Gtest with apt?
The file /usr/share/cmake-3.16/Modules/FindGTest.cmake exists.
I'm not sure how /usr/share/cmake-3.16/Modules/FindGTest.cmake
is relevant?
Please check if libgtest-dev
installed one of the files mentioned in the cmake output, GTestConfig.cmake or gtest-config.cmake, for example with this command
dpkg -L libgtest-dev | grep cmake
Confirmed, ran into this when I reverted to 20.04 default build env. Gtest packages of 20.04 don't provide a cmake config, that was introduced with the versions available in 22.04
So IIUC building with 20.04 (default packages) is not possible currently.
Two ways to "fix" it:
googletest_1.11.0-3_all.deb
libgmock-dev_1.11.0-3_amd64.deb
libgtest-dev_1.11.0-3_amd64.deb
(there are newer versions)
Downside: these versions require a newer libc version, so the Mixxx tests can't be built with it. I also have a newer gcc verion, don't remember if I had to get that because of the newer gtest packages. You'll find out...
Bug Description
I used the build instructions from the readme file:
cmake .. causes this error:
Version
2.4
OS
Ubuntu 20.04.6 LTS