# Compile/Linker issue in UE5

**URL:** <https://qa.fmod.com/t/compile-linker-issue-in-ue5/19028>\
**Category:** Unreal Engine\
**Created:** [July 19, 2022, 7:44pm UTC](https://qa.fmod.com/t/compile-linker-issue-in-ue5/19028 "2022-07-19T19:44:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smg-stang](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@smg-stang](https://qa.fmod.com/u/smg-stang)\
**Post date:** [July 19, 2022, 7:44pm UTC](https://qa.fmod.com/t/compile-linker-issue-in-ue5/19028/1 "2022-07-19T19:44:52Z")

</div>

Hello,

I’m trying to compile a project with Unreal Engine 5 on MacOS 12.4 and getting a linker error:

```auto
[12/17] Link UnrealEditor-FMODStudio.dylib
Undefined symbols for architecture x86_64:
  "UProjectPackagingSettings::GetPrivateStaticClass()", referenced from:
      UFMODSettings::Check() const in FMODSettings.cpp.o
ld: symbol(s) not found for architecture x86_64

```

In order to make it link, I had to modify `FMODStudio.Build.cs:54` from:

```auto
PublicDependencyModuleNames.Add("DeveloperToolSettings");

```

to

```auto
PrivateDependencyModuleNames.Add("DeveloperToolSettings");

```

Just wanted to post here in case what I’m doing is incorrect, or if correct, to inform you of the possible error in `FMODStudio.Build.cs`

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [July 22, 2022, 6:43am UTC](https://qa.fmod.com/t/compile-linker-issue-in-ue5/19028/2 "2022-07-22T06:43:03Z")

</div>

I have not been able to reproduce any issues here. Can you please tell me what version of FMOD and what minor version of UE5 you are using?

---

<div class="post-metadata">

**Author:** ![rdjemili](https://avatars.discourse-cdn.com/v4/letter/r/ee59a6/32.png) [@rdjemili](https://qa.fmod.com/u/rdjemili)\
**Post date:** [August 1, 2022, 5:22pm UTC](https://qa.fmod.com/t/compile-linker-issue-in-ue5/19028/3 "2022-08-01T17:22:55Z")

</div>

Hi - I just had the same issue, win64, UE5.0.3, FMOD 2.02.07

The same change fixed the issue

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [August 8, 2022, 1:57am UTC](https://qa.fmod.com/t/compile-linker-issue-in-ue5/19028/4 "2022-08-08T01:57:32Z")

</div>

Thanks for letting us know- I still haven’t been able to repro this though. It does make sense though as it looks like the DeveloperToolSettings module is only being used in our Private code.  
Would it be possible for you to upload a basic reproduction to your [FMOD Profile](https://fmod.com/profile#uploads) so I can take a closer look?
