These are chat archives for AvaloniaUI/Avalonia

15th
Nov 2015
Nikita Tsukanov
@kekekeks
Nov 15 2015 00:04
@EgorBo
29> ld: file not found: /Users/keks/Library/Caches/Xamarin/mtbs/builds/PerspexSkiaiOSTestApp/a63276499873a042661aee3e1e20ab5b/obj/iPhoneSimulator/Debug/mtouch-cache/libperspesk_standalone.a
29> clang: error: linker command failed with exit code 1 (use -v to see invocation)
blob
[assembly: LinkWith("libperspesk_standalone.a", ForceLoad = true, IsCxx = true, Frameworks = "ImageIO")]
It also doesn't get embedded to dll
And it seems that "iOS Binding Library" requires Mac build host which we don't have on CI server
Egor Bogatov
@EgorBo
Nov 15 2015 00:09
sorry it's 3 am, I can't concentrate on anything :( don't remember about CFBridgingRetain and I always have problems with linking static libs (I am not good in ios at all :(
Nikita Tsukanov
@kekekeks
Nov 15 2015 00:13
Can you ask someone how to build a dll with embedded static lib on windows machine without mac host?
Hm, it seems that it's stored as embedded resource
Nikita Tsukanov
@kekekeks
Nov 15 2015 00:24
[assembly: LinkWith("Perspex.Skia.iOS.libperspesk_standalone.a", ForceLoad = true, IsCxx = true, Frameworks = "ImageIO")]
Well, that was ugly
Nikita Tsukanov
@kekekeks
Nov 15 2015 00:58
@EgorBo
3>  Undefined symbols for architecture arm64:
3>    "_kCTFontStyleNameAttribute", referenced from:
3>        SkFontStyleSet_Mac::getStyle(int, SkFontStyle*, SkString*) in Perspex.Skia.iOS.libperspesk_standalone.a(skia_ports_SkFontHost_mac.o)
I'm getting errors like this
When I was building my testapp via XCode I've resolved them by adding ImageIO and MobileCoreServices
But when building using Xamarin that doesn't help (frameworks are added to command line)
Darnell Williams
@Seeker1437
Nov 15 2015 01:00
Grr... no system.io....
this is retarded D:
Nikita Tsukanov
@kekekeks
Nov 15 2015 01:01
-framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework OpenGLES -framework CFNetwork -framework ImageIO -framework MobileCoreServices
Darnell Williams
@Seeker1437
Nov 15 2015 01:06
Wow I am kinda starting to understand why yu gys did your framework the way you did.... it's actually quite epic :O
Now I still am not sure how I could get what I wanted to work to work but.... I will surely try.
Nikita Tsukanov
@kekekeks
Nov 15 2015 01:07
Hm, it seems that CoreText is missing

Grr... no system.io....

Don't try to write your app's logic using PCL

That's useless
Darnell Williams
@Seeker1437
Nov 15 2015 01:11
ah wow
Darnell Williams
@Seeker1437
Nov 15 2015 01:17
Okay so listening to you I am moving the code over to Shared Project
Nikita Tsukanov
@kekekeks
Nov 15 2015 01:29
Hm
guys
I've managed to run that rotating rectangle demo on my iPad
Darnell Williams
@Seeker1437
Nov 15 2015 01:37
:D
Oh @kekekeks I have a squestion fro you
@donandren iOS drawing backend is operational
Currently it requires UIView to be in scaled (default) mode
So don't touch platform's scaling settings and just pass UIScreen.MainScreen.Scale to PlatformSettings.RenderScalingFactor
Nikita Tsukanov
@kekekeks
Nov 15 2015 02:20
@grokys @donandren https://www.chromium.org/developers/design-documents/aura/gesture-recognizer - I like their gesture system
aura already has that implemented for win, linux and android
Nikita Tsukanov
@kekekeks
Nov 15 2015 02:31
Well, we'll need a gesture recognizer of some kind anyway
I think I can implement emulation for low-level touch events using mouse, so it will be easier to debug
José Manuel Nieto
@SuperJMN
Nov 15 2015 09:15

I think I can implement emulation for low-level touch events using mouse, so it will be easier to debug

Argh, touch has already been taken into consideration and I'm still implementing basic stuff in OmniXAML. You guys are quick!

or... maybe I'm slow
I only I had more time, sh**!
danwalmsley
@danwalmsley
Nov 15 2015 09:35
Hi guys, been busy for a few weeks... just trying to get up and running again...
my app crashes unable to find Direct2d
public App() { RegisterServices(); InitializeSubsystems((int)Environment.OSVersion.Platform); Styles = new DefaultTheme();
On the initializeSubsystems line
Nikita Tsukanov
@kekekeks
Nov 15 2015 10:27
Check that you've referenced Perspex.Desktop
danwalmsley
@danwalmsley
Nov 15 2015 10:33
@kekekeks hey I just updated the nuget package
so I thought it should have been done automatically?
seems there is no Perspex.Desktop in nightly builds
Nikita Tsukanov
@kekekeks
Nov 15 2015 10:36
Something got broken then
danwalmsley
@danwalmsley
Nov 15 2015 10:40
.783 is latest?
Nikita Tsukanov
@kekekeks
Nov 15 2015 10:43
Seems to be
Friedrich von Never
@ForNeVeR
Nov 15 2015 13:51
I've just compiled and started sample Perspex project on Nixos using Monodevelop. That's so cool :)
Egor Bogatov
@EgorBo
Nov 15 2015 13:54
@kekekeks have you solved those ios issues?
Nikita Tsukanov
@kekekeks
Nov 15 2015 13:55
Yep, CoreText was missing
Weston
@ronnyek
Nov 15 2015 22:27
wtf is nixos
Nikita Tsukanov
@kekekeks
Nov 15 2015 22:28
yet another weird linux distro
This message was deleted