MonoBrick Remote on Mac

HomeForumsMonoBrick Communication LibraryMonoBrick Remote on Mac

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5172
    Author Image
    Michal Grabinski
    Participant

    Hi!
    I am trying to run MonoBrick Remote app on MAC but it says Program might be damaged or incomplete ant icone has a white cross inside a circle on it. I’ve installed Mono runtime but I think something here might be wrong – example codes complie but the one using GTK# doesn’t run

    When I run MonoBrick Remote1.4.exe extracted from app using terminal ….

    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Widget —> System.DllNotFoundException: gtksharpglue-2
    at (wrapper managed-to-native) Gtk.Widget:gtksharp_gtk_widget_get_requisition_offset ()
    at Gtk.Widget..cctor () [0x00000] in <filename unknown>:0
    — End of inner exception stack trace —
    at Gtk.Misc..ctor (IntPtr raw) [0x00000] in <filename unknown>:0
    at Gtk.Image..ctor (System.String stock_id, IconSize size) [0x00000] in <filename unknown>:0
    at MainWindow..ctor () [0x00000] in <filename unknown>:0
    at PCRemote.MainClass.Main2 (System.String[] args) [0x00000] in <filename unknown>:0
    at PCRemote.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0

    Does that mean that there is problem with GTK# ??? As I understand it should be installed by Mono Runtime… but if I am wrong please show me where to download it for MAC

    Thank you!

    #5190
    Author Image
    Anders Søborg
    Keymaster

    On the mac download the DMG file…. is this what you have done?

    #5193
    Author Image
    Michal Grabinski
    Participant

    Yes, that is what I do, but just after installing app its ico looks like on the picture suoplied and when I try to run it, it says: Program might be damaged or incomplete

    Attachments:
    You must be logged in to view attached files.
    #5198
    Author Image
    Michal Grabinski
    Participant

    When i try tu run sample hello Mono program compiled with gtk

    mono helloGTK.exe

    Unhandled Exception:
    System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Container —> System.DllNotFoundException: gtksharpglue-2
    at (wrapper managed-to-native) Gtk.Container:gtksharp_gtk_container_get_focus_child_offset ()
    at Gtk.Container..cctor () [0x00000] in <filename unknown>:0
    — End of inner exception stack trace —
    at Gtk.Bin..ctor (IntPtr raw) [0x00000] in <filename unknown>:0
    at Gtk.Window..ctor (WindowType type) [0x00000] in <filename unknown>:0
    at Gtk.Window..ctor (System.String title) [0x00000] in <filename unknown>:0
    at Hello.Main () [0x00000] in <filename unknown>:0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Container —> System.DllNotFoundException: gtksharpglue-2
    at (wrapper managed-to-native) Gtk.Container:gtksharp_gtk_container_get_focus_child_offset ()
    at Gtk.Container..cctor () [0x00000] in <filename unknown>:0
    — End of inner exception stack trace —
    at Gtk.Bin..ctor (IntPtr raw) [0x00000] in <filename unknown>:0
    at Gtk.Window..ctor (WindowType type) [0x00000] in <filename unknown>:0
    at Gtk.Window..ctor (System.String title) [0x00000] in <filename unknown>:0
    at Hello.Main () [0x00000] in <filename unknown>:0

    So I think it is something wrong with GTK but I don’t know how to fix this

    #5200
    Author Image
    Anders Søborg
    Keymaster

    What version of GTK# are you using?

    /Anders

    #5202
    Author Image
    Michal Grabinski
    Participant

    The one supplied with the latest Mono release (3.10.0)

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Posted in

Make a donation