[GNC-dev] gnucash-3.0 build: GMOCK not found
Geert Janssens
geert.gnucash at kobaltwit.be
Thu Apr 26 07:29:58 EDT 2018
Op donderdag 26 april 2018 12:46:45 CEST schreef Paul Dest:
> Hi everybody,
>
> Trying to build gnucash-3.0 on my Linux Mint I get the following error
> message that I cannot fix on my own:
>
> --------------------------------------------------------
> paul at paul-Macmini ~/gnucash/build $ cmake -D
> CMAKE_INSTALL_PREFIX=$HOME/.local ~/gnucash/gnucash-3.0/
> -- Using guile-2.0.x
> -- Using guile SRFI-64
> -- Checking for GTEST
> -- Checking for GMOCK
> CMake Error at common/cmake_modules/GncAddTest.cmake:168 (MESSAGE):
> GMOCK not found. Please install it or set GMOCK_ROOT
> Call Stack (most recent call first):
> CMakeLists.txt:596 (GNC_GTEST_CONFIGURE)
>
>
> -- Configuring incomplete, errors occurred!
> See also "/home/paul/gnucash/build/CMakeFiles/CMakeOutput.log".
> See also "/home/paul/gnucash/build/CMakeFiles/CMakeError.log".
> -------------------------------------------------------
>
> I cannot find any gmock package in any repository or on the Web.
> Furthermore, the https://github.com/google/googlemock says: "This
> project has been absorbed into the GoogleTest project. All open
> googlemock issues have been moved there." And I have already installed
> all GoogleTest packages.
>
> How to proceed?
>
> Thanks in advance,
> Paul
The current recommendation is to clone the googletest repository and then add
-DGMOCK_ROOT=<path-to-gmock-in-googletest-repo> to your cmake invocation.
Regards,
Geert
More information about the gnucash-devel
mailing list