Answer the question
In order to leave comments, you need to log in
How to statically link a Python interpreter?
I have a task: there is some python script, it must be used in a DLL, while minimizing the number of output files as much as possible (preferably to one dll).
So, the python script itself is loaded into the project resources and executed using the Python / C API. The next step, I would like to integrate the python interpreter into my dll.
For this:
Ошибка 3 error LNK2019: ссылка на неразрешенный внешний символ __imp__Py_Initialize в функции _main E:\7zip\myprogramm\myprogramm\main.obj
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question