jeudi 26 octobre 2017

Pybind11 linux building tests failure - 'Could not find package configuration file pybind11Config.cmake and pybind11-config.cmake'

I'm trying to build pybind11 tests on a linux box. I downloaded the source and do the following -

cd pybind11-master cd tests mkdir build cd build cmake ..

I get the errors - ` Could not find a package configuration file provided by "pybind11" with any of the following names:

pybind11Config.cmake pybind11-config.cmake

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

I followed this link - http://ift.tt/2jFazeE and did as per the instruction in section 'Compiling Test Cases for linux/mac'

I am not sure how to proceed. Any pointers are helpful.

Aucun commentaire:

Enregistrer un commentaire