Skip to content

have problems compiling poprithms #2

@Matsi13

Description

@Matsi13

I followed the instructions in README, and when I tried to compile poprithm, an error occured:
-- Building poprithms with Boost Stacktrace
-- Found Boost 1.70.0 at /data/login_home/lijinxi/boost_1_70_0/install_dir/lib/cmake/Boost-1.70.0
-- Requested configuration: QUIET REQUIRED COMPONENTS filesystem;system;serialization
-- Found boost_headers 1.70.0 at /data/login_home/lijinxi/boost_1_70_0/install_dir/lib/cmake/boost_headers-1.70.0
-- Found boost_filesystem 1.70.0 at /data/login_home/lijinxi/boost_1_70_0/install_dir/lib/cmake/boost_filesystem-1.70.0
-- libboost_filesystem.a
-- Adding boost_filesystem dependencies: headers
-- Found boost_system 1.70.0 at /data/login_home/lijinxi/boost_1_70_0/install_dir/lib/cmake/boost_system-1.70.0
-- libboost_system.a
-- Adding boost_system dependencies: headers
-- Found boost_serialization 1.70.0 at /data/login_home/lijinxi/boost_1_70_0/install_dir/lib/cmake/boost_serialization-1.70.0
-- libboost_serialization.a
-- Adding boost_serialization dependencies: headers
-- Boost_INCLUDE_DIRS is /data/login_home/lijinxi/boost_1_70_0/install_dir/include
-- Boost_LIBRARIES is Boost::filesystemBoost::systemBoost::serialization
-- Appending -Werror compiler flag, because POPRITHMS_WERROR=TRUE
CMake Error at poprithms/tests/mocks/CMakeLists.txt:3 (find_package):
Could not find a package configuration file provided by "GTest" with any of
the following names:

GTestConfig.cmake
gtest-config.cmake

Add the installation prefix of "GTest" to CMAKE_PREFIX_PATH or set
"GTest_DIR" to a directory containing one of the above files. If "GTest"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!
See also "/data/login_home/lijinxi/poprithms/build/CMakeFiles/CMakeOutput.log".
See also "/data/login_home/lijinxi/poprithms/build/CMakeFiles/CMakeError.log".

Could you please tell me how can I fix this?

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