ceccocats / tkDNN

Deep neural network library and toolkit to do high performace inference on NVIDIA jetson platforms
GNU General Public License v2.0
718 stars 208 forks source link

Add installing libyaml-cpp-dev to docker/Dockerfile.base #291

Open matthewgiarra opened 2 years ago

matthewgiarra commented 2 years ago

When building docker base image (from docker/Dockerfile.base), cmake was failing with the following:

CMake Error at CMakeLists.txt:91 (find_package):
  By not providing "Findyaml-cpp.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "yaml-cpp",
  but CMake did not find one.

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

    yaml-cppConfig.cmake
    yaml-cpp-config.cmake

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

Adding RUN apt-get update && apt-get install -y libyaml-cpp-dev to Dockerfile.base fixed the issue.