Error building SkiaSharp
See original GitHub issueHello,
I trying to compile SkiaSharp. When running the “.\bootstrapper.ps1 -Target everything” I get an error:
========================================
externals-uwp
========================================
Executing task: externals-uwp
Done. Made 33 targets from 21 files in 347ms
ninja: Entering directory `out/winrt/x64'
ninja: no work to do.
Copying file libSkiaSharp.dll to C:/../SkiaSharp/output/native/uwp/x64/libSkiaSharp.dll
Copying file libSkiaSharp.pdb to C:/../SkiaSharp/output/native/uwp/x64/libSkiaSharp.pdb
Done. Made 33 targets from 21 files in 197ms
ninja: Entering directory `out/winrt/Win32'
ninja: no work to do.
Copying file libSkiaSharp.dll to C:/../SkiaSharp/output/native/uwp/x86/libSkiaSharp.dll
Copying file libSkiaSharp.pdb to C:/../SkiaSharp/output/native/uwp/x86/libSkiaSharp.pdb
Done. Made 33 targets from 21 files in 198ms
ninja: Entering directory `out/winrt/ARM'
[1/958] compile ../../../src/xamarin/SkManagedStream.cpp
FAILED: obj/src/xamarin/libSkiaSharp.SkManagedStream.obj
cmd /c "set __VSCMD_ARG_NO_LOGO=1 && set VSCMD_START_DIR=%CD% && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/../../../Auxiliary/Build/vcvarsall.bat" amd64_arm && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/HostX64/arm/cl.exe" /nologo /showIncludes /FC @obj/src/xamarin/libSkiaSharp.SkManagedStream.obj.rsp /c ../../../src/xamarin/SkManagedStream.cpp /Foobj/src/xamarin/libSkiaSharp.SkManagedStream.obj /Fd"obj/SkiaSharp_c.pdb""
[vcvarsall.bat] Environment initialized for: 'x64_arm'
System cannot find the path specified.
[2/958] compile ../../../src/xamarin/sk_managedstream.cpp
FAILED: obj/src/xamarin/libSkiaSharp.sk_managedstream.obj
cmd /c "set __VSCMD_ARG_NO_LOGO=1 && set VSCMD_START_DIR=%CD% && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/../../../Auxiliary/Build/vcvarsall.bat" amd64_arm && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/HostX64/arm/cl.exe" /nologo /showIncludes /FC @obj/src/xamarin/libSkiaSharp.sk_managedstream.obj.rsp /c ../../../src/xamarin/sk_managedstream.cpp /Foobj/src/xamarin/libSkiaSharp.sk_managedstream.obj /Fd"obj/SkiaSharp_c.pdb""
[vcvarsall.bat] Environment initialized for: 'x64_arm'
System cannot find the path specified.
[3/958] compile ../../../src/xamarin/sk_xamarin.cpp
FAILED: obj/src/xamarin/libSkiaSharp.sk_xamarin.obj
cmd /c "set __VSCMD_ARG_NO_LOGO=1 && set VSCMD_START_DIR=%CD% && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/../../../Auxiliary/Build/vcvarsall.bat" amd64_arm && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/HostX64/arm/cl.exe" /nologo /showIncludes /FC @obj/src/xamarin/libSkiaSharp.sk_xamarin.obj.rsp /c ../../../src/xamarin/sk_xamarin.cpp /Foobj/src/xamarin/libSkiaSharp.sk_xamarin.obj /Fd"obj/SkiaSharp_c.pdb""
[vcvarsall.bat] Environment initialized for: 'x64_arm'
System cannot find the path specified.
[4/958] compile ../../../src/xamarin/sk_managedpixelserializer.cpp
FAILED: obj/src/xamarin/libSkiaSharp.sk_managedpixelserializer.obj
cmd /c "set __VSCMD_ARG_NO_LOGO=1 && set VSCMD_START_DIR=%CD% && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/../../../Auxiliary/Build/vcvarsall.bat" amd64_arm && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/HostX64/arm/cl.exe" /nologo /showIncludes /FC @obj/src/xamarin/libSkiaSharp.sk_managedpixelserializer.obj.rsp /c ../../../src/xamarin/sk_managedpixelserializer.cpp /Foobj/src/xamarin/libSkiaSharp.sk_managedpixelserializer.obj /Fd"obj/SkiaSharp_c.pdb""
[vcvarsall.bat] Environment initialized for: 'x64_arm'
System cannot find the path specified.
[5/958] compile ../../../src/xamarin/SkManagedPixelSerializer.cpp
FAILED: obj/src/xamarin/libSkiaSharp.SkManagedPixelSerializer.obj
cmd /c "set __VSCMD_ARG_NO_LOGO=1 && set VSCMD_START_DIR=%CD% && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/../../../Auxiliary/Build/vcvarsall.bat" amd64_arm && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/HostX64/arm/cl.exe" /nologo /showIncludes /FC @obj/src/xamarin/libSkiaSharp.SkManagedPixelSerializer.obj.rsp /c ../../../src/xamarin/SkManagedPixelSerializer.cpp /Foobj/src/xamarin/libSkiaSharp.SkManagedPixelSerializer.obj /Fd"obj/SkiaSharp_c.pdb""
[vcvarsall.bat] Environment initialized for: 'x64_arm'
System cannot find the path specified.
[6/958] compile ../../../src/xamarin/SkiaKeeper.c
FAILED: obj/src/xamarin/libSkiaSharp.SkiaKeeper.obj
cmd /c "set __VSCMD_ARG_NO_LOGO=1 && set VSCMD_START_DIR=%CD% && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/../../../Auxiliary/Build/vcvarsall.bat" amd64_arm && "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.13.26128/bin/HostX64/arm/cl.exe" /nologo /showIncludes /FC @obj/src/xamarin/libSkiaSharp.SkiaKeeper.obj.rsp /c ../../../src/xamarin/SkiaKeeper.c /Foobj/src/xamarin/libSkiaSharp.SkiaKeeper.obj /Fd"obj/SkiaSharp_c.pdb""
[vcvarsall.bat] Environment initialized for: 'x64_arm'
System cannot find the path specified.
ninja: build stopped: subcommand failed.
I did not find the arm folder on the specified path
What should i setup to get the result?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to build SkiaSharp project? the libSkiaSharp.dll is ...
After l followed the build steps of the instructions-----run the bootstrapper.ps1 in powershell, l have got the error like:.
Read more >How to build Skia
Skia can build on Windows with Visual Studio 2017 or 2019. If GN is unable to locate either of those, it will print...
Read more >Building skia under windows7 with VS2015 Problems & ...
Is build instruction for how to build skia completed, or not? ... ERROR: At least one GN directory must have been built with...
Read more >Build rust-skia via buildRustPackage - Help
the problematic part is that the when the rust-skia is trying to build skia I am getting the error like: g++: error: unrecognized...
Read more >NET core and SkiaSharp runtime error - Elements
Hi. We have a big problem with the .net core and our oxygen project using SkiaSharp nugets. I attach a simple test case...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I build and run the application on Windows. Thanks very much!
You may have to check the ARM and ARM64 boxes in the “Individual components”: