Installing pybind11
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following commands to decompress the pybind11 installation package:
cd /path/to/PYBIND11 tar -xvf pybind11-2.6.2.tar.gz
- Run the following command to go to the directory generated after decompression:
cd pybind11-2.6.2
- Run the following commands to perform the compilation:
mkdir /path/to/PYBIND11/build cmake -H. -B/path/to/PYBIND11/build -DCMAKE_INSTALL_PREFIX=/path/to/PYBIND11/install
- Run the following commands to perform the installation:
cd /path/to/PYBIND11/build make -j make install
Parent topic: Configuring the Compilation Environment