Hi all I created a OutOfTheBox Audio App with Projucer 5 ( juce-huckleberry-windows.zip ) on Windows 10 with Installed Visual Studio 2013. As I activated the Live Coding right after creating the new Project in Projucer I got a lot of Errors like:
MainComponent.cpp: ‘memory’ file not found
Main.cpp: ‘memory’ file not found
include_juce_audio_basics.cpp: ‘memory’ file not found
include_juce_audio_devices.cpp: ‘windows.h’ file not found
And so on. Always ‘memory’ and ‘windows.h’. I guess there should be installed something. But If I check the Include Folder ( C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include ) then I can find such Files. Not ‘windows.h’ but a ‘memory’ and a ‘memory.h’ File.
I have the same problem but with Visual Studio 2015. In fact my VS is installed on D instead of C, so I copied a link to the ‘VC\include’ folder in System header paths in Projucer (as well as other links to required files) but still cannot bring the live-build engine to life. Many different errors about missing files although the links seem to be correct.
Of course all my projects compile and build correctly in Visual Studio. This is related to the live-build engine.
The Version 5.0.1 doesn’t fix it. You see for a second the Errors:
MainComponent.cpp: ‘memory’ file not found
include_juce_audio_basics.cpp: ‘memory’ file not found
include_juce_audio_devices.cpp: ‘excpt.h’ file not found
And then the Errors disappering and one sees this Message:
I just pulled newest develop and compiled Projucer again.
Unfortunately this fix didn’t work for me eighter.
By the way: my system was a clean install Windows Pro 10 (german version) and
then installed Visual Studio 2017 (with NO VS2013 / VS2015 installed before).
So, in my case the include file ‘windows.h’ exists in the following folders:
“c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include\Windows.h”
“c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include\Windows.h”
“c:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\Windows.h”
“c:\Program Files (x86)\Windows Kits\8.1\Include\um\Windows.h”
and the include file ‘memory.h’ exists in the following folders:
“c:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\memory.h”
“c:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\ucrt\memory.h”
edit: i just added some more infos and a screenshot of the projucer error messages…
We’ve just released a new version of the compile engine that should have the correct include paths for Visual Studio 2013. To get it, you need to delete all instances of the old JUCECompileEngine.dll file which may be located next to your Projucer.exe file if you downloaded JUCE from https://www.juce.com/get-juce and may also be in your user application data directory (usually at \Users\username\AppData\Roaming\Projucer-version number). Once these have been removed you should see a download button in the live-build tab of the Projucer when you re-open it - this will download the newest version. @matthiasgehrmann it looks like you are still using an older version of the compile engine, can you try these steps and see if it works?
Hi Ed, I removed everything from \Users\username\AppData\Roaming\Projucer and also removed the JUCECompileEngine.dll. I could then reload ( Download ) it with Projucer directly and then I could enable the Live Coding. Then it compiled correctly without any Error Message. But after the JIT Initialization the JIT process stopped working again. Are there any Log Files ?
Does the compile engine keep crashing if you re-enable it? Can you try and use the compile engine on something like the JUCE Demo project and see if that works OK? If it does then it could be something in your project that’s causing issues.
Unfortunately we don’t generate any detailed log files from crashes but it’s on our backlog.
That’s strange - I can’t reproduce it running JUCE 5.0.1 on Windows 10 with the latest compile engine build. Can you make sure you’re also on the newest version of JUCE by either re-downloading the .zip from www.juce.com/get-juce or pulling the latest tip from GitHub?
Hi Ed, I downloaded it again and also removed the …Engine.dll to get the newest one. But no luck so far - it doesn’t work. I will try it on a different clean Machine and will let you know. Thank you for your Help !
I read through the relevant forum posts and the github issues. i’ve tried everything, including the advice above: delete JUCECompileEngine.dll, download within Projucer, and try again… but it does not fix the include errors (i.e. cannot find memory, windows.h, excpt.h, and “jit not responding”, etc.).
I’m using…
Windows 10 Enterprise Version 1607 Build 14393.1198
Visual Studio Community 2017 Preview (Version 15.3)
Windows 10 SDK (10.0.15063.0)
Projucer 5.0.1
I’ve rebuilt Projucer from the git master branch and the git develop branch, but both builds produce exactly the same results: same include errors.
Where is your VS installation? The live-build engine looks for those files in
C:\Program Files (x86)\Microsoft Visual Studio (also \Microsoft Visual Studio 14.0 and \Microsoft Visual Studio 12.0 for VS2015 and VS2013, respectively)
I didn’t deviate from the default installation options when I installed
Visual Studio Community 2017 Preview or the Windows 10 SDK. Here’s some
info from the command line: