Build for Windows
Install Visual Studio and use Native Tools Command Prompt.
mkdir build-x64
cd build-x64
cmake .. -G "Visual Studio 17 2022" -A x64
cmake --build . --config Release
Now *.dll file is generated in the build-x64\Release directory.
Build for Linux
We assume you are using Ubuntu.
apt-get install g++ make cmake
mkdir build-x64
cd build-x64
cmake ..
cmake --build . --config Release
Now *.so file is generated in the build-x64 directory.