Comments (6)
I got a little further, apparently I had to set the environment variable (PYTHON_EXE) for the python exe instead of just the path variable. I updated dependencies again, and after that I was missing choco and ninja.
I am wondering if the install docs need updated? They are the same as when we first built our own libraries and they are MUCH different now. But good news is, I am compiling now, so I guess this can be closed.
from skiasharp.
Compiling after setting the PYTHON_EXE environment variable to the actual exe instead of only the path.
from skiasharp.
I jumped the gun, externals-windows works but android does not. I can get it to compile by copying the python executable to python3.exe but I am sure thats the wrong route. The script is running cmd.exe which doesnt have the variable is my suspicion. python3 error again:
========================================
libSkiaSharp
========================================
Done. Made 113 targets from 55 files in 234ms
ninja: Entering directory `out/android/x86'
[907/1395] link libskcms.a
FAILED: libskcms.a
cmd.exe /c python3 "C:/Development/Examples/SkiaSharpNew/externals/skia/gn/rm.py" "libskcms.a" && C:/Development/Android/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/bin/llvm-ar.exe rcs libskcms.a @libskcms.a.rsp
'python3' is not recognized as an internal or external command,
operable program or batch file.
[932/1395] compile ../../../modules/skottie/src/effects/SphereEffect.cpp
ninja: build stopped: subcommand failed.
An error occurred when executing task 'libSkiaSharp'.
Error: Process 'C:/Program Files/Python312/Python.exe' failed with error: 1
An error occurred when executing task 'externals-android'.
Error: .NET CLI: Process returned an error (exit code 1).
from skiasharp.
Do you have python3 installed into the PATH variable?
from skiasharp.
Do you have python3 installed into the PATH variable?
Yea sorry its been awhile since I looked at this but we are fully compiling now. The issue I think that needs resolved is an update to the docs as they appear really outdated. We saved a list in a "How To" so we can just keep coming back to that as its hard to remember the entire list when you only re compile every so often on updates. We have a full list of packages and programs to install and then a build list of environment variables to set as well as what not to install (Tizen) and what to skip (Tizen). Tizen has some install issues right now in VS and windows that basically kills any other development on mobile including android. They are aware of the issue but arent willing to fix it (we used to restore backups on a build machine after builds where Tizen wasnt installed). We dont target Tizen anyways, and really just need the info in the build list.
So again, I think its just the build docs need updated with everything needed like LLVM, choco, Python, Ninja, Tizen, Node.js, on and on... As well as all the environment settings to build each time, for us for some reason we have to tell it where everything is like 'PYTHON_EXE', 'LLVM_HOME', 'ANDROID_NDK_HOME', as well as adding nodejs and Python312 paths.
from skiasharp.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.
from skiasharp.
Related Issues (20)
- [FEATURE] Support Direct3D HOT 4
- [BUG] `SKNativeObject` instances are not kept alive during native API calls
- [BUG] Annoying warning on .NET Framework 4.8 project with SkiaSharp 2.88.6 or 2.88.7 HOT 17
- [BUG] Text Missing When Running From AWS Lambda HOT 3
- [BUG] SkiaSharp 3.0 Preview 3.1 crashes the release version of the .NET MAUI app at start, debug works fine HOT 9
- [BUG] Drawing is warped during window resize on NVIDIA graphics card
- Canvas Info shows huge size when using Chrome Debugger and using Device Emulation
- [BUG] Build outputs duplicate native libraries HOT 2
- Skia Blazor Runs in debugger but not when deployed
- [BUG] SKGLElement gives black screen on Intel integrated graphics
- [BUG] SKGLView on .NET MAUI is missing a handler (the return) HOT 6
- [BUG] On iOS, with .NET 9.0 Preview 2 and 3 and SkiaSharp 3.0 Preview 2.1 / 3.1, SKGLView corrupts SkiaSharp memory and stops SkiaSharp from functioning HOT 8
- [BUG] The position draw on SKXamCanvas is not correct. #1585 Was this a bug that you worked around? HOT 3
- [PERFORMANCE] On iOS, layout speed of pages with SKGLView is slow, making layout wobbly at start (SKCanvasView is instantaneous)
- [BUG] SkiaSharp 2.88.8 (Xamarin) crashes randomly with Mali GPUs HOT 4
- [BUG] SKPaint's IsAntiAlisasing is on on Android but off on iOS by default (Xamarin / SkiaSharp 2.88.8) HOT 1
- [BUG] SkiaSharp crashes in WebAssembly if building with non-Release/Debug build config HOT 1
- [BUG] Canvas.DrawPath Cause Memory Leak on Windows 11 HOT 1
- [BUG] SKBitmap.ColorSpace is always null. Unable to check for CMYK, RGB, etc. HOT 1
- [BUG] CR2 image orientation being detected incorrectly.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skiasharp.