Juce and VS Community 2017 issues

I’ve made a few posts here about finally getting into building Windows versions of my applications… well I grabbed VS 2017 community. I created a new exporter for VS 2017 in the Projucer and had it open VS. Tried to compile, got a build error related not having windows 8.1 SKD. So I downloaded it and tried again, then got a slew of errors related to JUCE modules. All my module location paths are correct in the Projucer, and I’m ENTIRELY unfamiliar with VS and Windows in general. Any help would be great.

1>------ Build started: Project: The Lyons' Den Delay Time Calculator_App, Configuration: Debug x64 ------
1>Main.cpp
1>MainComponent.cpp
1>BasicWindow.cpp
1>InformationComponent.cpp
1>c:\users\joe_0\documents\the lyons' den software\gui-delay-time-calculator\source\../JuceLibraryCode/JuceHeader.h(17): fatal error C1083: Cannot open include file: 'juce_core/juce_core.h': No such file or directory (compiling source file ..\..\Source\BasicWindow.cpp)
1>TapTempo.cpp
1>c:\users\joe_0\documents\the lyons' den software\gui-delay-time-calculator\source\../JuceLibraryCode/JuceHeader.h(17): fatal error C1083: Cannot open include file: 'juce_core/juce_core.h': No such file or directory (compiling source file ..\..\Source\Main.cpp)
1>c:\users\joe_0\documents\the lyons' den software\gui-delay-time-calculator\source\../JuceLibraryCode/JuceHeader.h(17): fatal error C1083: Cannot open include file: 'juce_core/juce_core.h': No such file or directory (compiling source file ..\..\Source\InformationComponent.cpp)
1>c:\users\joe_0\documents\the lyons' den software\gui-delay-time-calculator\source\../JuceLibraryCode/JuceHeader.h(17): fatal error C1083: Cannot open include file: 'juce_core/juce_core.h': No such file or directory (compiling source file ..\..\Source\MainComponent.cpp)
1>EmbeddedFonts.cpp
1>include_juce_core.cpp
1>include_juce_data_structures.cpp
1>c:\users\joe_0\documents\the lyons' den software\gui-delay-time-calculator\source\../JuceLibraryCode/JuceHeader.h(17): fatal error C1083: Cannot open include file: 'juce_core/juce_core.h': No such file or directory (compiling source file ..\..\Source\TapTempo.cpp)
1>c:\users\joe_0\documents\the lyons' den software\gui-delay-time-calculator\source\../JuceLibraryCode/JuceHeader.h(17): fatal error C1083: Cannot open include file: 'juce_core/juce_core.h': No such file or directory (compiling source file ..\..\Source\EmbeddedFonts.cpp)
1>..\..\JuceLibraryCode\include_juce_core.cpp(9): fatal error C1083: Cannot open include file: 'juce_core/juce_core.cpp': No such file or directory
1>include_juce_events.cpp
1>include_juce_graphics.cpp
1>..\..\JuceLibraryCode\include_juce_data_structures.cpp(9): fatal error C1083: Cannot open include file: 'juce_data_structures/juce_data_structures.cpp': No such file or directory
1>include_juce_gui_basics.cpp
1>include_juce_gui_extra.cpp
1>..\..\JuceLibraryCode\include_juce_gui_basics.cpp(9): fatal error C1083: Cannot open include file: 'juce_gui_basics/juce_gui_basics.cpp': No such file or directory
1>..\..\JuceLibraryCode\include_juce_graphics.cpp(9): fatal error C1083: Cannot open include file: 'juce_graphics/juce_graphics.cpp': No such file or directory
1>..\..\JuceLibraryCode\include_juce_events.cpp(9): fatal error C1083: Cannot open include file: 'juce_events/juce_events.cpp': No such file or directory
1>..\..\JuceLibraryCode\include_juce_gui_extra.cpp(9): fatal error C1083: Cannot open include file: 'juce_gui_extra/juce_gui_extra.cpp': No such file or directory
1>Done building project "The Lyons' Den Delay Time Calculator_App.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

It really looks like your module paths are wrong. Are you sure you updated the module paths for all the juce modules.

Yes. I just now double checked. I have no errors in the paths in the module area in the Projucer. I even changed the path from the current location to a wrong location, got the error saying the path was wrong, then switched back to the correct location, and copied that location to all modules, just to make sure. I would post a screenshot to show that they are correct, but I can’t seem to get the key combo that takes the screenshot to work (once again, Windows machines are not my thing).

Oh wow, I think I figured it out… it seems I didn’t realize I was still setting the paths for Xcode field… I didnt realize this. Projucer didn’t give me any error and I entirely glossed over this. It is now properly set in the Windows field. Total facepalm moment.

Ok, Windows paths are entirely correct now.

Still getting some errors now:

1>------ Build started: Project: The Lyons' Den Delay Time Calculator_App, Configuration: Debug x64 ------
1>Main.cpp
1>MainComponent.cpp
1>BasicWindow.cpp
1>InformationComponent.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory (compiling source file ..\..\Source\Main.cpp)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory (compiling source file ..\..\Source\BasicWindow.cpp)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory (compiling source file ..\..\Source\InformationComponent.cpp)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory (compiling source file ..\..\Source\MainComponent.cpp)
1>TapTempo.cpp
1>EmbeddedFonts.cpp
1>include_juce_core.cpp
1>include_juce_data_structures.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory (compiling source file ..\..\Source\TapTempo.cpp)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory (compiling source file ..\..\Source\EmbeddedFonts.cpp)
1>include_juce_events.cpp
1>include_juce_graphics.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory (compiling source file ..\..\JuceLibraryCode\include_juce_data_structures.cpp)
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(31): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file ..\..\JuceLibraryCode\include_juce_core.cpp)
1>include_juce_gui_basics.cpp
1>include_juce_gui_extra.cpp
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(31): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file ..\..\JuceLibraryCode\include_juce_gui_basics.cpp)
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(31): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file ..\..\JuceLibraryCode\include_juce_events.cpp)
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(31): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file ..\..\JuceLibraryCode\include_juce_graphics.cpp)
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h(31): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file ..\..\JuceLibraryCode\include_juce_gui_extra.cpp)
1>Done building project "The Lyons' Den Delay Time Calculator_App.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Everything is solved now. I’ll chalk it up to Windows / Visual Studio inexperience and just being tired. We had our first child come about a week ago, I haven’t slept more than a few hours the past few days. Apologies for starting a thread over these mistakes.

1 Like