caishanli/pyncnn

where to place the pybind11 folder

Closed this issue · 2 comments

i know nothing about cmake , i have success make ncnn and pybind11 .but just cmake the pyncnn always said:

`CMake Error at CMakeLists.txt:13 (find_package):
By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "pybind11",
but CMake did not find one.

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 SDK, be sure it has
been installed.
`
what is the problem? and how to change the cmake file

oh my god !when i cmake success. the src dir is just empty! whereis the main.cpp?
image

pyncnn have merged to Tencent/ncnn, and will auto place pybind11 in ncnn/python/pybind11 when you init git submodules.