+ 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
Hot today
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes