PBv6.30b3 RPi Trixie - WebGadet Linker error

Raspberry PI specific forum
PeDe
Enthusiast
Enthusiast
Posts: 300
Joined: Sun Nov 26, 2017 3:13 pm

PBv6.30b3 RPi Trixie - WebGadet Linker error

Post by PeDe »

With the current Raspberry Pi OS Debian Trixie, the sample code from the help section no longer works. There is a linker error.

Code: Select all

  If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    WebGadget(0, 10, 10, 580, 280, "https://www.purebasic.com")
    Repeat
    Until WaitWindowEvent() = #PB_Event_CloseWindow
  EndIf
I assume the error occurs because the libwebkit2gtk-4.0-dev package is no longer available. Installing libwebkit2gtk-4.1-dev results in a linker error.
Here is the output from apt:

Code: Select all

RPi Trixie:
pedre@p400:~ $ apt list libwebkit2gtk*
libwebkit2gtk-4.0-doc/stable,stable,stable-security,stable-security 2.48.5-1~deb13u1 all
libwebkit2gtk-4.1-0/stable,stable-security,now 2.48.5-1~deb13u1 arm64  [Installiert,automatisch]
libwebkit2gtk-4.1-0/stable,stable-security 2.48.5-1~deb13u1 armhf
libwebkit2gtk-4.1-dev/stable,stable-security,now 2.48.5-1~deb13u1 arm64  [installiert]
libwebkit2gtk-4.1-dev/stable,stable-security 2.48.5-1~deb13u1 armhf
Peter
User avatar
mk-soft
Always Here
Always Here
Posts: 6285
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PBv6.30b3 RPi Trixie - WebGadet Linker error

Post by mk-soft »

We will now need two versions for Linux Arm as with Linux Ubuntu.
One for Debian 12 and one for Debian 13

Maybe move to bug report ...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply