jcupitt / vipsdisp

Tiny libvips / gtk+4 image viewer
MIT License
143 stars 11 forks source link

Compile error in Centos 8 #3

Closed vkkindia closed 3 years ago

vkkindia commented 3 years ago
gcc  -g -O2   -o vd disp-gresources.o settings.o disp.o gtkutil.o tslider.o infobar.o imageview.o imagepresent.o conversion.o conversionview.o imagedisplay.o -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/orc-0.4  -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lvips -lgobject-2.0 -lglib-2.0  -lm 
conversion.o: In function `conversion_set_source':
/vips_imageviewer/vipsdisp/conversion.c:371: undefined reference to `vips_image_get_n_subifds'
conversion.o: In function `conversion_set_file':
/vips_imageviewer/vipsdisp/conversion.c:550: undefined reference to `vips_source_g_input_stream_new'
collect2: error: ld returned 1 exit status
make: *** [Makefile:396: vd] Error 1

The autogen.sh was run and got this error, I am having vips version vips-8.11.0-Tue Apr 27 16:00:48 UTC 2021 which package I might have missed.

vkkindia commented 3 years ago

got it, i was having old pkgconfig vips.pc .. moved the latest one It got compiled now. Thanks