Closed wilhelmberg closed 9 years ago
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\crtdefs.h(10):
fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory
CTP6 seems to have changed paths for the WinSDK from 8.1
to 10
.
Previously: ...\Windows Kits\8.1
Now:
EDIT 1
got past the corecrt.h
error by copying all include files from C:\Program Files (x86)\Windows Kits\10\Include\ucrt
to C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include
New error:
LINK : fatal error LNK1104: cannot open file 'ucrt.lib'
It seems that CTP6 changes the operating system in undocumented ways that make it impossible to run Mapbox Studio.
As of today (Sat, Feb 28) no mentions about anything interesting for us, either under Known issues
or Breaking changes
:
http://support.microsoft.com/kb/2967191
I've verified with Windows 8.1 and Windows Server 2012 R2
My main local dev machine is seriously screwed now.
UPDATE 1 2015 March 4th
Machine is still screwed, with 2015 CTP5 installed. Meaning that
cl
and msbuild
crash without any useful informationHowever, the following process made at least Mapbox Studio work again:
UPDATE 1
After the upgrade from CTP5
to CTP6
I wasn't able to compile boost
(see above).
Mapbox studio failed with Unable to create pipe "\\.\pipe\chrome
:
https://github.com/mapbox/mapbox-studio/issues/1190
https://github.com/mapbox/mapbox-studio-internal/issues/200
vcredist CTP4
(the current version Studio is built with) again, didn't change anythingcl.exe
fails with our very first dependency zlib
`Unable to create pipe "\\.\pipe\chrome
node-mapnik
as npm install
downloads node.lib
from S3, even when pointing to the locally built node.SET VCHOME=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\
SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\
SET VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\
repair
Admin
VS cmd prompt
-> devenv /Setup
%USERPROFILE%\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml
<entry>
<record>545</record>
<time>2015/02/28 09:03:23.211</time>
<type>Error</type>
<source>VisualStudio</source>
<description>No InprocServer32 registered for package [Visual C++ Package]</description>
<guid>{1B027A40-8F43-11D0-8D11-00A0C91BC942}</guid>
<hr>8007007f</hr>
<errorinfo></errorinfo>
<path>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcpackages\vcpkg.dll</path>
</entry>
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\Packages\{1B027A40-8F43-11D0-8D11-00A0C91BC942}
has valid value for InproServer32
devenv /setup
should have created itUnistalling CTP6 and additionally removing everything manually, that was installed by CTP6, but not removed by the uninstaller, doesn't solve anything.
After a reinstall of CTP5:
zlib
compiles via commandline, but zlib.vcxproj
cannot even be opened from within VS.boost
even fails to compile via commandline.Update on my quest "Restore W8.1 after VS2015 CTP6"
wow. I had no idea the potential problems from CTP. does Microsoft have any kind of bug tracker where this can be reported?
y, they do, but answers to CTP questions/bug reports are most of the time like this:
Thanks for reporting. It is already on our list. As you know: this is CTP, don't use in production.
I wanted to avoid reinstalling ,Windows, but I've already spent way too much time with this. I think, first thing on Monday is a new setup of the MacBook.
And as mentioned above: boost doesn't even compile on a fresh machine with just CTP6 installed.
I suggest we stay with 2014 CTP 4 for now.
Ok, I'm up and running again with a fresh install of W8.1, VS2014 CTP4 and everything else.
Closing this issuse. We will stay with VS2014 CTP4 for now, till a more reliable VS2015 CTP7 or RTM comes out.
I couldn't get boost
to compile with 2015 CTP6 on a fresh machine with just VS on it, anyway.
@springmeyer @flippmoke I know a lot of things a moving at the moment (coverage), but just wanted to let you know, I get this error with latest master:
This may help you. I ran into the same issue on another project, and the culprit turned out to be that some boost build generated bat files were not being regenerated with the updated CRT include paths. They will reside in your temp directory and have names like b2_msvc_14.0_vcvarsall_amd64.cmd. Manually removing the files corrected the problem for me. I can now build boost on CTP6.
@cdglove
Great info, but I couldn't find the referenced file b2_msvc_14.0_vcvarsall_amd64.cmd
or anything similar on my system.
However, I removed all already extracted sources and all other tmp files I could find, started completely from scratch and now the build magically started working, including everything up to mapnik. I've not yet tried node-mapnik.
Thanks for sharing and making me look into it again.
Out of curiosity: Did you have any other problems when updating VS? As you might have read updating to CTP6 totally destroyed my dev machine. My route was CTP2, CTP4, CTP5, CTP6 (and the 2015 Preview somewhere in between).
/cc @springmeyer
@cdglove Good call! This fixed it for me too. I built the boots libraries initially with CTP5 and tried to rebuild with CTP6 and got the same error. Deleting those .cmd files in the Temp folder fixed it for me.
@cdglove Excellent call to clean up temp folder! Thank you.
This just happened again, after upgrading to the release version of Visual Studio 2015
.
Same procedure as mentioned above by @cdglove
%TEMP%
<- paste this into address bar of file explorerb2_msvc_14.0_vcvarsall_x86.cmd
b2_msvc_14.0_vcvarsall_x86_amd64.cmd
b2_msvc_14.0_vcvarsall_x86_arm.cmd
Saved my day! Thanks.
CTP 6 seem to contain some bigger changes. Opening a comment for each problem in this thread.