Using C++ in python with pybind11 and cmake

preview_player
Показать описание
Walk through how to use and modify the cmake template provided by the pybind11 authors.

Рекомендации по теме
Комментарии
Автор

I want to say thank you very much, very clear explanation, right to the point and the most important, most people who watches this video will get the content.

MyProceduralMap
Автор

Not a bad tutorial but what is up with all the background noise.

MccZerk
Автор

thanks, youve helped me out with my issue

thHeaven
Автор

Very clear explanation! Thanks for uploading this tutorial :)
I have a question: I'm importing the .so file as a module into another python script, but intelli-sense doesn't seem to be working for this module created by pybind, any suggestions on how to get intelli-sense/type hinting working in PyCharm/CLion?

kumarrameshchakravarthy
Автор

Thanks for the video!!
I'm stuck at @13.17, because when I write "make mymath" the following error comes out "make: *** No rule to make target 'mymath'. Stop.". I'm programming on Visual Studio Code in Windows. Do you have any suggestions? :)

enricocecchini
Автор

Thanks for the Video.

So I think I understood that there are some difficulties when binding to shared Objekts. Do you know if there is a proer way of doing that. I would like to call Python Functions from a shared (cpp) Object that will be linked into another Application.

alimaster
Автор

Brilliant explanation! thank you.
One question though, You did not add subtract function in mymath.cpp but still we are getting the subtract method in Python, I assume its coming from binder.cpp. If so, then what was the use of adding mymath.cpp & mymath.hpp please?

nckiran
Автор

So can you run python libraries/modules with c++?

Key_Capz_