# Projucer creates duplicate C|Include entries for module headers

**URL:** <https://forum.juce.com/t/projucer-creates-duplicate-c-include-entries-for-module-headers/30213>\
**Category:** The Projucer\
**Created:** [November 7, 2018, 7:16am UTC](https://forum.juce.com/t/projucer-creates-duplicate-c-include-entries-for-module-headers/30213 "2018-11-07T07:16:28Z")\
**Posts on this page:** 3\
**Page:** 2

<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:** [November 8, 2018, 2:04pm UTC](https://forum.juce.com/t/projucer-creates-duplicate-c-include-entries-for-module-headers/30213/21 "2018-11-08T14:04:33Z")

</div>

Ah yes that was a typo sorry, I’ve edited my post above. This won’t break exporting projects - the `getAllPossibleModulePathsFromExporters()` method is used to populate the list of available modules on the machine so should only be dealing with exporters for the platform the Projucer is running on at the time.

---

<div class="post-metadata">

**Author:** ![pflugshaupt](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pflugshaupt/32/13206_2.png) [@pflugshaupt](https://forum.juce.com/u/pflugshaupt)\
**Post date:** [November 8, 2018, 8:35pm UTC](https://forum.juce.com/t/projucer-creates-duplicate-c-include-entries-for-module-headers/30213/22 "2018-11-08T20:35:26Z")

</div>

If that’s the case then why does Projucer even bother creating those IDE projects and folders for other platforms? I always imagined someone would maybe use this to create everything at once on a remote build machine. If you at ROLI do the “resave all projects”, don’t you do this on one platform for all platforms?

But if potentially broken projects are created (due to incorrect parsing of absolute paths for other platforms), why create them at all?

---

<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:** [November 9, 2018, 11:27am UTC](https://forum.juce.com/t/projucer-creates-duplicate-c-include-entries-for-module-headers/30213/23 "2018-11-09T11:27:19Z")

</div>

Yep, there shouldn’t be other platform paths in the generated projects - as I mentioned above this was a bit of an odd edge case as `C:\JUCE\modules` was being seen as equivalent to `/JUCE/modules` and was being added to the paths incorrectly. I’ve pushed the fix above and it should be on develop shortly, it’ll make it’s way on to master when we do a point-release some time next week.

Thanks for your help with this.

[Previous page](https://forum.juce.com/t/projucer-creates-duplicate-c-include-entries-for-module-headers/30213.md?page=1)
