# Stuggling to compile UE4 with fmod

**URL:** <https://qa.fmod.com/t/stuggling-to-compile-ue4-with-fmod/13186>\
**Category:** Unreal Engine\
**Created:** [May 17, 2017, 3:34pm UTC](https://qa.fmod.com/t/stuggling-to-compile-ue4-with-fmod/13186 "2017-05-17T15:34:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HarryHighDef](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/harryhighdef/32/666_2.png) [@HarryHighDef](https://qa.fmod.com/u/HarryHighDef)\
**Post date:** [May 17, 2017, 3:34pm UTC](https://qa.fmod.com/t/stuggling-to-compile-ue4-with-fmod/13186/1 "2017-05-17T15:34:50Z")

</div>

I have the fmod plugin in as code, and it is giving me so many errors. The main one is about the .h files not being the first include. I also get errors about types being unable to convert to int, even though they are the same type.

Trying again right now

Compiling from ue4 source

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 17, 2017, 10:42pm UTC](https://qa.fmod.com/t/stuggling-to-compile-ue4-with-fmod/13186/2 "2017-05-17T22:42:51Z")

</div>

Make sure that the plugin has been compiled for the engine version you are using, it will say in the download name “fmodstudioXXXXXue4.XX…”. If the engine version listed is different to yours then we cannot guarantee it will work, as Epic are constantly making changes to their engine.

If you are using UE4.15 or above, at the moment, the plugin cannot be used in the Engine directory. It needs to be in the project directory due to changes made to the UE4 include system.

---

<div class="post-metadata">

**Author:** ![HarryHighDef](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/harryhighdef/32/666_2.png) [@HarryHighDef](https://qa.fmod.com/u/HarryHighDef)\
**Post date:** [May 17, 2017, 10:46pm UTC](https://qa.fmod.com/t/stuggling-to-compile-ue4-with-fmod/13186/3 "2017-05-17T22:46:25Z")

</div>

> [@](#):
>
> Make sure that the plugin has been compiled for the engine version you are using, it will say in the download name “fmodstudioXXXXXue4.XX…”. If the engine version listed is different to yours then we cannot guarantee it will work, as Epic are constantly making changes to their engine.
> 
> If you are using UE4.15 or above, at the moment, the plugin cannot be used in the Engine directory. It needs to be in the project directory due to changes made to the UE4 include system.

I have the correct version I was about to try the project directory and was unaware of the engine side being an issue, Thanks for the quick reply.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [May 17, 2017, 10:48pm UTC](https://qa.fmod.com/t/stuggling-to-compile-ue4-with-fmod/13186/4 "2017-05-17T22:48:24Z")

</div>

It is only an issue for the moment and will be fixed in the next release.
