Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:18
    timunie commented #8764
  • 14:15
    Gillibald synchronize #8671
  • 14:14
    tomenscape commented #8764
  • 14:14
    tomenscape commented #8764
  • 14:12
    ShadowMarker789 edited #8764
  • 13:58
    timunie commented #8777
  • 13:52
    ShadowMarker789 commented #8764
  • 13:49
    ShadowMarker789 commented #8764
  • 13:27
    Gillibald commented #8758
  • 13:18

    danwalmsley on 11.0.0-preview1

    turn it up to 11! (compare)

  • 13:08
    broadside74 commented #8515
  • 12:16
    wieslawsoltes commented #8777
  • 12:11
    timunie commented #8777
  • 11:58
    avaloniaui-team commented #8778
  • 11:55

    Takoooooo on bump-version

    (compare)

  • 11:55

    Takoooooo on master

    bump master build version Merge pull request #8778 from A… (compare)

  • 11:55
    Takoooooo closed #8778
  • 11:46
    Takoooooo auto_merge_enabled #8778
  • 11:43
    tomenscape labeled #8779
  • 11:43
    tomenscape opened #8779
.
@avaloniaui:matrix.org
[m]
wieslawsoltes
so you may need to check tree
.
@avaloniaui:matrix.org
[m]
danwalmsley
RazorSharpFang
Happy... 11?
danwalmsley
🤔
.
@avaloniaui:matrix.org
[m]
Todlichan
hello again, i'm asking so many stupid questions, jeez...
I'm stuck on building my app for linux, it works for windows, but when i build it for linux and run it it says The version of the native libSkiaSharp library (80.2) is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [80.3, 81.0). and declines to run
There is a libSkiaSharp.so file in the output directory, why would it be something wrong?
danwalmsley
what version are you using for Avalonia?
danwalmsley
have you done something with skiasharp package?
Todlichan
it's Avalonia 0.10.10 (re @danwalmsley: what version are you using for Avalonia?)
danwalmsley
use 0.10.18
danwalmsley
clean and build
danwalmsley
and see if your issue is resolved
danwalmsley
let me know the result
Todlichan
i'll try it, i hope nothing will break because of any vital changes
danwalmsley
we maintain stable api
danwalmsley
everything 0.10.x is stable and compatible
.
@avaloniaui:matrix.org
[m]
RazorSharpFang
Looking at UnmanagedMethods.cs
CreateWindowEx from User32.dll
Shouldn't the target be CreateWindowExW for Wide-String ? I thought CreateWindowEx was the .h macro that pointed to either the A variant or the W variant depending on whether or not certain preprocessor directives were made.
danwalmsley
@kekekeks ?
RazorSharpFang
I noticed that the EntryPoint is specified manually on DefWindowProc to correctly point to DefWindowProcW
RazorSharpFang
But I'm not seeing that on CreateWindowEx
RazorSharpFang
It could be that the Marshaller is smart enough to do this for you? I've not actually tried doing these kinds of dll imports manually without explicitly hitting the W variant.
RazorSharpFang
🤔
.
@avaloniaui:matrix.org
[m]
Katz0
@RazorSharpFang is it native control host? You need a app.manifest as this exceptions tells
RazorSharpFang
Will the manifest modify the way the marshaller manages this, or does it change the way the operating system maps these DLL calls?
.
@avaloniaui:matrix.org
[m]
Todlichan
okay, i updated and now it fails to load 'libcef' (re @danwalmsley: let me know the result)
Todlichan
on windows still works fine tho
RazorSharpFang
Do you have libcef installed or otherwise copied as a dependency?
Todlichan
if only i wasn't so stupid and knew what it is
Todlichan
is it some kind of web library?
RazorSharpFang
Okay, so libcef is the library for the Chromium Embedded Framework
Todlichan
it's just i use webview in my app
RazorSharpFang
I think libcef would be a dependency of the webview
danwalmsley
thats nothing to do with avalonia (re @Todlichan: okay, i updated and now it fails to load 'libcef')
danwalmsley
which webview are you using?
.
@avaloniaui:matrix.org
[m]
Todlichan
https://github.com/OutSystems/WebView
this one (re @danwalmsley: which webview are you using?)
danwalmsley
its only maintained for windows and mac
danwalmsley
they dont support linux
kekekeks
W is getting added automatically by .NET (re @RazorSharpFang: Looking at UnmanagedMethods.cs
CreateWindowEx from User32.dll
Shouldn't the target be CreateWindowExW for Wide-String ? I thought CreateWindowEx was the .h macro that pointed to either the A variant or the W variant depending on whether or not certain preprocessor directives were made.)
danwalmsley
@kekekeks whats the recommendation for webview now
danwalmsley
there is a better solution now right?
RazorSharpFang
Aha, that explains that. I was about to call GetProcAddress manually to check (re @kekekeks: W is getting added automatically by .NET)
kekekeks
CefNet (re @danwalmsley: @kekekeks whats the recommendation for webview now)
danwalmsley
is there an avalonia sample?
danwalmsley
@Todlichan https://github.com/CefNet/CefNet
danwalmsley
look into this
.
@avaloniaui:matrix.org
[m]
Todlichan
okay, i'll try it, thank you
Todlichan
i totally forgot that thing wasn't supposed to work on linux
Todlichan
i saw this one too while looking for it, but it seemed too complicated haha
RazorSharpFang
You could write multiple paths, and do an environment check to load the linux one on linux