You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to get started with pybind11.
I had downloaded cmake_example-master.zip and I am trying to built example following the instructions for Windows:
mkdir build
cd build
cmake ..
make check -j 4
But I am getting this error when I call to "cmake ..":
CMake Error at CMakeLists.txt:5 (pybind11_add_module):
Unknown CMake command "pybind11_add_module".
I have Visual Studio 19 installed on my Windows 10 machine.
cmake version 3.24.1
python version 3.10.6
and I installed pybind11 from command line like this: "pip install pybind11"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys,
I would like to get started with pybind11.
I had downloaded cmake_example-master.zip and I am trying to built example following the instructions for Windows:
mkdir build
cd build
cmake ..
make check -j 4
But I am getting this error when I call to "cmake ..":
CMake Error at CMakeLists.txt:5 (pybind11_add_module):
Unknown CMake command "pybind11_add_module".
I have Visual Studio 19 installed on my Windows 10 machine.
cmake version 3.24.1
python version 3.10.6
and I installed pybind11 from command line like this: "pip install pybind11"
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions