Message369427
In hindsight I provided absolutely nothing, new to this, bound to make dumb mistakes.
Compiler error:
In file included from /usr/include/python3.8/pystate.h:129,
from /usr/include/python3.8/genobject.h:11,
from /usr/include/python3.8/Python.h:121,
from cpppython.cpp:2:
/usr/include/python3.8/cpython/pystate.h:9:10: fatal error: cpython/initconfig.h: No such file or directory
9 | #include "cpython/initconfig.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Compiler version:
gcc version 9.3.0 (Arch Linux 9.3.0-1)
About the change, yeah "initconfig.h" and the other one are the same, if it is a real problem then there is no need for "./"
After changing it to just "initconfig.h" the code compiled normally. From my understanding since initconfig.h is already inside the folder cpython using "cpython/initconfig.h" will try to look for another cpython folder inside the cpython folder and then look for initconfig thus the error. |
|
Date |
User |
Action |
Args |
2020-05-20 07:46:23 | jpelizza | set | recipients:
+ jpelizza, eric.smith |
2020-05-20 07:46:23 | jpelizza | set | messageid: <1589960783.21.0.570172074014.issue40642@roundup.psfhosted.org> |
2020-05-20 07:46:23 | jpelizza | link | issue40642 messages |
2020-05-20 07:46:22 | jpelizza | create | |
|