Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDLL file `api-ms-win-crt-runtime-l1-1-0.dll` not found! #25787
Comments
|
MINGW isn't a supported environment. What happens if you open a regular windows terminal window and run |
|
It is building in a regular windows terminal window. I opened Command prompt in VS code itself and it is getting built there. So what do you suggest, I shouldn't build it using the bash terminal? |
|
If the terminal is running bash, it's not a regular terminal window. Only the windows command prompt environment is supported; you can launch it by running "cmd" from the windows start menu search. |
|
I followed the steps from https://github.com/servo/servo#on-windows-msvc and got the same error. https://github.com/servo/servo#on-windows-msvc
servo/python/servo/build_commands.py Lines 1006 to 1007 in 8f3622a to
because the correct path is C:\Program Files (x86)\Windows Kits\10\Redist\10.0.17763.0\ucrt\DLLs\x64\api-ms-win-crt-runtime-l1-1-0.dll. |
|
I worked around the problem by running |
shrey@LAPTOP-L08HN83K MINGW64 /c/Users/shrey/servo (master)
$ ./mach build --dev
warning: Error finalizing incremental compilation session directory
\\?\C:\Users\shrey\servo\target\debug\incremental\canvas_traits-aj1987kq9sua\s-fkbu5d627i-159yjr0-working: Access is denied. (os error 5)warning: method
Constructorshould have a snake case name--> components\script\dom\doge.rs:34:8
|
34 | pub fn Constructor(global: &GlobalScope, init: Option) -> Fallible<DomRoot> {
| ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization):
constructor|
= note:
#[warn(non_snake_case)]on by defaultPackaging EGL DLLs
Packaging gstreamer DLLs
Packaging MSVC DLLs
DLL file
api-ms-win-crt-runtime-l1-1-0.dllnot found!Build FAILED in 0:00:09
facing this error, took help from google but haven't been able to solve it.