I did a search here but could not see anything, forgive me if this is a duplicate. I've never had this problem before and can not find on here what is need to fix it.
Every example I run ends up with gtk errors, see below:
Requester.a(MessageRequester.o): In function `PB_MessageRequester2':
MessageRequester.c:(.text+0x3e): undefined reference to `gtk_dialog_get_type'
MessageRequester.c:(.text+0x72): undefined reference to `gtk_message_dialog_new'
MessageRequester.c:(.text+0x80): undefined reference to `g_type_check_instance_cast'
MessageRequester.c:(.text+0x94): undefined reference to `gtk_dialog_add_button'
MessageRequester.c:(.text+0xb2): undefined reference to `gtk_message_dialog_new'
MessageRequester.c:(.text+0xba): undefined reference to `gtk_window_get_type'
...
collect2: error: ld returned 1 exit status
aaron@aaron-System-Product-Name:~$ purebasic
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
gtk errors on linux mint 20
Re: gtk errors on linux mint 20
Have you installed all required developer packages?
Link: viewtopic.php?f=15&t=74875
I have installed Mint Linux 20 (Mate) for testing.
No error (except that you cannot use the webgadget)
Link: viewtopic.php?f=15&t=74875
I have installed Mint Linux 20 (Mate) for testing.
No error (except that you cannot use the webgadget)
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
-
- Enthusiast
- Posts: 269
- Joined: Thu Dec 17, 2009 12:00 pm
- Location: Llangadog, Wales, UK
- Contact:
Re: gtk errors on linux mint 20
mk-soft was faster with the reply
I have a recent fresh install of Mint 20 x64 Cinnamon as a testing system (MX is my main). PureBasic 5.72 all works fine - gtk2, gtk3 and qt subsystems.
Required packages installed exactly as in mk-soft's post linked above. I've used this 'Simple install' guide for several installs and with different distros. If any forum admins are reading this - IMHO I think it should be made a "sticky".
I have a recent fresh install of Mint 20 x64 Cinnamon as a testing system (MX is my main). PureBasic 5.72 all works fine - gtk2, gtk3 and qt subsystems.
Required packages installed exactly as in mk-soft's post linked above. I've used this 'Simple install' guide for several installs and with different distros. If any forum admins are reading this - IMHO I think it should be made a "sticky".
Re: gtk errors on linux mint 20
At the same, i use Mate 20, without problems.
He has not the needed packets installed !
In the 5.72 but there are some heavy bugs.
He has not the needed packets installed !
In the 5.72 but there are some heavy bugs.
地球上の平和
Re: gtk errors on linux mint 20
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: gtk errors on linux mint 20
I just stuffed the 5.72 in the garbage can.
After several hours of troubleshooting and error localization is enough for me.
Simply no longer in the mood.
After several hours of troubleshooting and error localization is enough for me.
Simply no longer in the mood.
地球上の平和
Re: gtk errors on linux mint 20
Cheers that fixed it. Strange I updated from 19.4 and it must have trashed those libs.mk-soft wrote:And so that the IDE does not crash, replace this one.
Link: viewtopic.php?f=23&t=75367
Thank You