-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get it working on general Mono and ARM devices #18
Comments
@galvesribeiro I am working on that... You can try the WindowsDesktop sample on Mac. It should run and everything. Linux is next after Windows RT. |
@galvesribeiro I have updated the build script in SkiaShap and you should be able to build the https://github.com/mono/SkiaSharp/blob/master/build.cake#L295-L338
|
To build for "general" mono, it is the same process. If you build The next bit for Linux will be the same, except that there is only a vanilla mono... Unless there is a Xamarin.Linux out there 😄 |
I don't understood @mattleibow... How am I suppose to use that to build for armv6? Our device is an embedded ARMv6 device running Linux... |
@mattleibow sorry for the dumb questions but I'm not familiar with those build scripts... I wonder how can we use our ARMv6 toolchain to build that for it... |
@galvesribeiro I understand. As you are running Linux, the current build script is not going to help, but you can check this out until I manage to get it all going: https://skia.org/user/quick/linux That is what I will look at first, but you probably did already. I haven't looked at this, but you could set the
|
@mattleibow any update on that? |
Now the latest Windows IoT Core supports ARMv7 212 Snapdragon? What need to be done to have UWP SkiaSharp support for this CPU? |
I may be wrong, but the UWP already supports ARM? Have you been able to run it at all? |
@mattleibow I will give it a try. thx |
Hello folks. Are we able now to build on linux using our own toolchains and those build scripts? I tried to follow https://github.com/mono/SkiaSharp/wiki/Building-on-Linux without success. It looks like all the variables passed are being ignored (even thought I see the build script printing the variables there). I've set the following:
As I'm following the build output, it is building with GPU support :( It looks like it is ignoring the I think I'll have to do all that hackerish we did before, again, @mattleibow :( |
the same comment from the other issue: @galvesribeiro The new version no longer uses gyp, but gn instead. You can check out what I am doing here: https://github.com/mono/SkiaSharp/blob/master/cake/BuildExternals.cake#L715 What I really now do is just build Linux as Google specifies as a static archive, and then I create a dynamic library that links out everything except what SkiaSharp uses - ie: just the public C API is preserved. |
As Google has dropped support for gyp, and switched over to gn, there is nothing I can really do to get the old build process working. In fact, the later version are removing all traces of the old gyp system. |
I know, check my PM on gitter when you find some time. |
Just asking this question in multiple places: Right now I have a x64 build for Linux that was compiled on Ubuntu 14.04. I am thinking of adding a few more to help the average dev use SkiaSharp without having to build their own. What other distros or CPUs would be helpful? Leave a comment on this issue and track progress: #453 |
To make life easier for everyone, I moved code around and added a new target to the GN files. Now, the native |
Closing this issue as the Linux topic is getting a bit duplicated.
|
Hi,
Would be good if we have SkiaSharp working on general Mono instead of just on Xamarin iOS/Android. I know that nothing on current binding stop us to have it working on Mono however, build Skia native libs is a process not very well documented and with lots of tricks. If we could have guide on how to build it (at least the SkiaSharp fork) to ARMv6/v7 and other platforms, would be perfect.
As SkiaSharp home page said, we have lots of problems with Cairo that just can't be fixed today so would be perfect to remove it with Skia and SkiaSharp.
Good work!
Thanks!
The text was updated successfully, but these errors were encountered: