jaypeche / picoscope-overlay

PicoScope v6+ Gentoo Linux overlay
https://www.picotech.com/downloads/linux
2 stars 1 forks source link

PicoScope.GTK.exe expects gtk-sharp-2.12.0.0 #2

Open NAKlama opened 3 years ago

NAKlama commented 3 years ago

Since the script in 'bin' didn't work, I manually set LD_LIBRARY_PATH, changed to the lib directory and executed > mono PicoScope.GTK.exe

I get the following error: Unhandled Exception:

System.TypeLoadException: Could not load type of field 'Pico.:' (0) due to: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'Pico.:' (0) due to: Could not load file or assembly 'gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.

NAKlama commented 3 years ago

I got things to run, using dev-lang/picomono, and needed to install media-libs/libpng-compat:1.2. However I needed to edit the file /opt/picoscope/bin/picoscope for things to work properly. You may want to update dependencies and the main picoscope script to reflect this, so the software works without needing to fiddle with it, to get it working. picoscope.zip