Skip to content

Unable to build on CentOS 7: missing: GoogleTest_CHECK_FINE #21

@jaepetto

Description

@jaepetto

I'm trying to compile on CentOS 7 and get the following error message:

[root@centos7 build]# ../bootstrap 
-- checking compiler: GCC (4.8.)
-- adding c++0x support for gcc compiler
-- Checking whether strerror_r returns an int
-- Checking whether strerror_r returns an int -- no
-- Find GoogleTest include path: /usr/include
-- Find GoogleMock include path: /usr/include
-- Find Gtest library path: /usr/local/lib/libgtest.a
-- Find Gmock library path: /usr/local/lib/libgmock.a
-- GoogleTest check: 
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find GoogleTest (missing: GoogleTest_CHECK_FINE)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  CMake/FindGoogleTest.cmake:52 (find_package_handle_standard_args)
  CMakeLists.txt:23 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

I have read on several place that the solutions relies on using conda, but it is unfortunately not an option for us...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions