I extended c++ with python but the exectuable won't run on systems that do not have python installed.
#include "C:\.....python.h"
int main()
{
Py_Initialize();
PyRun_SimpleString("print("hello world")\n")
Py_Finalize();
return 0;
}
When I run on a windows system without python installed I receive the following error:
The code execution cannot proceed because python37.dll was not found. Reinstalling the program may fix the problem.
How do I link python37.dll to the executable.