chromium compiled on win7 + vs2017

526 views
Skip to first unread message

Hui Wang

unread,
May 10, 2017, 2:27:27 AM5/10/17
to chromium...@chromium.org, chromi...@chromium.org
Hi
    I compiled chromium on win7 + vs2017  recently . but i get bellow errors.
    
     1 when i install vs2017, the 15063 sdk will be installed by default event if i didn't select  15063 sdk .
     2 After i install 14393 sdk  i donn't have the directory  'C:\\Program Files (x86)\\Windows Kits\\10\Redist\ucrt\DLLs' , so when i run gen it will goes to fail.

      I uninstall the 15063 sdk by hand, and install 14393 sdk then i remove the "_CopyUCRTRuntime" in vs_toolchain.py, then i build chromium successful.

      So, what problems happend on my side?

Bruce

unread,
May 15, 2017, 4:56:28 PM5/15/17
to Chromium-dev, chromium...@chromium.org
After i install 14393 sdk  i donn't have the directory  'C:\\Program Files (x86)\\Windows Kits\\10\Redist\ucrt\DLLs'

That seems quite odd. I don't know why those DLLs would not have been installed. You could try reinstalling the 15063 SDK to see if that resolves the problem, or contact Microsoft to find out why that directory was not installed.

There was no need to uninstall the 15063 SDK - the different SDK versions can co-exist side-by-side.

Hui Wang

unread,
May 16, 2017, 10:55:06 PM5/16/17
to bruce...@chromium.org, Chromium-dev, chromium...@chromium.org
I cann't reproduce it now, only can find bellow error

E:\chromium\src>gn gen out/Default
Traceback (most recent call last):
  File "E:/chromium/src/build/vs_toolchain.py", line 448, in <module>
    sys.exit(main())
  File "E:/chromium/src/build/vs_toolchain.py", line 444, in main
    return commands[sys.argv[1]](*sys.argv[2:])
  File "E:/chromium/src/build/vs_toolchain.py", line 305, in CopyDlls
    _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=False)
  File "E:/chromium/src/build/vs_toolchain.py", line 237, in _CopyRuntime
    suffix)
  File "E:/chromium/src/build/vs_toolchain.py", line 222, in _CopyUCRTRuntime
    assert len(ucrt_files) > 0
AssertionError
ERROR at //build/toolchain/win/BUILD.gn:39:3: Script returned non-zero exit cod
.
  exec_script("../../vs_toolchain.py",



内嵌图片 1

内嵌图片 2

I remember when i first build, something will be loaded froom 15063, but i cann't reproduce it now.... only can find there is no the directory  'C:\\Program Files (x86)\\Windows Kits\\10\Redist\ucrt\DLLs', so when i run gn it will failed.


--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

Bruce Dawson

unread,
May 17, 2017, 2:53:56 PM5/17/17
to Hui Wang, Chromium-dev, Chromium-discuss
I don't know why the VS/Win-10-SDK installs are not creating and populating that directory. That is a question for the VC++ and Windows SDK teams. I've asked them:


I haven't heard of other people having this problem, but that doesn't mean that it isn't happening.

Hui Wang

unread,
May 17, 2017, 9:34:25 PM5/17/17
to Bruce Dawson, Chromium-dev, Chromium-discuss
Ok, thanks. 

Bruce Dawson <bruce...@chromium.org>于2017年5月18日周四 上午2:52写道:
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.


Bruce

unread,
May 18, 2017, 4:46:58 PM5/18/17
to Chromium-dev, bruce...@chromium.org, chromium...@chromium.org
The reply to the tweet from the VC++ team was "I am told we have not heard of anything like this." I'm not sure what to suggest. You could try copying that directory from another machine where the install worked, or file a bug with Microsoft, or ???

It appears to not be a Chromium problem so I don't think there is anything we can do about it.
Ok, thanks. 

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.


Hui Wang

unread,
May 18, 2017, 9:06:13 PM5/18/17
to bruce...@chromium.org, Chromium-dev, chromium...@chromium.org
Thanks

Bruce <bruce...@chromium.org>于2017年5月19日周五 上午4:47写道:
Ok, thanks. 

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.


--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.

Дмитрий Юдин

unread,
Nov 20, 2018, 4:24:19 PM11/20/18
to Chromium-dev, wanghui...@gmail.com, chromium...@chromium.org
I just have reproduced this issue.
Latest win10.iso installed on VMFusio (default 60Gb HDD) + vs2017+DebuggingTools
In result, all files resides in
C:\Program Files (x86)\Windows Kits\10\Redist\10.0.17763.0\ucrt\DLLs\x86
not in
 C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86
vcvars64.bat exposes
  WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0
  WindowsSdkBinPath=C:\Program Files (x86)\Windows Kits\10\bin\
  WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\
  WindowsSDKLibVersion=10.0.17763.0\
  WindowsSdkVerBinPath=C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\
  WindowsSDKVersion=10.0.17763.0\



среда, 17 мая 2017 г., 21:53:56 UTC+3 пользователь Bruce Dawson написал:
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.


Дмитрий Юдин

unread,
Nov 20, 2018, 4:24:19 PM11/20/18
to Chromium-dev, chromium...@chromium.org
I have this issue resolved ony installing one more "Windows 10 SDK" in addition to default from VisualStudioInstaller app

bruce...@chromium.org

unread,
Nov 20, 2018, 8:28:35 PM11/20/18
to Chromium-dev, wanghui...@gmail.com, chromium...@chromium.org
Chromium used to require the 17134 SDK because it needed declarations found only in that SDK. Now that 17763 has shipped Chromium can build with either of those two. The requirement for 17134 which is forced in chromium\src\build\toolchain\win\setup_toolchain.py with this block of code:

# Chromium requires the 10.0.17134.0 SDK - previous versions don't have
# all of the required declarations.
args.append('10.0.17134.0')

can probably be removed. I'll put together a CL to do this. I'm tracking this and some other cleanups in crbug.com/907300.

I'll probably wait to land any fixes so that some arm64 changes can land without interference.

Bruce Dawson

unread,
Nov 20, 2018, 9:07:01 PM11/20/18
to chromi...@chromium.org, Hui Wang, chromium...@chromium.org
I created crrev.com/c/1345652 to allow building Chromium with 17763 as well as 17134. It will probably land tomorrow.

--
--
Chromium Developers mailing list: chromi...@chromium.org

View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to a topic in the Google Groups "Chromium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/a/chromium.org/d/topic/chromium-dev/iL7RX0izg6A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/66938e43-bc2a-41a7-bcba-e9559b9d7861%40chromium.org.
Reply all
Reply to author
Forward
0 new messages