SharpVG
SharpVG copied to clipboard
SharpVG use with latest Fable 4 version
I'm getting run time errors with the SharpVG library while using Fable 4.1.4. Is this library going to stay up to date with ongoing fable releases? I saw that one of the examples was removed due to issues with increasing Fable versions breaking this library so it has been giving trouble so far. I've gotten the following while doing just the basic example through fable
.\src\App.fs(1,1): error EXCEPTION: Cannot find inline member: SharpVG.ElementModule_createWithStyle
at Fable.Transforms.State.CompilerImpl.Fable.Compiler.GetInlineExpr(String memberUniqueName) in C:\Users\alfon\repos\fable\src\Fable.Transforms\State.fs:line 268
at Fable.Transforms.FSharp2Fable.Util.inlineExpr(IFableCompiler com, Context ctx, FSharpOption`1 r, Type t, FSharpOption`1 callee, CallInfo info, String membUniqueName) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.Util.fs:line 1964
at Fable.Transforms.FSharp2Fable.Util.|Inlined|_|(IFableCompiler com, Context ctx, FSharpOption`1 r, Type t, FSharpOption`1 callee, CallInfo info, FSharpMemberOrFunctionOrValue memb) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.Util.fs:line 2022
at Fable.Transforms.FSharp2Fable.Util.makeCallWithArgInfo(IFableCompiler com, Context ctx, FSharpOption`1 r, Type typ, FSharpOption`1 callee, FSharpMemberOrFunctionOrValue memb, MemberRef membRef, CallInfo callInfo) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.Util.fs:line 2071
at Fable.Transforms.FSharp2Fable.Util.makeCallFrom(IFableCompiler com, Context ctx, FSharpOption`1 r, Type typ, FSharpList`1 genArgs, FSharpOption`1 callee, FSharpList`1 args, FSharpMemberOrFunctionOrValue memb) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.Util.fs:line 2130
at Fable.Transforms.FSharp2Fable.Compiler.transformExpr@781-41.Invoke(Context ctx) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.fs:line 781
at MonadicTrampoline.run[a](Thunk`1 _arg1) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 8
at [email protected](Unit unitVar0) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 16
at MonadicTrampoline.run[a](Thunk`1 _arg1) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 8
at [email protected](Unit unitVar0) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 16
at MonadicTrampoline.run[a](Thunk`1 _arg1) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 8
at [email protected](Unit unitVar0) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 16
at MonadicTrampoline.run[a](Thunk`1 _arg1) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 8
at [email protected](Unit unitVar0) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 16
at MonadicTrampoline.run[a](Thunk`1 _arg1) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 8
at [email protected](Unit unitVar0) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 16
at MonadicTrampoline.run[a](Thunk`1 _arg1) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 8
at [email protected](Unit unitVar0) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 16
at MonadicTrampoline.run[a](Thunk`1 _arg1) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 8
at [email protected](Unit unitVar0) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 16
at MonadicTrampoline.run[a](Thunk`1 _arg1) in C:\Users\alfon\repos\fable\src\Fable.Transforms\MonadicTrampoline.fs:line 8
at Fable.Transforms.FSharp2Fable.Compiler.transformMemberValue(IFableCompiler com, Context ctx, String name, FSharpMemberOrFunctionOrValue memb, FSharpExpr value) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.fs:line 1237
at Fable.Transforms.FSharp2Fable.Compiler.transformMemberFunctionOrValue(IFableCompiler com, Context ctx, FSharpMemberOrFunctionOrValue memb, FSharpList`1 args, FSharpExpr body) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.fs:line 1379
at Fable.Transforms.FSharp2Fable.Compiler.transformMemberDecl(FableCompiler com, Context ctx, FSharpMemberOrFunctionOrValue memb, FSharpList`1 args, FSharpExpr body) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.fs:line 1459
at Fable.Transforms.FSharp2Fable.Compiler.transformDeclarations@1515.Invoke(FSharpImplementationFileDeclaration fsDecl) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.fs:line 1551
at Microsoft.FSharp.Primitives.Basics.List.collectToFreshConsTail[T,TResult](FSharpFunc`2 f, FSharpList`1 list, FSharpList`1 cons) in /home/dev/Projects/fsharp/src/FSharp.Core/local.fs:line 434
at Microsoft.FSharp.Primitives.Basics.List.collect[T,TResult](FSharpFunc`2 f, FSharpList`1 list) in /home/dev/Projects/fsharp/src/FSharp.Core/local.fs:line 442
at Fable.Transforms.FSharp2Fable.Compiler.transformFile(Compiler com) in C:\Users\alfon\repos\fable\src\Fable.Transforms\FSharp2Fable.fs:line 1996
at [email protected](Unit unitVar) in C:\Users\alfon\repos\fable\src\Fable.Cli\Pipeline.fs:line 123
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in /home/dev/Projects/fsharp/src/FSharp.Core/async.fs:line 510