Skip to content Skip to sidebar Skip to footer
Showing posts with the label Swig

How To Get Python Slicing To Work With My C++ Array Class Using Swig

I have an an array class, Array1D, defined in c++ which essentially wraps the STL vector class. I e… Read more How To Get Python Slicing To Work With My C++ Array Class Using Swig

Extending Swig Builtin Classes

The -builtin option of SWIG has the advantage of being faster, and of being exempt of a bug with mu… Read more Extending Swig Builtin Classes

Running A Swig Bound Python+c Program Gives A Missing Dll Error When Running On Another Computer

So I have compiled a small testing program that uses SWIG as a bridge between python and C. The mai… Read more Running A Swig Bound Python+c Program Gives A Missing Dll Error When Running On Another Computer

A Trivial Python Swig Error Question

I am trying to get Python running with swig to do C/C++. I am running the tutorial here, 'buil… Read more A Trivial Python Swig Error Question

Python Swig : Importerror Wrong Elf Class: Elfclass64

I am trying to interface from python to c++ code via swig. I get the following error , while trying… Read more Python Swig : Importerror Wrong Elf Class: Elfclass64

Swig Cannot Convert Typedef Type Correct

I'm using SWIT to convert a vc project to python. I found when a struct has a member which type… Read more Swig Cannot Convert Typedef Type Correct

Swig Wrapping C++ For Python: Translating A List Of Strings To An Stl Vector Of Stl Strings

I would like to wrap a C++ function with SWIG which accepts a vector of STL strings as an input arg… Read more Swig Wrapping C++ For Python: Translating A List Of Strings To An Stl Vector Of Stl Strings

Use Struct In Swig Argout Typemap

I want to call a C function from Python, which should create and initialize a struct. I want this s… Read more Use Struct In Swig Argout Typemap