src/Base/swigpyrun.inl:75:31: error: invalid use of incomplete type ‘PyInterpreterState’ {aka ‘struct _is’}
75 | PyObject *modules = interp->modules;
| ^~
In file included from /usr/include/python3.8/genobject.h:11,
from /usr/include/python3.8/Python.h:121,
from /home/yassine/Code/Source/FreeCAD-0.18.4/src/Base/PyExport.h:42,
from /home/yassine/Code/Source/FreeCAD-0.18.4/src/Base/swigpyrun.cpp:25:
/usr/include/python3.8/pystate.h:20:8: note: forward declaration of ‘PyInterpreterState’ {aka ‘struct _is’}
20 | struct _is;
| ^~~
src/Base/swigpyrun.inl:75:31: error: invalid use of incomplete type ‘PyInterpreterState’ {aka ‘struct _is’}
75 | PyObject *modules = interp->modules;
| ^~
In file included from /usr/include/python3.8/genobject.h:11,
from /usr/include/python3.8/Python.h:121,
from /home/yassine/Code/Source/FreeCAD-0.18.4/src/Base/PyExport.h:42,
from /home/yassine/Code/Source/FreeCAD-0.18.4/src/Base/swigpyrun.cpp:25:
/usr/include/python3.8/pystate.h:20:8: note: forward declaration of ‘PyInterpreterState’ {aka ‘struct _is’}
20 | struct _is;
| ^~~
Please please please get in the habit of posting more info about your system
Tooniis wrote: ↑Tue Mar 24, 2020 6:04 pm
I'm sorry, but what kind of system information would help here?
Here's some information:
Arch Linux
Python 3.8.2
CMake 3.17.0
This helps, Thanks.
FreeCAD 0.18.4 was not ported to 3.8.2 and probably other newer libs (OCCT for example), because you are on ARCH you have the bleeding edge libs.
I suggest you try with the master branch.
We are in a feature freeze and hopefully will be releasing 0.19 next month. I also don't think I've seen CMake 3.17 yet.
sgrogan wrote: ↑Tue Mar 24, 2020 10:20 pm
This helps, Thanks.
FreeCAD 0.18.4 was not ported to 3.8.2 and probably other newer libs (OCCT for example), because you are on ARCH you have the bleeding edge libs.
I suggest you try with the master branch.
We are in a feature freeze and hopefully will be releasing 0.19 next month. I also don't think I've seen CMake 3.17 yet.