https://github.com/bernhard-42/ocp-tessellate-native
A native C++ version of ocp-tessellate
https://github.com/bernhard-42/ocp-tessellate-native
Last synced: 6 months ago
JSON representation
A native C++ version of ocp-tessellate
- Host: GitHub
- URL: https://github.com/bernhard-42/ocp-tessellate-native
- Owner: bernhard-42
- Created: 2023-11-18T13:09:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-03T19:49:32.000Z (over 1 year ago)
- Last Synced: 2025-04-07T18:02:28.893Z (6 months ago)
- Language: C++
- Size: 4.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building ocp-addons
## Clone the repository
```bash
git clone https://github.com/bernhard-42/ocp-tessellate-native.git
cd ocp-tessellate-native
```## Create the development environment
### The Python environment
```bash
mamba env create -f env.yml
mamba activate ocp-addons
```### OS specific configurations
- Linux
```bash
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
```bash
python -m build -n
```### Relocate the libraries in the wheel
- Linux
```bash
auditwheel repair --plat manylinux_2_35_x86_64 dist/ocp_tessellate_native-*.whl
```## Test the library
```bash
cd ..
python test.py
```