For the complete documentation index, see llms.txt. This page is also available as Markdown.

Building Python Wrapper

How to build a Python wrapper for the squirrel library

Prerequisites

On RHEL8 Linux

sudo yum install swig python3-devel

Create the wrapper

swig -python gfg.i
gcc -c -fpic squirrel_wrap.c squirrel.cpp -I/usr/include/python3.6m

Last updated

Was this helpful?