Comments (2)
- Ok, sorry, the first differences were my fault, I took the wrong pythonocc release, now with 0.16.2 the
ChFiKPart.i
is the same.
ButChFiKPart_headers.i
is still produced with a different order of the includes and compiling leads to the same error quoted above ([...] error: ‘TopOpeBRepDS_DataStructure’ was not declared in this scope [...]
). Here a detaiil from thegit diff
:
diff --git a/src/SWIG_files/wrapper/ChFiKPart_headers.i b/src/SWIG_files/wrapper/ChFiKPart_headers.i
index fc987fa..0026a71 100644
--- a/src/SWIG_files/wrapper/ChFiKPart_headers.i
+++ b/src/SWIG_files/wrapper/ChFiKPart_headers.i
@@ -18,1404 +18,1404 @@ along with pythonOCC. If not, see <http://www.gnu.org/licenses/>.
*/
%{
-#include<ChFiKPart_ComputeData.hxx>
-#include<ChFiKPart_ComputeData_CS.hxx>
-#include<ChFiKPart_ComputeData_Fcts.hxx>
-#include<ChFiKPart_ComputeData_FilPlnCon.hxx>
-#include<ChFiKPart_ComputeData_FilPlnCyl.hxx>
-#include<ChFiKPart_ComputeData_FilPlnPln.hxx>
#include<ChFiKPart_ComputeData_Rotule.hxx>
+#include<ChFiKPart_ComputeData_FilPlnCyl.hxx>
#include<ChFiKPart_DataMapIteratorOfRstMap.hxx>
#include<ChFiKPart_DataMapNodeOfRstMap.hxx>
+#include<ChFiKPart_ComputeData_FilPlnCon.hxx>
#include<ChFiKPart_RstMap.hxx>
+#include<ChFiKPart_ComputeData.hxx>
+#include<ChFiKPart_ComputeData_CS.hxx>
+#include<ChFiKPart_ComputeData_Fcts.hxx>
+#include<ChFiKPart_ComputeData_FilPlnPln.hxx>
#include<TopOpeBRepDS.hxx>
-#include<TopOpeBRepDS_Array1OfDataMapOfIntegerListOfInterference.hxx>
-#include<TopOpeBRepDS_Association.hxx>
-#include<TopOpeBRepDS_BuildTool.hxx>
-#include<TopOpeBRepDS_Check.hxx>
-#include<TopOpeBRepDS_CheckStatus.hxx>
-#include<TopOpeBRepDS_Config.hxx>
-#include<TopOpeBRepDS_connex.hxx>
-#include<TopOpeBRepDS_Curve.hxx>
-#include<TopOpeBRepDS_CurveData.hxx>
-#include<TopOpeBRepDS_CurveExplorer.hxx>
-#include<TopOpeBRepDS_CurveIterator.hxx>
-#include<TopOpeBRepDS_CurvePointInterference.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfCheckStatus.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfIntegerListOfInterference.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfInterferenceListOfInterference.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfInterferenceShape.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfShapeListOfShapeOn1State.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfShapeState.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfMapOfCurve.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfMapOfIntegerShapeData.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfMapOfPoint.hxx>
-#include<TopOpeBRepDS_DataMapIteratorOfMapOfSurface.hxx>
#include<TopOpeBRepDS_DataMapIteratorOfShapeSurface.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfDataMapOfCheckStatus.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfDataMapOfIntegerListOfInterference.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfDataMapOfInterferenceListOfInterference.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfDataMapOfInterferenceShape.hxx>
#include<TopOpeBRepDS_DataMapNodeOfDataMapOfShapeListOfShapeOn1State.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfDataMapOfShapeState.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfMapOfCurve.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfMapOfIntegerShapeData.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfMapOfPoint.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfMapOfSurface.hxx>
-#include<TopOpeBRepDS_DataMapNodeOfShapeSurface.hxx>
-#include<TopOpeBRepDS_DataMapOfCheckStatus.hxx>
-#include<TopOpeBRepDS_DataMapOfIntegerListOfInterference.hxx>
-#include<TopOpeBRepDS_DataMapOfInterferenceListOfInterference.hxx>
-#include<TopOpeBRepDS_DataMapOfInterferenceShape.hxx>
-#include<TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State.hxx>
-#include<TopOpeBRepDS_DataMapOfShapeState.hxx>
-#include<TopOpeBRepDS_DataStructure.hxx> <-------
-#include<TopOpeBRepDS_define.hxx>
+#include<TopOpeBRepDS_Transition.hxx>
+#include<TopOpeBRepDS_GapFiller.hxx>
+#include<TopOpeBRepDS_DataMapNodeOfDataMapOfCheckStatus.hxx>
+#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfIntegerListOfInterference.hxx>
+#include<TopOpeBRepDS_InterferenceIterator.hxx>
+#include<TopOpeBRepDS_PDataStructure.hxx>
#include<TopOpeBRepDS_DoubleMapIteratorOfDoubleMapOfIntegerShape.hxx>
-#include<TopOpeBRepDS_DoubleMapNodeOfDoubleMapOfIntegerShape.hxx>
-#include<TopOpeBRepDS_DoubleMapOfIntegerShape.hxx>
-#include<TopOpeBRepDS_DRAW.hxx>
-#include<TopOpeBRepDS_DSS.hxx>
+#include<TopOpeBRepDS_PointExplorer.hxx>
+#include<TopOpeBRepDS_CurveData.hxx>
+#include<TopOpeBRepDS_DataMapOfShapeListOfShapeOn1State.hxx>
+#include<TopOpeBRepDS_DataMapNodeOfDataMapOfIntegerListOfInterference.hxx>
+#include<TopOpeBRepDS_HDataStructure.hxx>
+#include<TopOpeBRepDS_ShapeSurface.hxx>
+#include<TopOpeBRepDS_ShapeWithState.hxx>
+#include<TopOpeBRepDS_DataMapIteratorOfMapOfSurface.hxx>
+#include<TopOpeBRepDS_ShapeData.hxx>
#include<TopOpeBRepDS_DSX.hxx>
-#include<TopOpeBRepDS_Dumper.hxx>
-#include<TopOpeBRepDS_Edge3dInterferenceTool.hxx>
-#include<TopOpeBRepDS_EdgeInterferenceTool.hxx>
+#include<TopOpeBRepDS_DataMapOfIntegerListOfInterference.hxx>
#include<TopOpeBRepDS_EdgeVertexInterference.hxx>
-#include<TopOpeBRepDS_EIR.hxx>
+#include<TopOpeBRepDS_PointData.hxx>
+#include<TopOpeBRepDS_InterferenceTool.hxx>
#include<TopOpeBRepDS_Explorer.hxx>
-#include<TopOpeBRepDS_EXPORT.hxx>
-#include<TopOpeBRepDS_FaceEdgeInterference.hxx>
-#include<TopOpeBRepDS_FaceInterferenceTool.hxx>
-#include<TopOpeBRepDS_Filter.hxx>
-#include<TopOpeBRepDS_FIR.hxx>
-#include<TopOpeBRepDS_FaceInterferenceTool.hxx>
-#include<TopOpeBRepDS_Filter.hxx>
-#include<TopOpeBRepDS_FIR.hxx>
-#include<TopOpeBRepDS_GapFiller.hxx>
-#include<TopOpeBRepDS_GapTool.hxx>
+#include<TopOpeBRepDS_DataMapIteratorOfMapOfIntegerShapeData.hxx>
+#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfCheckStatus.hxx>
+#include<TopOpeBRepDS_define.hxx>
+#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfShapeListOfShapeOn1State.hxx>
+#include<TopOpeBRepDS_TOOL.hxx>
#include<TopOpeBRepDS_GeometryData.hxx>
-#include<TopOpeBRepDS_HArray1OfDataMapOfIntegerListOfInterference.hxx>
-#include<TopOpeBRepDS_HDataStructure.hxx>
-#include<TopOpeBRepDS_IndexedDataMapNodeOfIndexedDataMapOfShapeWithState.hxx>
-#include<TopOpeBRepDS_IndexedDataMapNodeOfIndexedDataMapOfVertexPoint.hxx>
-#include<TopOpeBRepDS_IndexedDataMapNodeOfMapOfShapeData.hxx>
+#include<TopOpeBRepDS_ListOfInterference.hxx>
+#include<TopOpeBRepDS_CheckStatus.hxx>
+#include<TopOpeBRepDS_SurfaceExplorer.hxx>
+#include<TopOpeBRepDS_DataMapOfShapeState.hxx>
+#include<TopOpeBRepDS_Marker.hxx>
+#include<TopOpeBRepDS_PointIterator.hxx>
+#include<TopOpeBRepDS_EIR.hxx>
+#include<TopOpeBRepDS_DataMapNodeOfMapOfCurve.hxx>
+#include<TopOpeBRepDS_SurfaceData.hxx>
+#include<TopOpeBRepDS_Filter.hxx>
+#include<TopOpeBRepDS_FaceEdgeInterference.hxx>
+#include<TopOpeBRepDS_ListNodeOfListOfInterference.hxx>
+#include<TopOpeBRepDS_DataMapOfInterferenceListOfInterference.hxx>
+#include<TopOpeBRepDS_Edge3dInterferenceTool.hxx>
#include<TopOpeBRepDS_IndexedDataMapOfShapeWithState.hxx>
#include<TopOpeBRepDS_IndexedDataMapOfVertexPoint.hxx>
-#include<TopOpeBRepDS_Interference.hxx>
-#include<TopOpeBRepDS_InterferenceIterator.hxx>
-#include<TopOpeBRepDS_InterferenceTool.hxx>
-#include<TopOpeBRepDS_Kind.hxx>
+#include<TopOpeBRepDS_SurfaceCurveInterference.hxx>
+#include<TopOpeBRepDS_DataMapNodeOfMapOfIntegerShapeData.hxx>
+#include<TopOpeBRepDS_CurveIterator.hxx>
+#include<TopOpeBRepDS_BuildTool.hxx>
+#include<TopOpeBRepDS_Curve.hxx>
+#include<TopOpeBRepDS_repvg.hxx>
+#include<TopOpeBRepDS_Config.hxx>
+#include<TopOpeBRepDS_DataMapOfCheckStatus.hxx>
+#include<TopOpeBRepDS_Surface.hxx>
+#include<TopOpeBRepDS_DataMapNodeOfMapOfPoint.hxx>
+#include<TopOpeBRepDS_DoubleMapNodeOfDoubleMapOfIntegerShape.hxx>
#include<TopOpeBRepDS_ListIteratorOfListOfInterference.hxx>
-#include<TopOpeBRepDS_ListNodeOfListOfInterference.hxx>
-#include<TopOpeBRepDS_ListOfInterference.hxx>
+#include<TopOpeBRepDS_DoubleMapOfIntegerShape.hxx>
+#include<TopOpeBRepDS_DataMapIteratorOfDataMapOfInterferenceShape.hxx>
+#include<TopOpeBRepDS_DataMapNodeOfShapeSurface.hxx>
#include<TopOpeBRepDS_ListOfShapeOn1State.hxx>
+#include<TopOpeBRepDS_CurveExplorer.hxx>
+#include<TopOpeBRepDS_EXPORT.hxx>
+#include<TopOpeBRepDS_Interference.hxx>
+#include<TopOpeBRepDS_DataStructure.hxx> <-------
[...]
I ran the generate_wrapper.py
on linux with python 2.7.6.
How can I fix the order of the includes? Thanks!
from pythonocc-generator.
Ok, I could fix the include order using pythons list sort, see here.
But I don't understand why you get "well sorted" *_headers.i
files?
from pythonocc-generator.
Related Issues (20)
- Improvement: Modularize headers into jumbo header files HOT 9
- Improvement: Make runtime issues to compile time errors HOT 1
- OCCT 7.4.0: Missing package XCAFNoteObjects HOT 1
- OCCT 7.4.0: Missing package IGESToBRep
- Bug: Wrong position of %wrap_handle HOT 7
- OCCT 7.4.0: Missing package MoniTool HOT 1
- OCCT 7.4.0: Missing package IMeshTools and IMeshData HOT 1
- OCCT 7.4.0: No handle detected for class BRepMesh_DataStructureOfDelaun HOT 2
- OCCT 7.4.0: No handle detected for class BRepMesh_VertexTool HOT 2
- Update correct module dependecies HOT 11
- Missing TopoDS_Shape constructor HOT 3
- OCCT 7.4.0: BRepMesh_Delaun.hxx must be first BRepMesh header file HOT 9
- OCCT 7.4.0: Fix windows compilation again HOT 1
- OCCT 7.4.0: BRepAlgoAPI must import BRepBuilderAPI HOT 15
- Remove operating system header information in wrapper files HOT 1
- OCCT 7.4.0: Missing function TDF_Labl::FindAttribute
- OCCT 7.4.0: TDF_Tool is empty HOT 1
- Make a clean wrapper for Standard_OStream&
- Reuse potential HOT 1
- Bindings for OCCT 7.6 HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pythonocc-generator.