how to

cmake-no-pybind11-config-cmake

Sep 15, 2023
GitHubreal-stanfordcloth-funnels
1 Minutes
99 Words

Fault

1
CMake Error at CMakeLists.txt:7 (find_package):
2
By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
3
asked CMake to find a package configuration file provided by "pybind11",
4
but CMake did not find one.
5
6
Could not find a package configuration file provided by "pybind11" with any
7
of the following names:
8
9
pybind11Config.cmake
10
pybind11-config.cmake
11
12
Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
13
"pybind11_DIR" to a directory containing one of the above files. If
14
"pybind11" provides a separate development package or SDK, be sure it has
15
been installed.

Sol

激活一个有 pybind 的 conda 环境。

例如

1
conda activate cloth-funnels
Article title:cmake-no-pybind11-config-cmake
Article author:Julyfun
Release time:Sep 15, 2023
Copyright 2025
Sitemap