OpenScreen causes Error in Linux OpenSuse Leap 15.3

Just starting out? Need help? Post your questions and find answers here.
swhite
Enthusiast
Enthusiast
Posts: 783
Joined: Thu May 21, 2009 6:56 pm

Re: OpenScreen causes Error in Linux OpenSuse Leap 15.3

Post 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

Simon White
dCipher Computing
Post Reply