Hi I usually programme in Python. In the help files, theres an example on how to embed Python into a C command-line app.
How ever when I try it I get many errors.
main(int argc, char *argv)
PyRun_SimpleString("from time import time,ctime\n"
"print 'Today is',ctime(time())\n");
So I searched a lot. I finnaly found the answer. It said that the linker cant find the PythonQuote:
I get the error "undefined referrence to imp_py_finalize"
library file. So I copied that file to my Lib folder. Now I get this error
I'm using Dev-Cpp as my IDE and the GCC version that comes with Dev-Cpp.Quote:
"gcc: -lobjc: linker input file unused since linking not done"