lang:c:pybind11
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
lang:c:pybind11 [2025/09/06 12:35] – [complile] editor | lang:c:pybind11 [2025/09/06 12:45] (現在) – [Windows の場合] editor | ||
---|---|---|---|
行 70: | 行 70: | ||
c++ exPybind11.cpp -o examplePybind11`python-config --extension-suffix` \ | c++ exPybind11.cpp -o examplePybind11`python-config --extension-suffix` \ | ||
-std=c++11 -shared -fPIC \ | -std=c++11 -shared -fPIC \ | ||
- | -I"pybindIncludeDir" \ | + | -I"pybind11IncludeDir" \ |
`python-config --cflags --ldflags` | `python-config --cflags --ldflags` | ||
- | | + | |
- | + | 上記の -I" | |
+ | ---- | ||
===== python での使用方法 ===== | ===== python での使用方法 ===== | ||
<file python example.py> | <file python example.py> |
lang/c/pybind11.1757162141.txt.gz · 最終更新: by editor