diff --git a/src/Mod/Part/App/ImportStep.cpp b/src/Mod/Part/App/ImportStep.cpp index 0f9be37eda..c8a7fb5f12 100644 --- a/src/Mod/Part/App/ImportStep.cpp +++ b/src/Mod/Part/App/ImportStep.cpp @@ -67,6 +67,9 @@ # include #endif +# include +# include + #include #include #include @@ -86,6 +89,11 @@ bool ReadNames (const Handle(XSControl_WorkSession) &WS); int Part::ImportStepParts(App::Document *pcDoc, const char* Name) { + // Use this to force to link against TKSTEPBase, TKSTEPAttr and TKStep209 + // in order to make RUNPATH working on Linux + StepElement_AnalysisItemWithinRepresentation stepElement; + StepVisual_AnnotationCurveOccurrence stepVis; + STEPControl_Reader aReader; TopoDS_Shape aShape; Base::FileInfo fi(Name);