Page 2 of 2

Re: OpenScreen causes Error in Linux OpenSuse Leap 15.3

Posted: Wed Jan 05, 2022 7:59 pm
by swhite
Hi

I added the libwebkitgtk3-devel and then ran the example from the documentation which I modified slightly so I knew exactly which function caused the IMA. PB reports an IMA on the 3rd line (i.e. OpenScreen(800,600,16,"")). I access my Linux box via RDP from Windows so I wonder if that is the cause. I have never had any problems in all the years I have using RDP but maybe this is the first.

Simon

Code: Select all

If Not InitSprite()
ElseIf Not InitKeyboard()
ElseIf OpenScreen(800,600,16,"")
    Repeat
      FlipBuffers()

      If StartDrawing(ScreenOutput())
        DrawText(0, 0, "Press ESC to quit")
        StopDrawing()
      EndIf

      ExamineKeyboard()
      If KeyboardPushed(#PB_Key_Escape)   ; press Esc to quit
        End
      EndIf
    ForEver
  EndIf