-
how to compile gtk+2 at knoppix version 3.3
hello there,
i am new to knoppix...i use fedora before...for some educational purpose i have to use knoppix version 3.3.....i write a gui program with gtk+ at fedora 7 .....no problem to compile and execute ....but when i try to compile same program at knoppix there are some error came out....i guess there is a version mismatch....so currently the knoppix version i am using does not support gtk+2.0......how i can i now update gtk+ version from 1.2 to 2.0 in knoppix.
example of error:
============
root@box:~/Desktop/gtk# gcc base.c -o base `pkg-config --cflags --libs gtk+`
root@box:~/Desktop/gtk# ls
base base.c
root@box:~/Desktop/gtk# gcc base.c -o base2 `pkg-config --cflags --libs gtk+-2.0`
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
base.c:1:21: gtk/gtk.h: No such file or directory
base.c: In function `main':
base.c:5: error: `GtkWidget' undeclared (first use in this function)
base.c:5: error: (Each undeclared identifier is reported only once
base.c:5: error: for each function it appears in.)
base.c:5: error: `window' undeclared (first use in this function)
base.c:9: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
root@box:~/Desktop/gtk#
Similar Threads
-
By saman0suke in forum MS Windows & New to Linux
Replies: 1
Last Post: 10-11-2009, 08:25 AM
-
By rex64 in forum General Support
Replies: 4
Last Post: 04-24-2004, 10:32 PM
-
By Nigel_Tufnel in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 10-20-2003, 01:09 PM
-
By grigro in forum General Support
Replies: 2
Last Post: 10-14-2003, 12:07 AM
-
By thincritter in forum General Support
Replies: 4
Last Post: 07-01-2003, 03:10 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105
$19.95

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box
$23.99

Netgear PROSAFE 8-Port 10 Gigabit/Multi-Gigabit Ethernet Switch XS508M
$229.99

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC
$49.05

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99