View Issue Details

IDProjectCategoryView StatusLast Update
0002780FreeCADBugpublic2016-11-19 14:56
Reporteralllexandrrr Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformi686 32 bitOSROSA LINUXOS Version3.10.51
Product Version0.17 
Summary0002780: Project build error.
DescriptionWhen I do a project build error message is displayed:
[ 27%] Built target SMESH
In file included from /src/FreeCAD/src/App/FeaturePythonPyImp.h:62:0,
                 from /src/FreeCAD/src/Mod/Mesh/App/MeshFeature.cpp:34:
/src/FreeCAD/src/App/FeaturePythonPyImp.inl: In static member function «static int App::FeaturePythonPyT<FeaturePyT>::__setattr(PyObject*, char*, PyObject*)»:
/src/FreeCAD/src/App/FeaturePythonPyImp.inl:99:47: error: invalid use of incomplete type «class Base::PyObjectBase»
In file included from /src/FreeCAD/src/Base/Console.h:32:0,
                 from /src/FreeCAD/src/Mod/Mesh/App/MeshFeature.cpp:30:
/src/FreeCAD/src/Base/PyExport.h:55:7: error: forward declaration of «class Base::PyObjectBase»
In file included from /src/FreeCAD/src/App/FeaturePythonPyImp.h:62:0,
                 from /src/FreeCAD/src/Mod/Mesh/App/MeshFeature.cpp:34:
/src/FreeCAD/src/App/FeaturePythonPyImp.inl:104:52: error: invalid use of incomplete type «class Base::PyObjectBase»
In file included from /src/FreeCAD/src/Base/Console.h:32:0,
                 from /src/FreeCAD/src/Mod/Mesh/App/MeshFeature.cpp:30:
/src/FreeCAD/src/Base/PyExport.h:55:7: error: forward declaration of «class Base::PyObjectBase»
In file included from /src/FreeCAD/src/App/FeaturePythonPyImp.h:62:0,
                 from /src/FreeCAD/src/Mod/Mesh/App/MeshFeature.cpp:34:
/src/FreeCAD/src/App/FeaturePythonPyImp.inl:106:46: error: invalid use of incomplete type «class Base::PyObjectBase»
In file included from /src/FreeCAD/src/Base/Console.h:32:0,
                 from /src/FreeCAD/src/Mod/Mesh/App/MeshFeature.cpp:30:
/src/FreeCAD/src/Base/PyExport.h:55:7: error: forward declaration of «class Base::PyObjectBase»
In file included from /src/FreeCAD/src/App/FeaturePythonPyImp.h:62:0,
                 from /src/FreeCAD/src/Mod/Mesh/App/MeshFeature.cpp:34:
Steps To Reproducemake build
TagsNo tags attached.
FreeCAD Information

Relationships

child of 0002784 closed The patch is to build the current version 

Activities

wmayer

2016-11-19 12:44

administrator   ~0007465

The reported lines of errors do not match current master. Please run git pull and try again.

Btw, the file FeaturePythonPyImp.inl is only included by file FeaturePythonPyImp.h and this includes PropertyContainerPy.h which over several cascades also includes PyObjectBase.h. So, I don't see why FeaturePythonPyImp.inl should include this header again.

alllexandrrr

2016-11-19 14:51

reporter   ~0007468

I ran pull, the error does not appear. Thank you.

Issue History

Date Modified Username Field Change
2016-11-19 07:59 alllexandrrr New Issue
2016-11-19 12:44 wmayer Note Added: 0007465
2016-11-19 12:44 wmayer Status new => feedback
2016-11-19 12:52 wmayer Relationship added child of 0002784
2016-11-19 14:51 alllexandrrr Note Added: 0007468
2016-11-19 14:51 alllexandrrr Status feedback => new
2016-11-19 14:56 wmayer Status new => closed
2016-11-19 14:56 wmayer Resolution open => no change required