In my attempts to expand my little programming knowledge, I thought about converting python to c++ because the bot I have have needs multi-threading capiblities to reach its full potential...
Anyways, I found PY2CMOD
and successfully converted a SAMPLE PROGRAM
with no problems.
Now when I try to compile the test.c file with Borland 5.01 I end up getting the following errors:
Info :Compiling D:\TEST\test.c
Error: unicodeobject.h(118,23):Unable to open include file 'wchar.h'
Error: longobject.h(48,61): Declaration was expected
Error: longobject.h(49,29):Storage class 'extern' is not allowed here
Error: longobject.h(49,78):'PyLong_FromUnsignedLongLong' is not a parameter
Error: longobject.h(50,28):Storage class 'extern' is not allowed here
Error: longobject.h(50,46):, expected
Error: longobject.h(51,63): Declaration syntax error
The main thing that is stumping me is the 'wchar.h' because the unicodeobject.h (from the python files) wants to import it and it doesn't exist.
Can someone shed some light on this for me?