Hrothgor
New Member
I am doing my own plugin for obs in c++. At the moment my plugin work and do some stuff, I am still learning the API.
I wanted to use Python.h to call some python function. When I use Python.h outside my plugin for some test it work perfectly. Like just
PyRun_SimpleString("print('HelloWorld!')");
But when I do this inside my plugin it always core dump.
Anyone already used Python.h in cpp obs plugin ?
I wanted to use Python.h to call some python function. When I use Python.h outside my plugin for some test it work perfectly. Like just
PyRun_SimpleString("print('HelloWorld!')");
But when I do this inside my plugin it always core dump.
Anyone already used Python.h in cpp obs plugin ?