Skip to content

veziak/love2d-bezier-pybinding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Export Love2d c++ bezier_curve code to python with pybind11

install pybind11 https://pybind11.readthedocs.io/en/stable/installing.html

pip install pybind

build .so file

cd src
cmake -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3.12 .
make 

it will produce bezier_curve.cpython-312-x86_64-linux-gnu.so (on linux machine)

run python script to test it

python3.12 test.py

to view so file symbols

nm -gD bezier_curve.cpython-312-x86_64-linux-gnu.so

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published