PyBind11库配置安装过程记录
PyBind11库配置安装过程记录
官方下载源码

源码链接:https://github.com/pybind/pybind11
下载
wget https://github.com/pybind/pybind11/archive/refs/heads/master.zip
unzip master.zip
编译并安装源码
新建并进入build文件夹,用于构建
cd pybind11-master
mkdir build
cd build

编译源码
cmake ..

sudo make -j8

安装
sudo make install

Talk is cheap. Show me the code

浙公网安备 33010602011771号