I am trying to embed python 3.7.0 in a C++ application and use MinGW to compile.
#include "Dependencies/include/Python.h"
int main()
{
PyObject* myPointer;
Py_Initialize();
return 0;
}
I compile with this:
g++ ./TestEmbedding.cpp
I get this error:
undefined reference to `_imp__Py_Initialize'