You are here

Compile Error in Ubuntu 8.04

Hello -

I guess the warnings are not important, but I get errors related to 'GFileInfo' shown below. I did update the dev packages indicated in the readme, apparently successfully. Another package missing on my machine? Thanks for any help.

make
gcc -o ./bin/bimp -Wall -O2 -Wno-unused-variable -Wno-pointer-sign -Wno-parentheses src/*.c src/manipulation-gui/*.c -DPNG_NO_MMX_CODE -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib -lpcre -DGIMP_DISABLE_DEPRECATED
src/bimp-gui.c: In function ‘add_input_folder’:
src/bimp-gui.c:297: error: ‘GFileInfo’ undeclared (first use in this function)
src/bimp-gui.c:297: error: (Each undeclared identifier is reported only once
src/bimp-gui.c:297: error: for each function it appears in.)
src/bimp-gui.c:297: error: ‘file_info’ undeclared (first use in this function)
src/bimp-gui.c:297: warning: implicit declaration of function ‘g_file_query_info’
src/bimp-gui.c:297: warning: implicit declaration of function ‘g_file_new_for_path’
src/bimp-gui.c:298: warning: implicit declaration of function ‘g_file_info_get_content_type’
src/bimp-gui.c:298: warning: assignment makes pointer from integer without a cast
src/bimp-gui.c:299: warning: implicit declaration of function ‘g_content_type_get_mime_type’
src/bimp-gui.c:299: warning: assignment makes pointer from integer without a cast
src/bimp-gui.c: In function ‘open_popup_menu’:
src/bimp-gui.c:579: warning: implicit declaration of function ‘gtk_menu_item_set_label’
src/bimp-gui.c: In function ‘add_manipulation_from_id’:
src/bimp-gui.c:597: warning: implicit declaration of function ‘gtk_adjustment_get_upper’
src/bimp-gui.c: In function ‘bimp_set_busy’:
src/bimp-gui.c:800: warning: implicit declaration of function ‘gtk_dialog_get_action_area’
src/bimp-gui.c:800: warning: initialization makes pointer from integer without a cast
src/bimp-manipulations-gui.c: In function ‘bimp_open_editwindow’:
src/bimp-manipulations-gui.c:53: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:58: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:63: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:68: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:73: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:78: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:83: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:88: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:93: warning: assignment from incompatible pointer type
src/bimp-operate.c: In function ‘apply_resize’:
src/bimp-operate.c:262: warning: implicit declaration of function ‘round’
src/bimp-operate.c:262: warning: incompatible implicit declaration of built-in function ‘round’
src/bimp-operate.c:272: warning: incompatible implicit declaration of built-in function ‘round’
src/bimp-operate.c:283: warning: incompatible implicit declaration of built-in function ‘round’
src/bimp-operate.c:299: warning: implicit declaration of function ‘gimp_image_scale_full’
src/bimp-operate.c: In function ‘apply_crop’:
src/bimp-operate.c:346: warning: incompatible implicit declaration of built-in function ‘round’
src/bimp-operate.c:352: warning: incompatible implicit declaration of built-in function ‘round’
make: *** [make] Error 1

No answers yet

Subscribe to Comments for "Compile Error in Ubuntu 8.04"