Skip to content

Cannot find load file error on cmake #224

@elixir-1

Description

@elixir-1

Hi, I am trying to cmake s2 using the following command,
cmake -DWITH_GFLAGS=ON -WITH_GTEST=ON \ -DGTEST_ROOT=/usr/src/gtest \ -DOPENSSL_INCLUDE_DIR=/usr/include/openssl -Dabsl_DIR=/home/vidhi/Documents/BII/abseil/Source/abseil-cpp/build -DWITH_PYTHON=ON ..

I get this error on running the command,
-- The following features have been enabled:

  • GFLAGS, allows changing command line flags.
  • GLOG, provides logging configurability.
  • SHARED_LIBS, builds shared libraries instead of static.
  • PYTHON, provides python interface to S2

CMake Error at /home/vidhi/Documents/BII/abseil/Source/abseil-cpp/build/abslConfig.cmake:32 (include):
include could not find load file:

/home/vidhi/Documents/BII/abseil/Source/abseil-cpp/build/abslTargets.cmake

Call Stack (most recent call first):
CMakeLists.txt:74 (find_package)

I have abseil build and installed following the instructions from here https://abseil.io/docs/cpp/quickstart-cmake. But I cannot find this abslTargets.cmake file anywhere. What did I miss?

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