TheFuseLab / VL.Fuse

A library for visually programming on the GPU, built to enable rapid workflows and modular approaches to accelerated graphics, logic and computation.
https://www.thefuselab.io
MIT License
255 stars 19 forks source link

Fuse examples don't work #103

Open iperov opened 11 months ago

iperov commented 11 months ago

uninstalled vvvv gamma 5.2 deleted all cache files, appdata/local files installed vvvv gamma 5.2 nuget install VL.Fuse

open any example result is error


        EmitException: "C:\Users\Professional\AppData\Local\vvvv\gamma\nugets\VL.Fuse.0.2.4\vl\Fuse.Common.Compute.vl.cs(3811,326): error CS8377: The type 'T' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter 'T' in the generic type or method 'Buffer<T>'"
            StackTrace:
                VL.Lang.Packages.PackageCompiler+<CompileCoreAsync>d__31 { private virtual void MoveNext() { ... } } 
                System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter`1 { public TResult GetResult() { ... } } 
                VL.Lang.Packages.PackageCompiler+<CompileAsync>d__29 { private virtual void MoveNext() { ... } } 
                System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) { ... } } 
                VL.Lang.Packages.PackageCompiler+<CompilePackagesAsync>d__28 { private virtual void MoveNext() { ... } } 
                System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) { ... } } 
                VL.Model.Internal.Solution+<RestoreAsync>d__13 { private virtual void MoveNext() { ... } } 
                System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter`1 { public TResult GetResult() { ... } } 
                VL.Model.Internal.Solution+<LoadDocumentAsync>d__10 { private virtual void MoveNext() { ... } } 
                System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter`1 { public TResult GetResult() { ... } } 
                VL.Model.Solution+<LoadDocumentAsync>d__53 { private virtual void MoveNext() { ... } } 
                System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { ... } } 
                System.Runtime.CompilerServices.TaskAwaiter { private static void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) { ... } } 
                VL.HDE.PatchEditor.NavigationMenuProvider+<DoOpenDocumentsAsync>d__50 { private virtual void MoveNext() { ... } } 

AggregateException: "One or more errors occurred. (C:\Users\Professional\AppData\Local\vvvv\gamma\nugets\VL.Fuse.0.2.4\vl\Fuse.Common.Compute.vl.cs(3811,326): error CS8377: The type 'T' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter 'T' in the generic type or method 'Buffer<T>')"
    InnerExceptions: "1"
    StackTrace:
        VL.HDE.PatchEditor.NavigationMenuProvider+<DoOpenDocumentsAsync>d__50 { private virtual void MoveNext() { ... } } 
        System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { ... } } 
        System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { ... } } 
        System.Runtime.CompilerServices.TaskAwaiter { private static void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task) { ... } } 
        System.Runtime.CompilerServices.TaskAwaiter { public void GetResult() { ... } } 
        VL.Model.VLSession+<>c__DisplayClass184_0+<<RunAndForget>b__0>d { private virtual void MoveNext() { ... } } 
sebescudie commented 11 months ago

Hey,

Current stable won't work with gamma 5.X.

Try nuget install VL.Fuse -pre instead.