Juce OutOfTheBox Audio App on Windows 10

ed95 https://forum.juce.com/u/ed95
May 22

That looks OK so far. Can you confirm that memory is located at

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC
Tools\MSVC\14.10.25017\include

It’s not there. memory is here:

C:\Program Files (x86)\Microsoft Visual Studio\Preview\Community\VC\Tools\MSVC\14.11.25301\include\memory

This folder is empty:

C:\Program Files (x86)\Microsoft Visual Studio\2017\

and windows.h is located at

C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um

Confirmed. windows.h is is in C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um… and I’ve checked Projucer again and I
don’t have the windows.h error any longer. (There was a time when I did
not have the Windows 10 SDK installed.)

I just have the memory and excpt.h errors now.

Ah I see the issue now, you’re using Visual Studio Preview. The live-build engine only supports VS2013, 2015 and 2017 (release version)

I uninstalled VS 2017 Preview and installed VS 2017 and now Projucer is working. Thank you for your time.

Version 5.0.2 of the live-build engine now gets the Visual Studio and Windows Kits include paths from the registry instead of hard-coding them, so it should include the correct files regardless of your VS version or install path.

I am trying to use projucer for the first time and I am seeing this problem. Using Visual Studio pro (14.0.25431.01) 2015, projucer 5.1.1 and Juce 5.1.1.

Visual studio is installed in default location, the memory file is located in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include

What errors are you getting exactly?

The errors box shows a red triangle followed by “‘Memory’ file not found” on 5 modules and “‘windows.h’ not found” on 10 files.

Screen shot of gui project generated by projucer…

Can you confirm that Windows.h is located in C:\Program Files (x86)\Windows Kits? Depending on which version you have installed it will either be in subdirectory 8.1\Include\um or 10\Include\someVersionNumber\um. For the memory file error can you try entering the path to the file on your machine into the System header paths box of the live build settings (you can access this by clicking on the gear icon at the bottom of the live-build tab).

File Windows.h is in C:\Program Files (x86)\Windows Kits\8.1\Include\um.

I find memory file in : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cliext and
memory.h in C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt.

I tried both in the systems location and I get new errors. Expected “FILENAME” or

You need to remove the "' from line 46 of juce_StandardHeader.h - the line should just be

#include <memory>

that should get rid of the expected FILENAME errors

Th "’ was a fat finger in the process of cutting the image. I removed it. The image following did not have it. is still an error.

It does compile in developer studio. The projucer only creates the initial stub files but can do nothing else useful. Does the introjucer work for anyone else? I’m wasting so much time going nowhere. The introjucer used to work for me. Is the introjucer still available in a download somewhere?

The Introjucer is no longer available. They added functionality to Introjucer (especially the Live-Build), which was sold as Projucer, but later they gave it away for free (as part of the JUCE license). So the Introjucer has nothing, what the Projucer doesn’t have.

If it works in VisualStudio, but not in the Live build, maybe try Ed’s suggestion, if you haven’t already done so:

Good luck