/ocp-tessellate-native

A native C++ version of ocp-tessellate

Primary LanguageC++

Building ocp-addons

Clone the repository

git clone https://github.com/bernhard-42/ocp-tessellate-native.git
cd ocp-tessellate-native

Create the development environment

The Python environment

mamba env create -f env.yml
mamba activate ocp-addons

OS specific configurations

  • Linux

    sudo apt-get update
    sudo apt-get install freetype* libfreetype6-dev libgl1-mesa-glx
    mamba install -c conda-forge gxx_linux-64=12*

Build ocp-addons

Build the pybind11 wheel

python -m build -n

Relocate the libraries in the wheel

  • Linux

    auditwheel repair --plat manylinux_2_35_x86_64 dist/ocp_tessellate_native-*.whl

Test the library

cd ..
python test.py