popart icon indicating copy to clipboard operation
popart copied to clipboard

have problems compiling poprithms

Open Matsi13 opened this issue 1 year ago • 1 comments

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?

Matsi13 avatar Sep 19 '22 03:09 Matsi13