# Datasmith ifc importer not working (build from source)

**URL:** <https://forums.unrealengine.com/t/datasmith-ifc-importer-not-working-build-from-source/141146>\
**Category:** Pipeline & Plugins\
**Tags:** Datasmith, unreal-engine\
**Created:** [April 8, 2020, 12:38pm UTC](https://forums.unrealengine.com/t/datasmith-ifc-importer-not-working-build-from-source/141146 "2020-04-08T12:38:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![crush4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@crush4](https://forums.unrealengine.com/u/crush4)\
**Post date:** [April 8, 2020, 12:38pm UTC](https://forums.unrealengine.com/t/datasmith-ifc-importer-not-working-build-from-source/141146/1 "2020-04-08T12:38:06Z")

</div>

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:

```auto

#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?

---

<div class="post-metadata">

**Author:** ![Anti-Wisdom](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/anti-wisdom/32/575220_2.png) [@Anti-Wisdom](https://forums.unrealengine.com/u/Anti-Wisdom)\
**Post date:** [June 28, 2023, 10:09am UTC](https://forums.unrealengine.com/t/datasmith-ifc-importer-not-working-build-from-source/141146/2 "2023-06-28T10:09:46Z")

</div>

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.
