I'm receiving compiler errors on Visual Studio 2017.
Updated configuration Windows SDK Version to 10.0.14393.0.
1>------ Build started: Project: CoreManifests, Configuration: Release x64 ------
1>mc : error : Internal error - ErrorCode=3, SubErrorCode=4294967295, Message=
1>Performing Custom Build Tools
1>Done building project "CoreManifests.vcxproj" -- FAILED.
2>------ Build started: Project: Chakra.Jsrt.Core, Configuration: Release x64 ------
3>------ Build started: Project: Chakra.Runtime.Base, Configuration: Release x64 ------
3>RuntimeBasePch.cpp
3>f:\chakracore-master\lib\common\Core/EtwTraceCore.h(68): fatal error C1083: Cannot open include file: 'microsoft-scripting-chakra-instrumentationevents.h': No such file or directory
3>Done building project "Chakra.Runtime.Base.vcxproj" -- FAILED.
@PaulGGriffiths where did you install VS2017 from?
Visual studio.com is where i got it from.
Sent from my Windows Phone
From: Hitesh Kanwathirthanotifications@github.com
Sent: ‎10/‎01/‎2017 21:51
To: Microsoft/ChakraCoreChakraCore@noreply.github.com
Cc: PaulGGriffithspaul.g.griffiths@outlook.com; Mentionmention@noreply.github.com
Subject: Re: [Microsoft/ChakraCore] Compiling on Visual Studio 2017 (#2348)
@PaulGGriffithshttps://github.com/PaulGGriffiths where did you install VS2017 from?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/ChakraCore/issues/2348#issuecomment-271709303, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AX3ufjUjY25WeNuIyf3Mk3bGKqWD7cUZks5rQ_11gaJpZM4LfRfn.
Sorry, what version? The RC?
Yes
Sent from my Windows Phone
From: Hitesh Kanwathirthanotifications@github.com
Sent: ‎10/‎01/‎2017 21:55
To: Microsoft/ChakraCoreChakraCore@noreply.github.com
Cc: PaulGGriffithspaul.g.griffiths@outlook.com; Mentionmention@noreply.github.com
Subject: Re: [Microsoft/ChakraCore] Compiling on Visual Studio 2017 (#2348)
Sorry, what version? The RC?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/ChakraCore/issues/2348#issuecomment-271710231, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AX3ufvEf9x1vyyozqD2x7gXpzY-0G4bYks5rQ_5FgaJpZM4LfRfn.
Related to #2096
I was able to build the chakracore x64 under visual studio 2017 with some fixes around the include paths and other tools. You must install: VC++ 2015 toolset, windows universal crt sdk, windows 10 sdk, windows 8.1 sdk, windows universal C runtime and retarget the solution except for the "platformAgnostic" project.
Once installed the Include directories property must set to:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\Include\um;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\ucrt;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\atlmfc\include;$(IncludePath)
On a clean VM with VS2017 RTM, I was able to build latest by including "Desktop Development with C++" and selecting the optional "Windows 8.1 SDK and UCRT SDK" package and using the "Developer Command Prompt for VS2017" without needing any path modifications or solution changes.
Sounds workable, but I wonder if we could make our solution compatible with VS 2017 without the Windows 8.1 SDK.
I think this is an issue in VS where it defaults to 8.1 SDK.
Most helpful comment
I was able to build the chakracore x64 under visual studio 2017 with some fixes around the include paths and other tools. You must install: VC++ 2015 toolset, windows universal crt sdk, windows 10 sdk, windows 8.1 sdk, windows universal C runtime and retarget the solution except for the "platformAgnostic" project.
Once installed the Include directories property must set to:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\Include\um;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\ucrt;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\atlmfc\include;$(IncludePath)