Im trying to create small webassemby module converting IGES to VRML file.
C++ code compiled to "normal" application work ok. Emscripten compilation runs ok. Then im loading created .js file to my page
Binded (EmBind) functions called from java script runs ok unless such function declares IGESCAFControl_Reader object:
then error occurs in browser console "
Uncaught (in promise) getpwuid: TODO
Further investigations shows that problems is generated by IGESControl_Controller::Init() method in GESCAFControl_Reader constructor which construct IGESControl_Controller:
Handle(IGESControl_Controller) ADIGES = new IGESControl_Controller(Standard_False);
What may be reason for such error, and is there way to correct it?