# \#include \*/\*.mm file not found after upgrade to Mac Mojave

**URL:** <https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069>\
**Category:** General JUCE discussion\
**Created:** [October 28, 2018, 8:05pm UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069 "2018-10-28T20:05:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ewhipp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ewhipp/32/2362_2.png) [@ewhipp](https://forum.juce.com/u/ewhipp)\
**Post date:** [October 28, 2018, 8:05pm UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/1 "2018-10-28T20:05:21Z")

</div>

Hi all,

I’m getting a compilation error for the majority of the .mm files in my JUCE projects. I’m currently working on two and they both fail to build because of this error.

Could anyone provide any guidance?

```
JuceLibraryCode/include_juce_video.mm:9:10: 'juce_video/juce_video.mm' file not found
JuceLibraryCode/include_juce_opengl.mm:9:10: 'juce_opengl/juce_opengl.mm' file not found
JuceLibraryCode/include_juce_gui_extra.mm:9:10: 'juce_gui_extra/juce_gui_extra.mm' file not found

```

Thanks,  
Erik

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [October 29, 2018, 9:08am UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/2 "2018-10-29T09:08:53Z")

</div>

Have you upgraded to Xcode 10? There is an issue where it can’t deal with paths containing the `~` character which could be what you’re seeing. There’s a fix on the `develop` branch, so you’ll need to recompile the Projucer with it and re-save the project.

---

<div class="post-metadata">

**Author:** ![ewhipp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ewhipp/32/2362_2.png) [@ewhipp](https://forum.juce.com/u/ewhipp)\
**Post date:** [October 30, 2018, 2:09am UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/3 "2018-10-30T02:09:53Z")

</div>

Yes. I’m on Xcode 10 and I just recompiled the `develop` Projucer build and I’m still experiencing the same problems.

---

<div class="post-metadata">

**Author:** ![ewhipp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ewhipp/32/2362_2.png) [@ewhipp](https://forum.juce.com/u/ewhipp)\
**Post date:** [October 30, 2018, 2:11am UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/4 "2018-10-30T02:11:18Z")

</div>

Please let me know if I can supply anything that would make this easier from your perspective… I am simply getting errors like the above for various modules that are a part of JUCE.

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [October 30, 2018, 8:37am UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/5 "2018-10-30T08:37:36Z")

</div>

Are you getting those errors for all projects? If you just create a new blank template from the Projucer does it still have the errors?

---

<div class="post-metadata">

**Author:** ![ewhipp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ewhipp/32/2362_2.png) [@ewhipp](https://forum.juce.com/u/ewhipp)\
**Post date:** [October 30, 2018, 11:57pm UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/6 "2018-10-30T23:57:55Z")

</div>

Yes I am getting this for all my projects. However, when I create new projects everything works as it should.

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [October 31, 2018, 10:11am UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/7 "2018-10-31T10:11:07Z")

</div>

If new projects are working correctly then the issue must be with the search paths for the modules being different - compare the two project files and see how the modules are added and the search paths that are being used.

---

<div class="post-metadata">

**Author:** ![ewhipp](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ewhipp/32/2362_2.png) [@ewhipp](https://forum.juce.com/u/ewhipp)\
**Post date:** [November 2, 2018, 3:33am UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/8 "2018-11-02T03:33:57Z")

</div>

Stupid mistake on my part. Thanks for your time… really appreciated and sorry to have wasted… all working now.

---

<div class="post-metadata">

**Author:** ![vortexrec](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@vortexrec](https://forum.juce.com/u/vortexrec)\
**Post date:** [July 25, 2019, 9:42pm UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/9 "2019-07-25T21:42:41Z")

</div>

I’m having the same problem, would you tell us what you did? Thanks

---

<div class="post-metadata">

**Author:** ![toaniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/toaniel/32/8216_2.png) [@toaniel](https://forum.juce.com/u/toaniel)\
**Post date:** [May 31, 2022, 9:33am UTC](https://forum.juce.com/t/include-mm-file-not-found-after-upgrade-to-mac-mojave/30069/10 "2022-05-31T09:33:18Z")

</div>

Hi!

Go to Modules. Pick a module. Select the correct path to JUCE/modules.  
Then, click on the configuration gear. Select the module with the correct path. Use Set paths for all modules…

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/8/82e506896a004572bd43c7781e41ba46e49857b9.png)
