4 Replies Latest reply on Jul 6, 2018 4:56 AM by Intel Corporation

    CMAKE_MODULE_PATH is not set

    jayeshtank

      I am trying to use find_package(caffe) in my cmakelist.txt file and got the following error:

       

      CMake Warning at (find_package):
      By not providing "FindCaffe.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "Caffe", but
      CMake did not find one.

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

      CaffeConfig.cmake
      caffe-config.cmake
      Add the installation prefix of "Caffe" to CMAKE_PREFIX_PATH or set
      "Caffe_DIR" to a directory containing one of the above files. If "Caffe"
      provides a separate development package or SDK, be sure it has been
      installed.

      a) CaffeConfig.cmake, caffe-config.cmake is not part of Caffe installation on ColFax Cloud. How do I get these files?

      b) Upon checking CMAKE_PREFIX_PATH, CMAKE_MODULE_PATH, Caffe_DIR are not set. Could you specify what is the correct params these export variables should be set to ?