Comments (5)
OK, it sounds like this is the problem - your CMake version is too old, you should update to a newer version.
This is on the pybind11 side - nothing we can change in our CMakeLists.txt
. You can try to ask the pybind11 community if you must get it working for an older CMake version
from cmake_cpp_pybind11_tutorial.
I checked it is working for me.
- Can you post how you ran
cmake
? - The
build
folder for this step should be in the root of the project (not in the projectspython
folder). I couldn't tell from your paths if that's where it is
from cmake_cpp_pybind11_tutorial.
ok, thanks! I'll try that way and get back here.
from cmake_cpp_pybind11_tutorial.
I was getting the prior error when I put the build folder in the python folder. Now, I put it the root of the project after I cloned the code from your repo. Now, I am getting the error below
from cmake_cpp_pybind11_tutorial.
Thanks for the help @smrfeld. After upgrading my CMake version from 3.10.2 to 3.20.2, this problem is solved.
from cmake_cpp_pybind11_tutorial.
Related Issues (3)
- suggestion HOT 1
- Building with make HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmake_cpp_pybind11_tutorial.