# 'Outdated' error when compiling new projucer!

**URL:** <https://forum.juce.com/t/outdated-error-when-compiling-new-projucer/37496>\
**Category:** The Projucer\
**Created:** [February 7, 2020, 10:09am UTC](https://forum.juce.com/t/outdated-error-when-compiling-new-projucer/37496 "2020-02-07T10:09:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveH](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daveh/32/4924_2.png) [@DaveH](https://forum.juce.com/u/DaveH)\
**Post date:** [February 7, 2020, 10:09am UTC](https://forum.juce.com/t/outdated-error-when-compiling-new-projucer/37496/1 "2020-02-07T10:09:32Z")

</div>

Hello, When I get the latest Devleop. Trying to compile Projucer - I’m getting this error in many files because of…  
#define JUCE\_PROJUCER\_VERSION 0x50405  
In AppConfig.h

```auto
fatal error C1189: #error: "This project was last saved using an outdated version of the Projucer! Re-save this project with the latest version to fix this error."

```

So to compile it, I simply change that define to 050406

---

<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:** [February 7, 2020, 10:15am UTC](https://forum.juce.com/t/outdated-error-when-compiling-new-projucer/37496/2 "2020-02-07T10:15:06Z")

</div>

Are you sure you’re on the latest `develop` and are compiling the Projucer from that folder? The `JUCE_PROJUCER_VERSION` define was bumped in this commit before the release:

> <https://github.com/WeAreROLI/JUCE/commit/c7838d4ca3b6c553c0bee8055925c72dbe2540fd>

---

<div class="post-metadata">

**Author:** ![DaveH](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daveh/32/4924_2.png) [@DaveH](https://forum.juce.com/u/DaveH)\
**Post date:** [February 7, 2020, 10:26am UTC](https://forum.juce.com/t/outdated-error-when-compiling-new-projucer/37496/3 "2020-02-07T10:26:08Z")

</div>

Yeah. It’s a bit weird I just got the latest. I got it again just after posting and it’s now correct. I don’t understand, I guess it’s a "Github Desktop’ thing, although I suspect not. Oh well never mind. All sorted now, thanks for replying.

---

<div class="post-metadata">

**Author:** ![sudara](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/sudara/32/8071_2.png) [@sudara](https://forum.juce.com/u/sudara)\
**Post date:** [May 15, 2020, 10:18pm UTC](https://forum.juce.com/t/outdated-error-when-compiling-new-projucer/37496/4 "2020-05-15T22:18:15Z")

</div>

I just had this problem trying out Juce 6, maybe because I had the Projucer open while switching branches. I ended up with a dirty working tree with some leftover 5.4.x stuff in it:

```auto
Untracked files:
  (use "git add <file>..." to include in what will be committed)
	extras/Projucer/JuceLibraryCode/AppConfig.h

```

Cleaning it up made things happy.

---

<div class="post-metadata">

**Author:** ![seanwayland](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/seanwayland/32/3192_2.png) [@seanwayland](https://forum.juce.com/u/seanwayland)\
**Post date:** [November 10, 2020, 1:02am UTC](https://forum.juce.com/t/outdated-error-when-compiling-new-projucer/37496/5 "2020-11-10T01:02:24Z")

</div>

> [@DaveH](#):
>
> 050406

I ended up with this error today.  
I tried updating to the latest version of JUCE and resaving in projucer.  
No dice.  
I found a workaround which looks like this

```auto
/**
#if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION
 /** If you've hit this error then the version of the Projucer that was used to generate this project is
     older than the version of the JUCE modules being included. To fix this error, re-save your project
     using the latest version of the Projucer or, if you aren't using the Projucer to manage your project,
     remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file.
 
 #error "This project was last saved using an outdated version of the Projucer! Re-save this project with the latest version to fix this error."
#endif
 */

```

---

<div class="post-metadata">

**Author:** ![connorreviere](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/connorreviere/32/4890_2.png) [@connorreviere](https://forum.juce.com/u/connorreviere)\
**Post date:** [November 10, 2020, 10:52pm UTC](https://forum.juce.com/t/outdated-error-when-compiling-new-projucer/37496/6 "2020-11-10T22:52:08Z")

</div>

If you’re updating to the latest JUCE version using git, you’ll need to recompile the Projucer. I’m not sure exactly what problems might be introduced by using mis-matched Projucer/JUCE library versions, but this warning is there for a reason. I don’t think it would be advisable to simply comment out the check…

---

<div class="post-metadata">

**Author:** ![seanwayland](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/seanwayland/32/3192_2.png) [@seanwayland](https://forum.juce.com/u/seanwayland)\
**Post date:** [November 11, 2020, 3:08am UTC](https://forum.juce.com/t/outdated-error-when-compiling-new-projucer/37496/7 "2020-11-11T03:08:50Z")

</div>

Thanks yes,  
You know restarting the computer and rebuilding and the error disappeared. I think after downloading the latest version of JUCE I actually had to restart. I tried saving and rebuilding after the download but needed to comment out the code to build. I agree probably not good practice!
