I tried to compile GTK source [message #143294] |
Thu, 14 April 2005 13:33 |
Eclipse User |
|
|
|
Originally posted by: high1234.nate.com
I did following line
=> `pkg-config --cflags --libs gtk+-2.0` `pkg-config gtkmm-2.4 --libs
=> --cflags`
to Projects->Properties->Tool Settings->Miscellanous->other flags
plus adding the (MY) include paths
/usr/include/gtkmm2-4
/usr/include/gtk
to Projects->Properties->Tool Settings->Directories.
and I can compile gtk source
######## console message
**** Full rebuild of configuration Debug for project gtkhello ****
make -k clean all
rm -rf base.o base.d gtkhello
Building file: ../base.c
gcc -I/opt/gtk-2.4.14/include/gtk-2.0 -O0 -g3 -Wall -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wl,--export-dynamic -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -obase.o ../base.c
/usr/lib/gcc/i386-Haansoft-linux/3.4.1/../../../crt1.o(.text +0x18): In
function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [base.o] 오류 1
make: 오류로 인해 타겟
`all'를 다시 만들지
못했습니다 .
Build complete for project gtkhello
|
|
|
Powered by
FUDForum. Page generated in 0.02705 seconds