Skip to content

Minor issue (and solution) with GTK dependency #1

@kylefmohr

Description

@kylefmohr

Hi! Just wanted to let you know, when I tried running the .exe from the releases, I encountered this error:

(base) PS C:\Users\Kyle\Downloads\USBMonitor-win-x64\win-x64> .\USBMonitor.exe
Unhandled exception. System.TypeInitializationException: The type initializer for 'Gtk.Application' threw an exception.
 ---> System.DllNotFoundException: Gtk: libgtk-3-0.dll, libgtk-3.so.0, libgtk-3.0.dylib, gtk-3.dll
   at GLibrary.Load(Library library)
   at Gtk.Application..cctor()
   --- End of inner exception stack trace ---
   at Gtk.Application.Init()
   at Program.Main(String[] args) in /Users/vikingtoolsworkshop/Desktop/Dysk/GITHUB/USBMonitor/Program.cs:line 18

The solution turned out to be that I needed to install the GTK 64-bit runtime from this link

I'm not sure if there's a better way to include that dependency with the program, but I just thought I'd let you know. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions