+ 2

CPython: how to link an external library (C or C++) to an extension ?

I'm trying to implement an extension that requires use of external libraries. How can I configure include files, libraries and the path where dynamic libraries should be found? I've tried not adding these parameters and it seems compiling without any error but then, if I try to import the module, I obtain a segmentation fault error probably due to something lacking in configuration settings or setup.py.

12th Dec 2017, 9:44 AM
Amal John
Amal John - avatar
1 Answer