Datasmith ifc importer not working (build from source)

Hello,

when building from source, the datasmith ifc importer isn’t working.
It throws the error: “Can’t read IFC file: E:/xxx/xxx.ifc” and “Check plugin configuration!” but with no further information why it can’t be read. I tested it with the acutal realease (4.24.3) and 4.25 with no success. From epic games launcher (4.24.3) it works well.

Edit: I noticed that the ifcEngine library isn’t loaded:


#ifdef WITH_IFC_ENGINE_LIB
#if PLATFORM_64BITS
#define WIN64
#endif
#include "ifc/ifcengine.h"
#include "ifc/engine.h"
#endif

How can I include the library?

I have the exact same issue. I’ve tried looking at all dependencies and even tried finding out where else in plugin source code it enables the WITH_IFC_ENGINE_LIB condition. I cannot find where this happens. The only references to this symbol in the entire engine seems to be using #ifdef, it does not seem to get defined anywhere.