Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Got the following error while installing #79

Open
ruanqizhen opened this issue Mar 28, 2022 · 0 comments
Open

Got the following error while installing #79

ruanqizhen opened this issue Mar 28, 2022 · 0 comments

Comments

@ruanqizhen
Copy link

ruanqizhen commented Mar 28, 2022

I'm running it on a Linux.

$ cmake -DCMAKE_BUILD_TYPE=Release path/to/sourcecode/
CMake Error: The source directory "/home/xxxxx/projects/tin-terrain/build-cmake-release/path/to/sourcecode" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

Changed the cmake path then got the following error:

$ cmake -DCMAKE_BUILD_TYPE=Release ..
-- file /home/xxxxx/projects/tin-terrain/3rdparty/libfmt-5.1.0.tar.gz already downloaded and unpacked, not doing anything
-- file /home/xxxxx/projects/tin-terrain/3rdparty/libglm-0.9.9.0.tar.gz already downloaded and unpacked, not doing anything
-- file /home/xxxxx/projects/tin-terrain/3rdparty/Catch2-2.3.0/catch.hpp already downloaded and unpacked, not doing anything
-- CMake version: 3.22.1
-- Version: 5.1.0
-- Build type: Release
-- CXX_STANDARD: 14
-- Configuring done
CMake Error in CMakeLists.txt:
  Imported target "Boost::program_options" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in CMakeLists.txt:
  Imported target "Boost::program_options" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant