Gepetto / quadruped-reactive-walking

BSD 2-Clause "Simplified" License
18 stars 6 forks source link

Error while `cmake`: `Add the installation prefix of "master_board_sdk"` #9

Open dvogureckiy99 opened 1 year ago

dvogureckiy99 commented 1 year ago

Error while cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=~/install -DPYTHON_EXECUTABLE=$(which python3.8) -DPYTHON_STANDARD_LAYOUT=ON

I installed master-board-sdk and added path export CMAKE_PREFIX_PATH=~/git/master-board/sdk/master_board_sdk:$CMAKE_PREFIX_PATH to the .bashrc.

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
CMake Warning at cmake/doxygen.cmake:494 (message):
  Failed to find Doxygen, documentation will not be generated.
Call Stack (most recent call first):
  cmake/post-project.cmake:59 (_setup_project_documentation)
  CMakeLists.txt:40 (project)

-- pinocchio FOUND. pinocchio at /opt/openrobots/lib/libpinocchio.so
-- boost_filesystem FOUND. boost_filesystem at /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
-- boost_serialization FOUND. boost_serialization at /usr/lib/x86_64-linux-gnu/libboost_serialization.so
-- boost_system FOUND. boost_system at /usr/lib/x86_64-linux-gnu/libboost_system.so
-- Found Boost: /usr/include (found version "1.71.0") found components: filesystem serialization system 
-- hpp-fcl FOUND. hpp-fcl at /opt/openrobots/lib/libhpp-fcl.so
-- Found Boost: /usr/include (found version "1.71.0") found components: chrono serialization 
-- Default C++ standard: 201402
-- C++ standard sufficient: Minimal required 11, currently defined: 14
-- C++ standard sufficient: Minimal required 11, currently defined: 14
-- Found Boost: /usr/include (found version "1.71.0") found components: serialization 
-- C++ standard sufficient: Minimal required 11, currently defined: 14
CMake Error at /usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  By not providing "Findmaster_board_sdk.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "master_board_sdk", but CMake did not find one.

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

    master_board_sdkConfig.cmake
    master_board_sdk-config.cmake

  Add the installation prefix of "master_board_sdk" to CMAKE_PREFIX_PATH or
  set "master_board_sdk_DIR" to a directory containing one of the above
  files.  If "master_board_sdk" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  /home/dvogureckiy99/devel/workspace/install/odri_control_interface/lib/cmake/odri_control_interface/odri_control_interfaceConfig.cmake:150 (find_dependency)
  CMakeLists.txt:48 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/dvogureckiy99/git/quadruped-reactive-walking/build/CMakeFiles/CMakeOutput.log".