Skip to content
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

Lib is broken in gamma >=5.2 due to lacking update of hidlibrary #1

Closed
mhusinsky opened this issue Sep 29, 2023 · 2 comments
Closed

Comments

@mhusinsky
Copy link

just for documentation.
nuget version 0.3.1 does not work with gamma 5.2, as the hidlibrary nuget it is based on has not been updated yet to support .net6, see here. however, in the code a fix exists already, it's just not in the nuget yet :(

in gamma 5.2, running the help patch of this lib throws this exception:

http://vvvv.org

PlatformNotSupportedException: "Operation is not supported on this platform."
    StackTrace:
        System.Action { public virtual System.IAsyncResult BeginInvoke(System.AsyncCallback callback, object object) { ... } } 
        HidLibrary.HidDeviceEventMonitor { public void Init() { ... } }  in "HidDeviceEventMonitor.cs" Ln 25
        _VL_Devices_SpaceMouseHID_.Devices.HID.SpaceMouse._Operations_+<>c__DisplayClass0_0 { internal HidLibrary.HidDevice <GetDevice>b__0() { ... } } 
        VL.Lib.Basics.Resources.ResourceProvider+<>c__DisplayClass1_0`1 { internal VL.Lib.Basics.Resources.IResourceHandle<> <New>b__0() { ... } } 
        VL.Lib.Reactive.ObservableNodes+<>c__DisplayClass12_0`2 { internal VL.Lib.Basics.Resources.IResourceHandle<> <Using>b__0() { ... } } 
        System.Reactive.Linq.ObservableImpl.Using`2+_ { public void Run(System.Reactive.Linq.ObservableImpl.Using<, > parent) { ... } }  in "Using.cs" Ln 40
        System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { ... } } 
        VL.Lang.Platforms.RuntimeHost { private void SharedStep() { ... } } 

@bj-rn
Copy link
Owner

bj-rn commented Sep 29, 2023

You can use the SpaceMusic fork for now. Tebjan added the HidLibrary dll for exactly that reason.

https://github.com/SpaceMusicZH/VL.Devices.SpaceMouseHID/tree/master

@bj-rn
Copy link
Owner

bj-rn commented Feb 5, 2024

This should be fixed now. It is using an unofficial nuget package now that supports newer frameworks.

@bj-rn bj-rn closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants