Как использовать CMake - PullRequest
       2

Как использовать CMake

0 голосов
/ 29 октября 2018

Я пытаюсь восстановить это на моей машине:

https://github.com/sfdodge/xnet

Для этого мне нужно было установить xtensor и xtensor-blas. Я выполнил шаги и успешно установил xtensor. Однако у меня проблемы с установкой xtensor-blas. Я создаю новый каталог и запускаю эту команду

cmake /home/fatima/Downloads/xtensor-blas-master

Создает следующий журнал:

The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- xtensor-blas v0.14.0
CMake Error at CMakeLists.txt:45 (find_package):
  By not providing "Findxtensor.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "xtensor", but
  CMake did not find one.

  Could not find a package configuration file provided by "xtensor" with any
  of the following names:

    xtensorConfig.cmake
    xtensor-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/fatima/Downloads/Untitled Folder 3/CMakeFiles/CMakeOutput.log".

Что я делаю не так?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...