# C++ VS Code set-up on Mac

**URL:** <https://qa.fmod.com/t/c-vs-code-set-up-on-mac/17456>\
**Category:** FMOD Studio\
**Tags:** mac, ue4, cpp\
**Created:** [July 17, 2021, 11:40pm UTC](https://qa.fmod.com/t/c-vs-code-set-up-on-mac/17456 "2021-07-17T23:40:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncarcagno](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@ncarcagno](https://qa.fmod.com/u/ncarcagno)\
**Post date:** [July 17, 2021, 11:40pm UTC](https://qa.fmod.com/t/c-vs-code-set-up-on-mac/17456/1 "2021-07-17T23:40:09Z")

</div>

Hi, im having lot of problems setting my Vs Code project to work with FMOD plugin.  
I have followed every step on the guide ([https://www.fmod.com/resources/documentation-ue4?version=2.00&page=user-guide.html](https://www.fmod.com/resources/documentation-ue4?version=2.00&page=user-guide.html)), but can’t get to `#include "FMODEvent.h"` . No matter the include paths i set i always get the error squiggle  
`cannot open source file "FMODEvent.h"C/C++(1696)`

Will appreciate any help and i think that maybe doing a step by step guide for Mac users and Vs Code would be awesome.

I’m using UE v4.26.2 with 2.01.09 plugin for 4.26 Mac version, installed on game plugins folder.  
Thanks in advance

---

<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 20, 2021, 7:14am UTC](https://qa.fmod.com/t/c-vs-code-set-up-on-mac/17456/2 "2021-07-20T07:14:14Z")

</div>

With this error, it is likely that you haven’t added “FMODStudio” to PrivateDependencyModuleNames inside Source/\<project\_name\>/\<project\_name\>.Build.cs file. As per the [user guide](https://fmod.com/resources/documentation-ue4?version=2.02&page=user-guide.html#programming-with-the-fmod-ue4-integration), please ensure you have the following line in your .Build.cs file:

```auto
PrivateDependencyModuleNames.AddRange(new string[] { "FMODStudio" });

```

and then recompile. You will likely need to refresh your project and reopen to resume normal use inside VS Code. Thanks for the User Guide feedback, we are currently updating a lot of the UE docs so I’ll see if we can integrate your suggestion.  
Let me know if you are still getting any errors and I’ll investigate further.

---

<div class="post-metadata">

**Author:** ![ncarcagno](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@ncarcagno](https://qa.fmod.com/u/ncarcagno)\
**Post date:** [July 20, 2021, 11:10pm UTC](https://qa.fmod.com/t/c-vs-code-set-up-on-mac/17456/4 "2021-07-20T23:10:18Z")

</div>

Thanks ! That solves my issue, i couldnt get to find where to put that line. Thanks !
