gtk errors on linux mint 20
Posted: Sun Aug 09, 2020 10:15 pm
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
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