Exporting from STEP to glb error

tawfik's picture

Hi , so i'm trying to export from step to glb .

when trying to debug , if i remove the last line in the code it compiles fine .
Now i get this error :

/usr/local/include/opencascade/Standard_Handle.hxx: In instantiation of ‘opencascade::handle::handle(const T*) [with T = Message_ProgressIndicator]’:
/home/tawfik/Desktop/projects/opencascade-step-to-gltf-converter/debug.cpp:74:54: required from here
/usr/local/include/opencascade/Standard_Handle.hxx:62:54: error: cannot convert ‘Message_ProgressIndicator*’ to ‘Standard_Transient*’ in initialization
62 | handle (const T *thePtr) : entity(const_cast(thePtr))
| ^~~~~~
| |
| Message_ProgressIndicator*

I'm i doing things wrong ? help would be really appreciated .

msv's picture

Include

Include Message_ProgressIndicator.hxx

www.opencascade.com

Copyright 2011-2019
OPEN CASCADE SAS
Contact us