jpelizza <joaogpeli...@gmail.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40642> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com