Discussion:
[chromium-dev] chromium compiled on win7 + vs2017
Hui Wang
2017-05-10 06:25:56 UTC
Permalink
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?
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/CAOJ9LktPh0uHsQeuVATuA4Cm4qJMU%3D7b_jKYeu%2B%2BZixKHnWVsg%40mail.gmail.com.
Bruce
2017-05-15 20:56:28 UTC
Permalink
Post by Hui Wang
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.
Post by Hui Wang
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?
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/dbce9f81-963d-4bfa-9780-650b6e036751%40chromium.org.
Hui Wang
2017-05-17 02:53:52 UTC
Permalink
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",



[image: 内嵌囟片 1]

[image: 内嵌囟片 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.
Post by Hui Wang
Post by Hui Wang
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.
Post by Hui Wang
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?
--
--
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
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/CAOJ9Lkuudd%2BWo7kZ%3DcoUkcS2Qi%2B-hx-KDuDffthws_15r%2BPv%3Dw%40mail.gmail.com.
Bruce Dawson
2017-05-17 18:51:44 UTC
Permalink
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:

https://twitter.com/BruceDawson0xB/status/864915767120109568

I haven't heard of other people having this problem, but that doesn't mean
that it isn't happening.
Post by Hui Wang
I cann't reproduce it now, only can find bellow error
E:\chromium\src>gn gen out/Default
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",
[image: 内嵌囟片 1]
[image: 内嵌囟片 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.
Post by Hui Wang
Post by Hui Wang
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.
Post by Hui Wang
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?
--
--
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
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/CAE5mQiOA6E3aW_Mt74Qdxo42VHo%2BC7SKFsVXXyEGswn9kUQxLg%40mail.gmail.com.
Hui Wang
2017-05-18 01:32:33 UTC
Permalink
Ok, thanks.
Post by Bruce Dawson
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
https://twitter.com/BruceDawson0xB/status/864915767120109568
I haven't heard of other people having this problem, but that doesn't mean
that it isn't happening.
Post by Hui Wang
I cann't reproduce it now, only can find bellow error
E:\chromium\src>gn gen out/Default
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",
[image: 内嵌囟片 1]
[image: 内嵌囟片 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.
Post by Hui Wang
Post by Hui Wang
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.
Post by Hui Wang
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?
--
--
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
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/CAOJ9LktYzc3P9xQ13MNynYWhEt8k%3D9YP_Wji9_p441tQh7nefA%40mail.gmail.com.
Bruce
2017-05-18 20:46:58 UTC
Permalink
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.
Post by Hui Wang
Ok, thanks.
Post by Bruce Dawson
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
https://twitter.com/BruceDawson0xB/status/864915767120109568
I haven't heard of other people having this problem, but that doesn't
mean that it isn't happening.
Post by Hui Wang
I cann't reproduce it now, only can find bellow error
E:\chromium\src>gn gen out/Default
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",
[image: 内嵌囟片 1]
[image: 内嵌囟片 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.
Post by Hui Wang
Post by Hui Wang
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.
Post by Hui Wang
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?
--
--
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
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/7c4efcf3-1b3d-4c69-8f05-65577fbf088b%40chromium.org.
Hui Wang
2017-05-19 01:04:44 UTC
Permalink
Thanks
Post by Bruce
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.
Post by Hui Wang
Ok, thanks.
Post by Bruce Dawson
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
https://twitter.com/BruceDawson0xB/status/864915767120109568
I haven't heard of other people having this problem, but that doesn't
mean that it isn't happening.
Post by Hui Wang
I cann't reproduce it now, only can find bellow error
E:\chromium\src>gn gen out/Default
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",
[image: 内嵌囟片 1]
[image: 内嵌囟片 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.
Post by Hui Wang
Post by Hui Wang
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.
Post by Hui Wang
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?
--
--
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
--
--
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
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/CAOJ9LkuZxUw7c4ySBYPVS6gmq3r_Oi-S8m3YxV8tRki-A0aRaQ%40mail.gmail.com.
Дмитрий Юдин
2018-11-20 10:17:11 UTC
Permalink
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\
Post by Bruce Dawson
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
https://twitter.com/BruceDawson0xB/status/864915767120109568
I haven't heard of other people having this problem, but that doesn't mean
that it isn't happening.
Post by Hui Wang
I cann't reproduce it now, only can find bellow error
E:\chromium\src>gn gen out/Default
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",
[image: 内嵌囟片 1]
[image: 内嵌囟片 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.
Post by Hui Wang
Post by Hui Wang
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.
Post by Hui Wang
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?
--
--
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
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/099e28bd-ae30-4faf-9144-f66b8ed3cc05%40chromium.org.
b***@chromium.org
2018-11-21 01:28:35 UTC
Permalink
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.
Post by Дмитрий Юдин
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\
Post by Bruce Dawson
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
https://twitter.com/BruceDawson0xB/status/864915767120109568
I haven't heard of other people having this problem, but that doesn't
mean that it isn't happening.
Post by Hui Wang
I cann't reproduce it now, only can find bellow error
E:\chromium\src>gn gen out/Default
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",
[image: 内嵌囟片 1]
[image: 内嵌囟片 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.
Post by Hui Wang
Post by Hui Wang
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.
Post by Hui Wang
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?
--
--
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
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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.
Bruce Dawson
2018-11-21 02:05:21 UTC
Permalink
I created crrev.com/c/1345652 to allow building Chromium with 17763 as well
as 17134. It will probably land tomorrow.
Post by b***@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 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.
Post by Дмитрий Юдин
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\
Post by Bruce Dawson
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
https://twitter.com/BruceDawson0xB/status/864915767120109568
I haven't heard of other people having this problem, but that doesn't
mean that it isn't happening.
Post by Hui Wang
I cann't reproduce it now, only can find bellow error
E:\chromium\src>gn gen out/Default
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",
[image: 内嵌囟片 1]
[image: 内嵌囟片 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.
Post by Hui Wang
Post by Hui Wang
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.
Post by Hui Wang
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?
--
--
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
--
--
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
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
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/66938e43-bc2a-41a7-bcba-e9559b9d7861%40chromium.org?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/CAE5mQiOMfVajjez1ozPBvRxn27Vh1CRa%3DGX0X%3DW487Y3V7dx-g%40mail.gmail.com.
Дмитрий Юдин
2018-11-20 10:40:10 UTC
Permalink
I have this issue resolved ony installing one more "Windows 10 SDK" in
addition to default from VisualStudioInstaller app
--
--
Chromium Developers mailing list: chromium-***@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 the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, 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/32135ddf-281a-4a54-a673-a572102a8e64%40chromium.org.
Loading...