Hi,
I need to compile UE4 with Datasmith STEP support.
With the source cloned from repo STEP is not included as supported as seen here:
It seems that those file formats are included with a preprocessor CAD_LIBRARY.
I tried to define manually in Build.h but I got errors like
…/UnrealEngine/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithCoreTechParametricSurfaceData/Private/CoreTechParametricSurfaceExtension.cpp(11): fatal error C1083: Cannot open include file: ‘CADOptions.h’: No such file or directory
…/UnrealEngine/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithCADTranslator/Private/DatasmithCADTranslator.cpp(115): error C2065: ‘FDatasmithSceneGraphBuilder’: undeclared identifier
…/UnrealEngine/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithCADTranslator/Private/DatasmithCADTranslator.cpp(115): error C2146: syntax error: missing ‘;’ before identifier ‘SceneGraphBuilder’
…/UnrealEngine/Engine/Plugins/Enterprise/DatasmithCADImporter/Source/DatasmithCADTranslator/Private/DatasmithCADTranslator.cpp(115): error C3861: ‘SceneGraphBuilder’: identifier not found
and others.
What should I do to compile it correctly?
Thanks in advance.