Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using GTK+ 2.x and GTK+ 3 in the same process is not supported #24

Open
pat1 opened this issue Jul 11, 2022 · 11 comments
Open

Using GTK+ 2.x and GTK+ 3 in the same process is not supported #24

pat1 opened this issue Jul 11, 2022 · 11 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@pat1
Copy link

pat1 commented Jul 11, 2022

config.log

src/amide 

(amide:178347): Gtk-ERROR **: 10:30:43.281: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
@pat1
Copy link
Author

pat1 commented Jul 11, 2022

if I remove gtk3:

dnf remove gtk3-devel
./configure
 make
make  all-recursive
make[1]: ingresso nella directory «/home/pat1/git/amide/amide-current»
Making all in pixmaps
make[2]: ingresso nella directory «/home/pat1/git/amide/amide-current/pixmaps»
make  all-am
make[3]: ingresso nella directory «/home/pat1/git/amide/amide-current/pixmaps»
make[3]: Nessuna operazione da eseguire per «all-am».
make[3]: uscita dalla directory «/home/pat1/git/amide/amide-current/pixmaps»
make[2]: uscita dalla directory «/home/pat1/git/amide/amide-current/pixmaps»
Making all in win32
make[2]: ingresso nella directory «/home/pat1/git/amide/amide-current/win32»
make  all-am
make[3]: ingresso nella directory «/home/pat1/git/amide/amide-current/win32»
make[3]: Nessuna operazione da eseguire per «all-am».
make[3]: uscita dalla directory «/home/pat1/git/amide/amide-current/win32»
make[2]: uscita dalla directory «/home/pat1/git/amide/amide-current/win32»
Making all in macosx
make[2]: ingresso nella directory «/home/pat1/git/amide/amide-current/macosx»
make[2]: Nessuna operazione da eseguire per «all».
make[2]: uscita dalla directory «/home/pat1/git/amide/amide-current/macosx»
Making all in src
make[2]: ingresso nella directory «/home/pat1/git/amide/amide-current/src»
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -O2 -I/usr/include  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -pthread  -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread  -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread  -ggdb -Wall  -I/usr/local/dicom/include -I/usr/local/include -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/ffmpeg    -g -O2   -o amide amitk_marshal.o amitk_type_builtins.o  amitk_raw_data_UBYTE.o amitk_raw_data_SBYTE.o amitk_raw_data_USHORT.o amitk_raw_data_SSHORT.o amitk_raw_data_UINT.o amitk_raw_data_SINT.o amitk_raw_data_FLOAT.o amitk_raw_data_DOUBLE.o  amitk_data_set_UBYTE_0D_SCALING.o amitk_data_set_UBYTE_1D_SCALING.o amitk_data_set_UBYTE_2D_SCALING.o amitk_data_set_SBYTE_0D_SCALING.o amitk_data_set_SBYTE_1D_SCALING.o amitk_data_set_SBYTE_2D_SCALING.o amitk_data_set_USHORT_0D_SCALING.o amitk_data_set_USHORT_1D_SCALING.o amitk_data_set_USHORT_2D_SCALING.o amitk_data_set_SSHORT_0D_SCALING.o amitk_data_set_SSHORT_1D_SCALING.o amitk_data_set_SSHORT_2D_SCALING.o amitk_data_set_UINT_0D_SCALING.o amitk_data_set_UINT_1D_SCALING.o amitk_data_set_UINT_2D_SCALING.o amitk_data_set_SINT_0D_SCALING.o amitk_data_set_SINT_1D_SCALING.o amitk_data_set_SINT_2D_SCALING.o amitk_data_set_FLOAT_0D_SCALING.o amitk_data_set_FLOAT_1D_SCALING.o amitk_data_set_FLOAT_2D_SCALING.o amitk_data_set_DOUBLE_0D_SCALING.o amitk_data_set_DOUBLE_1D_SCALING.o amitk_data_set_DOUBLE_2D_SCALING.o amitk_data_set_UBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_USHORT_0D_SCALING_INTERCEPT.o amitk_data_set_USHORT_1D_SCALING_INTERCEPT.o amitk_data_set_USHORT_2D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_0D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_1D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_2D_SCALING_INTERCEPT.o amitk_data_set_UINT_0D_SCALING_INTERCEPT.o amitk_data_set_UINT_1D_SCALING_INTERCEPT.o amitk_data_set_UINT_2D_SCALING_INTERCEPT.o amitk_data_set_SINT_0D_SCALING_INTERCEPT.o amitk_data_set_SINT_1D_SCALING_INTERCEPT.o amitk_data_set_SINT_2D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_0D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_1D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_2D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_0D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_1D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_2D_SCALING_INTERCEPT.o  amitk_roi_ELLIPSOID.o amitk_roi_CYLINDER.o amitk_roi_BOX.o amitk_roi_ISOCONTOUR_2D.o amitk_roi_ISOCONTOUR_3D.o amitk_roi_FREEHAND_2D.o amitk_roi_FREEHAND_3D.o  amide.o amide_gconf.o amide_gnome.o amitk_common.o amitk_canvas.o amitk_canvas_object.o amitk_color_table.o amitk_color_table_menu.o amitk_data_set.o amitk_dial.o amitk_fiducial_mark.o amitk_filter.o amitk_line_profile.o amitk_object.o amitk_object_dialog.o amitk_point.o amitk_preferences.o amitk_progress_dialog.o amitk_raw_data.o amitk_roi.o amitk_space.o amitk_space_edit.o amitk_study.o amitk_threshold.o amitk_tree_view.o amitk_volume.o amitk_window_edit.o alignment_mutual_information.o alignment_procrustes.o analysis.o dcmtk_interface.o fads.o image.o legacy.o libecat_interface.o libmdc_interface.o mpeg_encode.o pixmaps.o raw_data_import.o render.o tb_alignment.o tb_crop.o tb_distance.o tb_export_data_set.o tb_fads.o tb_filter.o tb_fly_through.o tb_math.o tb_profile.o tb_roi_analysis.o ui_common.o ui_gate_dialog.o ui_preferences_dialog.o ui_render.o ui_render_dialog.o ui_render_movie.o ui_series.o ui_study.o ui_study_cb.o ui_time_dialog.o vistaio_interface.o xml.o -lgsl -lgslcblas -lm   -lvolpack -lxml2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype  -lgconf-2 -lglib-2.0  -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -pthread -lglib-2.0 -lgobject-2.0 -lglib-2.0  -L/usr/lib64 -lmdc -lm -lglib-2.0 -lz -lpng16 -lz -lavcodec -lavutil  -L/usr/local/dicom/lib -L/usr/lib64/dcmtk -L/usr/lib/dcmtk -ltiff -lpng -ldcmimage -ldcmimgle -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmdata -loflog -lofstd -lz -lpthread    
libtool: link: g++ -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -pthread -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -ggdb -Wall -I/usr/local/dicom/include -I/usr/local/include -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/ffmpeg -g -O2 -o amide amitk_marshal.o amitk_type_builtins.o amitk_raw_data_UBYTE.o amitk_raw_data_SBYTE.o amitk_raw_data_USHORT.o amitk_raw_data_SSHORT.o amitk_raw_data_UINT.o amitk_raw_data_SINT.o amitk_raw_data_FLOAT.o amitk_raw_data_DOUBLE.o amitk_data_set_UBYTE_0D_SCALING.o amitk_data_set_UBYTE_1D_SCALING.o amitk_data_set_UBYTE_2D_SCALING.o amitk_data_set_SBYTE_0D_SCALING.o amitk_data_set_SBYTE_1D_SCALING.o amitk_data_set_SBYTE_2D_SCALING.o amitk_data_set_USHORT_0D_SCALING.o amitk_data_set_USHORT_1D_SCALING.o amitk_data_set_USHORT_2D_SCALING.o amitk_data_set_SSHORT_0D_SCALING.o amitk_data_set_SSHORT_1D_SCALING.o amitk_data_set_SSHORT_2D_SCALING.o amitk_data_set_UINT_0D_SCALING.o amitk_data_set_UINT_1D_SCALING.o amitk_data_set_UINT_2D_SCALING.o amitk_data_set_SINT_0D_SCALING.o amitk_data_set_SINT_1D_SCALING.o amitk_data_set_SINT_2D_SCALING.o amitk_data_set_FLOAT_0D_SCALING.o amitk_data_set_FLOAT_1D_SCALING.o amitk_data_set_FLOAT_2D_SCALING.o amitk_data_set_DOUBLE_0D_SCALING.o amitk_data_set_DOUBLE_1D_SCALING.o amitk_data_set_DOUBLE_2D_SCALING.o amitk_data_set_UBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_USHORT_0D_SCALING_INTERCEPT.o amitk_data_set_USHORT_1D_SCALING_INTERCEPT.o amitk_data_set_USHORT_2D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_0D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_1D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_2D_SCALING_INTERCEPT.o amitk_data_set_UINT_0D_SCALING_INTERCEPT.o amitk_data_set_UINT_1D_SCALING_INTERCEPT.o amitk_data_set_UINT_2D_SCALING_INTERCEPT.o amitk_data_set_SINT_0D_SCALING_INTERCEPT.o amitk_data_set_SINT_1D_SCALING_INTERCEPT.o amitk_data_set_SINT_2D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_0D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_1D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_2D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_0D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_1D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_2D_SCALING_INTERCEPT.o amitk_roi_ELLIPSOID.o amitk_roi_CYLINDER.o amitk_roi_BOX.o amitk_roi_ISOCONTOUR_2D.o amitk_roi_ISOCONTOUR_3D.o amitk_roi_FREEHAND_2D.o amitk_roi_FREEHAND_3D.o amide.o amide_gconf.o amide_gnome.o amitk_common.o amitk_canvas.o amitk_canvas_object.o amitk_color_table.o amitk_color_table_menu.o amitk_data_set.o amitk_dial.o amitk_fiducial_mark.o amitk_filter.o amitk_line_profile.o amitk_object.o amitk_object_dialog.o amitk_point.o amitk_preferences.o amitk_progress_dialog.o amitk_raw_data.o amitk_roi.o amitk_space.o amitk_space_edit.o amitk_study.o amitk_threshold.o amitk_tree_view.o amitk_volume.o amitk_window_edit.o alignment_mutual_information.o alignment_procrustes.o analysis.o dcmtk_interface.o fads.o image.o legacy.o libecat_interface.o libmdc_interface.o mpeg_encode.o pixmaps.o raw_data_import.o render.o tb_alignment.o tb_crop.o tb_distance.o tb_export_data_set.o tb_fads.o tb_filter.o tb_fly_through.o tb_math.o tb_profile.o tb_roi_analysis.o ui_common.o ui_gate_dialog.o ui_preferences_dialog.o ui_render.o ui_render_dialog.o ui_render_movie.o ui_series.o ui_study.o ui_study_cb.o ui_time_dialog.o vistaio_interface.o xml.o -pthread  -lgsl -lgslcblas -lvolpack -lxml2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -L/usr/lib64 /usr/lib64/libmdc.so -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lm -lglib-2.0 -lpng16 -lavcodec -lavutil -L/usr/local/dicom/lib -L/usr/lib64/dcmtk -L/usr/lib/dcmtk -ltiff -lpng -ldcmimage -ldcmimgle -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmdata -loflog -lofstd -lz -lpthread -pthread
/usr/bin/ld: cannot find -lgtk-3
/usr/bin/ld: cannot find -lgdk-3
/usr/bin/ld: cannot find -lcairo-gobject
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1029: amide] Errore 1
make[2]: uscita dalla directory «/home/pat1/git/amide/amide-current/src»
make[1]: *** [Makefile:508: all-recursive] Errore 1
make[1]: uscita dalla directory «/home/pat1/git/amide/amide-current»
make: *** [Makefile:440: all] Errore 2

@ferdymercury
Copy link
Owner

After removing it, did you start a fresh install? (Re-run from scratch, run libtoolize again as explained in the README, etc.)
Thanks!

@ferdymercury ferdymercury added the bug Something isn't working label Jul 11, 2022
@pat1
Copy link
Author

pat1 commented Jul 11, 2022

intltoolize
You should update your 'aclocal.m4' by running aclocal.
intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite

intltoolize --force
You should update your 'aclocal.m4' by running aclocal.

 aclocal
configure.ac:312: warning: macro 'AM_PATH_LIBFAME' not found in library

libtoolize
gtkdocize

autoreconf --install

./configure
....

make clean

make
....
libtool: link: g++ -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -pthread -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -ggdb -Wall -I/usr/local/dicom/include -I/usr/local/include -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/ffmpeg -g -O2 -o amide amitk_marshal.o amitk_type_builtins.o amitk_raw_data_UBYTE.o amitk_raw_data_SBYTE.o amitk_raw_data_USHORT.o amitk_raw_data_SSHORT.o amitk_raw_data_UINT.o amitk_raw_data_SINT.o amitk_raw_data_FLOAT.o amitk_raw_data_DOUBLE.o amitk_data_set_UBYTE_0D_SCALING.o amitk_data_set_UBYTE_1D_SCALING.o amitk_data_set_UBYTE_2D_SCALING.o amitk_data_set_SBYTE_0D_SCALING.o amitk_data_set_SBYTE_1D_SCALING.o amitk_data_set_SBYTE_2D_SCALING.o amitk_data_set_USHORT_0D_SCALING.o amitk_data_set_USHORT_1D_SCALING.o amitk_data_set_USHORT_2D_SCALING.o amitk_data_set_SSHORT_0D_SCALING.o amitk_data_set_SSHORT_1D_SCALING.o amitk_data_set_SSHORT_2D_SCALING.o amitk_data_set_UINT_0D_SCALING.o amitk_data_set_UINT_1D_SCALING.o amitk_data_set_UINT_2D_SCALING.o amitk_data_set_SINT_0D_SCALING.o amitk_data_set_SINT_1D_SCALING.o amitk_data_set_SINT_2D_SCALING.o amitk_data_set_FLOAT_0D_SCALING.o amitk_data_set_FLOAT_1D_SCALING.o amitk_data_set_FLOAT_2D_SCALING.o amitk_data_set_DOUBLE_0D_SCALING.o amitk_data_set_DOUBLE_1D_SCALING.o amitk_data_set_DOUBLE_2D_SCALING.o amitk_data_set_UBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_USHORT_0D_SCALING_INTERCEPT.o amitk_data_set_USHORT_1D_SCALING_INTERCEPT.o amitk_data_set_USHORT_2D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_0D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_1D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_2D_SCALING_INTERCEPT.o amitk_data_set_UINT_0D_SCALING_INTERCEPT.o amitk_data_set_UINT_1D_SCALING_INTERCEPT.o amitk_data_set_UINT_2D_SCALING_INTERCEPT.o amitk_data_set_SINT_0D_SCALING_INTERCEPT.o amitk_data_set_SINT_1D_SCALING_INTERCEPT.o amitk_data_set_SINT_2D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_0D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_1D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_2D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_0D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_1D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_2D_SCALING_INTERCEPT.o amitk_roi_ELLIPSOID.o amitk_roi_CYLINDER.o amitk_roi_BOX.o amitk_roi_ISOCONTOUR_2D.o amitk_roi_ISOCONTOUR_3D.o amitk_roi_FREEHAND_2D.o amitk_roi_FREEHAND_3D.o amide.o amide_gconf.o amide_gnome.o amitk_common.o amitk_canvas.o amitk_canvas_object.o amitk_color_table.o amitk_color_table_menu.o amitk_data_set.o amitk_dial.o amitk_fiducial_mark.o amitk_filter.o amitk_line_profile.o amitk_object.o amitk_object_dialog.o amitk_point.o amitk_preferences.o amitk_progress_dialog.o amitk_raw_data.o amitk_roi.o amitk_space.o amitk_space_edit.o amitk_study.o amitk_threshold.o amitk_tree_view.o amitk_volume.o amitk_window_edit.o alignment_mutual_information.o alignment_procrustes.o analysis.o dcmtk_interface.o fads.o image.o legacy.o libecat_interface.o libmdc_interface.o mpeg_encode.o pixmaps.o raw_data_import.o render.o tb_alignment.o tb_crop.o tb_distance.o tb_export_data_set.o tb_fads.o tb_filter.o tb_fly_through.o tb_math.o tb_profile.o tb_roi_analysis.o ui_common.o ui_gate_dialog.o ui_preferences_dialog.o ui_render.o ui_render_dialog.o ui_render_movie.o ui_series.o ui_study.o ui_study_cb.o ui_time_dialog.o vistaio_interface.o xml.o -pthread  -lgsl -lgslcblas -lvolpack -lxml2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -L/usr/lib64 /usr/lib64/libmdc.so -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lm -lglib-2.0 -lpng16 -lavcodec -lavutil -L/usr/local/dicom/lib -L/usr/lib64/dcmtk -L/usr/lib/dcmtk -ltiff -lpng -ldcmimage -ldcmimgle -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmdata -loflog -lofstd -lz -lpthread -pthread
/usr/bin/ld: cannot find -lgtk-3
/usr/bin/ld: cannot find -lgdk-3
/usr/bin/ld: cannot find -lcairo-gobject
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1029: amide] Errore 1
make[2]: uscita dalla directory «/home/pat1/git/amide/amide-current/src»
make[1]: *** [Makefile:508: all-recursive] Errore 1
make[1]: uscita dalla directory «/home/pat1/git/amide/amide-current»
make: *** [Makefile:440: all] Errore 2

@ferdymercury
Copy link
Owner

ferdymercury commented Jul 11, 2022

Can you make clean as the first step, before intltoolize? Rather than inbetween.

If that does not fix it, then take a look at:

g++ -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -pthread -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -ggdb -Wall -I/usr/local/dicom/include -I/usr/local/include -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/ffmpeg -g -O2 -o amide amitk_marshal.o amitk_type_builtins.o amitk_raw_data_UBYTE.o amitk_raw_data_SBYTE.o amitk_raw_data_USHORT.o amitk_raw_data_SSHORT.o amitk_raw_data_UINT.o amitk_raw_data_SINT.o amitk_raw_data_FLOAT.o amitk_raw_data_DOUBLE.o amitk_data_set_UBYTE_0D_SCALING.o amitk_data_set_UBYTE_1D_SCALING.o amitk_data_set_UBYTE_2D_SCALING.o amitk_data_set_SBYTE_0D_SCALING.o amitk_data_set_SBYTE_1D_SCALING.o amitk_data_set_SBYTE_2D_SCALING.o amitk_data_set_USHORT_0D_SCALING.o amitk_data_set_USHORT_1D_SCALING.o amitk_data_set_USHORT_2D_SCALING.o amitk_data_set_SSHORT_0D_SCALING.o amitk_data_set_SSHORT_1D_SCALING.o amitk_data_set_SSHORT_2D_SCALING.o amitk_data_set_UINT_0D_SCALING.o amitk_data_set_UINT_1D_SCALING.o amitk_data_set_UINT_2D_SCALING.o amitk_data_set_SINT_0D_SCALING.o amitk_data_set_SINT_1D_SCALING.o amitk_data_set_SINT_2D_SCALING.o amitk_data_set_FLOAT_0D_SCALING.o amitk_data_set_FLOAT_1D_SCALING.o amitk_data_set_FLOAT_2D_SCALING.o amitk_data_set_DOUBLE_0D_SCALING.o amitk_data_set_DOUBLE_1D_SCALING.o amitk_data_set_DOUBLE_2D_SCALING.o amitk_data_set_UBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_USHORT_0D_SCALING_INTERCEPT.o amitk_data_set_USHORT_1D_SCALING_INTERCEPT.o amitk_data_set_USHORT_2D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_0D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_1D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_2D_SCALING_INTERCEPT.o amitk_data_set_UINT_0D_SCALING_INTERCEPT.o amitk_data_set_UINT_1D_SCALING_INTERCEPT.o amitk_data_set_UINT_2D_SCALING_INTERCEPT.o amitk_data_set_SINT_0D_SCALING_INTERCEPT.o amitk_data_set_SINT_1D_SCALING_INTERCEPT.o amitk_data_set_SINT_2D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_0D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_1D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_2D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_0D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_1D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_2D_SCALING_INTERCEPT.o amitk_roi_ELLIPSOID.o amitk_roi_CYLINDER.o amitk_roi_BOX.o amitk_roi_ISOCONTOUR_2D.o amitk_roi_ISOCONTOUR_3D.o amitk_roi_FREEHAND_2D.o amitk_roi_FREEHAND_3D.o amide.o amide_gconf.o amide_gnome.o amitk_common.o amitk_canvas.o amitk_canvas_object.o amitk_color_table.o amitk_color_table_menu.o amitk_data_set.o amitk_dial.o amitk_fiducial_mark.o amitk_filter.o amitk_line_profile.o amitk_object.o amitk_object_dialog.o amitk_point.o amitk_preferences.o amitk_progress_dialog.o amitk_raw_data.o amitk_roi.o amitk_space.o amitk_space_edit.o amitk_study.o amitk_threshold.o amitk_tree_view.o amitk_volume.o amitk_window_edit.o alignment_mutual_information.o alignment_procrustes.o analysis.o dcmtk_interface.o fads.o image.o legacy.o libecat_interface.o libmdc_interface.o mpeg_encode.o pixmaps.o raw_data_import.o render.o tb_alignment.o tb_crop.o tb_distance.o tb_export_data_set.o tb_fads.o tb_filter.o tb_fly_through.o tb_math.o tb_profile.o tb_roi_analysis.o ui_common.o ui_gate_dialog.o ui_preferences_dialog.o ui_render.o ui_render_dialog.o ui_render_movie.o ui_series.o ui_study.o ui_study_cb.o ui_time_dialog.o vistaio_interface.o xml.o -pthread  -lgsl -lgslcblas -lvolpack -lxml2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -L/usr/lib64 /usr/lib64/libmdc.so -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lm -lglib-2.0 -lpng16 -lavcodec -lavutil -L/usr/local/dicom/lib -L/usr/lib64/dcmtk -L/usr/lib/dcmtk -ltiff -lpng -ldcmimage -ldcmimgle -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmdata -loflog -lofstd -lz -lpthread -pthread

This line still contains gtk3. If you copy the line by hand and remove -lgtk-3 -lgdk-3, does it work then?

@ferdymercury
Copy link
Owner

Can you make clean as the first step, before intltoolize? Rather than inbetween.

Or clone the repository again in a fresh folder. (Or git clean -xfd)

@pat1
Copy link
Author

pat1 commented Jul 11, 2022

fresh install:

git clone https://github.com/ferdymercury/amide.git
cd amide/amide-current/
intltoolize
libtoolize
gnome-doc-prepare
autoreconf --install
./configure
make
.....
libtool: link: g++ -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -pthread -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -ggdb -Wall -I/usr/local/dicom/include -I/usr/local/include -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/ffmpeg -g -O2 -o amide amitk_marshal.o amitk_type_builtins.o amitk_raw_data_UBYTE.o amitk_raw_data_SBYTE.o amitk_raw_data_USHORT.o amitk_raw_data_SSHORT.o amitk_raw_data_UINT.o amitk_raw_data_SINT.o amitk_raw_data_FLOAT.o amitk_raw_data_DOUBLE.o amitk_data_set_UBYTE_0D_SCALING.o amitk_data_set_UBYTE_1D_SCALING.o amitk_data_set_UBYTE_2D_SCALING.o amitk_data_set_SBYTE_0D_SCALING.o amitk_data_set_SBYTE_1D_SCALING.o amitk_data_set_SBYTE_2D_SCALING.o amitk_data_set_USHORT_0D_SCALING.o amitk_data_set_USHORT_1D_SCALING.o amitk_data_set_USHORT_2D_SCALING.o amitk_data_set_SSHORT_0D_SCALING.o amitk_data_set_SSHORT_1D_SCALING.o amitk_data_set_SSHORT_2D_SCALING.o amitk_data_set_UINT_0D_SCALING.o amitk_data_set_UINT_1D_SCALING.o amitk_data_set_UINT_2D_SCALING.o amitk_data_set_SINT_0D_SCALING.o amitk_data_set_SINT_1D_SCALING.o amitk_data_set_SINT_2D_SCALING.o amitk_data_set_FLOAT_0D_SCALING.o amitk_data_set_FLOAT_1D_SCALING.o amitk_data_set_FLOAT_2D_SCALING.o amitk_data_set_DOUBLE_0D_SCALING.o amitk_data_set_DOUBLE_1D_SCALING.o amitk_data_set_DOUBLE_2D_SCALING.o amitk_data_set_UBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_USHORT_0D_SCALING_INTERCEPT.o amitk_data_set_USHORT_1D_SCALING_INTERCEPT.o amitk_data_set_USHORT_2D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_0D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_1D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_2D_SCALING_INTERCEPT.o amitk_data_set_UINT_0D_SCALING_INTERCEPT.o amitk_data_set_UINT_1D_SCALING_INTERCEPT.o amitk_data_set_UINT_2D_SCALING_INTERCEPT.o amitk_data_set_SINT_0D_SCALING_INTERCEPT.o amitk_data_set_SINT_1D_SCALING_INTERCEPT.o amitk_data_set_SINT_2D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_0D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_1D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_2D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_0D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_1D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_2D_SCALING_INTERCEPT.o amitk_roi_ELLIPSOID.o amitk_roi_CYLINDER.o amitk_roi_BOX.o amitk_roi_ISOCONTOUR_2D.o amitk_roi_ISOCONTOUR_3D.o amitk_roi_FREEHAND_2D.o amitk_roi_FREEHAND_3D.o amide.o amide_gconf.o amide_gnome.o amitk_common.o amitk_canvas.o amitk_canvas_object.o amitk_color_table.o amitk_color_table_menu.o amitk_data_set.o amitk_dial.o amitk_fiducial_mark.o amitk_filter.o amitk_line_profile.o amitk_object.o amitk_object_dialog.o amitk_point.o amitk_preferences.o amitk_progress_dialog.o amitk_raw_data.o amitk_roi.o amitk_space.o amitk_space_edit.o amitk_study.o amitk_threshold.o amitk_tree_view.o amitk_volume.o amitk_window_edit.o alignment_mutual_information.o alignment_procrustes.o analysis.o dcmtk_interface.o fads.o image.o legacy.o libecat_interface.o libmdc_interface.o mpeg_encode.o pixmaps.o raw_data_import.o render.o tb_alignment.o tb_crop.o tb_distance.o tb_export_data_set.o tb_fads.o tb_filter.o tb_fly_through.o tb_math.o tb_profile.o tb_roi_analysis.o ui_common.o ui_gate_dialog.o ui_preferences_dialog.o ui_render.o ui_render_dialog.o ui_render_movie.o ui_series.o ui_study.o ui_study_cb.o ui_time_dialog.o vistaio_interface.o xml.o -pthread  -lgsl -lgslcblas -lvolpack -lxml2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -L/usr/lib64 /usr/lib64/libmdc.so -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lm -lglib-2.0 -lpng16 -lavcodec -lavutil -L/usr/local/dicom/lib -L/usr/lib64/dcmtk -L/usr/lib/dcmtk -ltiff -lpng -ldcmimage -ldcmimgle -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmdata -loflog -lofstd -lz -lpthread -pthread
/usr/bin/ld: cannot find -lgtk-3
/usr/bin/ld: cannot find -lgdk-3
/usr/bin/ld: cannot find -lcairo-gobject
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1029: amide] Errore 1
make[2]: uscita dalla directory «/home/pat1/git/amide/amide-current/src»
make[1]: *** [Makefile:508: all-recursive] Errore 1
make[1]: uscita dalla directory «/home/pat1/git/amide/amide-current»
make: *** [Makefile:440: all] Errore 2

removing gtk3 by hand:

g++ -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -pthread -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread -ggdb -Wall -I/usr/local/dicom/include -I/usr/local/include -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/ffmpeg -g -O2 -o amide amitk_marshal.o amitk_type_builtins.o amitk_raw_data_UBYTE.o amitk_raw_data_SBYTE.o amitk_raw_data_USHORT.o amitk_raw_data_SSHORT.o amitk_raw_data_UINT.o amitk_raw_data_SINT.o amitk_raw_data_FLOAT.o amitk_raw_data_DOUBLE.o amitk_data_set_UBYTE_0D_SCALING.o amitk_data_set_UBYTE_1D_SCALING.o amitk_data_set_UBYTE_2D_SCALING.o amitk_data_set_SBYTE_0D_SCALING.o amitk_data_set_SBYTE_1D_SCALING.o amitk_data_set_SBYTE_2D_SCALING.o amitk_data_set_USHORT_0D_SCALING.o amitk_data_set_USHORT_1D_SCALING.o amitk_data_set_USHORT_2D_SCALING.o amitk_data_set_SSHORT_0D_SCALING.o amitk_data_set_SSHORT_1D_SCALING.o amitk_data_set_SSHORT_2D_SCALING.o amitk_data_set_UINT_0D_SCALING.o amitk_data_set_UINT_1D_SCALING.o amitk_data_set_UINT_2D_SCALING.o amitk_data_set_SINT_0D_SCALING.o amitk_data_set_SINT_1D_SCALING.o amitk_data_set_SINT_2D_SCALING.o amitk_data_set_FLOAT_0D_SCALING.o amitk_data_set_FLOAT_1D_SCALING.o amitk_data_set_FLOAT_2D_SCALING.o amitk_data_set_DOUBLE_0D_SCALING.o amitk_data_set_DOUBLE_1D_SCALING.o amitk_data_set_DOUBLE_2D_SCALING.o amitk_data_set_UBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_UBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_0D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_1D_SCALING_INTERCEPT.o amitk_data_set_SBYTE_2D_SCALING_INTERCEPT.o amitk_data_set_USHORT_0D_SCALING_INTERCEPT.o amitk_data_set_USHORT_1D_SCALING_INTERCEPT.o amitk_data_set_USHORT_2D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_0D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_1D_SCALING_INTERCEPT.o amitk_data_set_SSHORT_2D_SCALING_INTERCEPT.o amitk_data_set_UINT_0D_SCALING_INTERCEPT.o amitk_data_set_UINT_1D_SCALING_INTERCEPT.o amitk_data_set_UINT_2D_SCALING_INTERCEPT.o amitk_data_set_SINT_0D_SCALING_INTERCEPT.o amitk_data_set_SINT_1D_SCALING_INTERCEPT.o amitk_data_set_SINT_2D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_0D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_1D_SCALING_INTERCEPT.o amitk_data_set_FLOAT_2D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_0D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_1D_SCALING_INTERCEPT.o amitk_data_set_DOUBLE_2D_SCALING_INTERCEPT.o amitk_roi_ELLIPSOID.o amitk_roi_CYLINDER.o amitk_roi_BOX.o amitk_roi_ISOCONTOUR_2D.o amitk_roi_ISOCONTOUR_3D.o amitk_roi_FREEHAND_2D.o amitk_roi_FREEHAND_3D.o amide.o amide_gconf.o amide_gnome.o amitk_common.o amitk_canvas.o amitk_canvas_object.o amitk_color_table.o amitk_color_table_menu.o amitk_data_set.o amitk_dial.o amitk_fiducial_mark.o amitk_filter.o amitk_line_profile.o amitk_object.o amitk_object_dialog.o amitk_point.o amitk_preferences.o amitk_progress_dialog.o amitk_raw_data.o amitk_roi.o amitk_space.o amitk_space_edit.o amitk_study.o amitk_threshold.o amitk_tree_view.o amitk_volume.o amitk_window_edit.o alignment_mutual_information.o alignment_procrustes.o analysis.o dcmtk_interface.o fads.o image.o legacy.o libecat_interface.o libmdc_interface.o mpeg_encode.o pixmaps.o raw_data_import.o render.o tb_alignment.o tb_crop.o tb_distance.o tb_export_data_set.o tb_fads.o tb_filter.o tb_fly_through.o tb_math.o tb_profile.o tb_roi_analysis.o ui_common.o ui_gate_dialog.o ui_preferences_dialog.o ui_render.o ui_render_dialog.o ui_render_movie.o ui_series.o ui_study.o ui_study_cb.o ui_time_dialog.o vistaio_interface.o xml.o -pthread  -lgsl -lgslcblas -lvolpack -lxml2 -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgnomevfs-2 -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -L/usr/lib64 /usr/lib64/libmdc.so  -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0  -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lm -lglib-2.0 -lpng16 -lavcodec -lavutil -L/usr/local/dicom/lib -L/usr/lib64/dcmtk -L/usr/lib/dcmtk -ltiff -lpng -ldcmimage -ldcmimgle -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmdata -loflog -lofstd -lz -lpthread -pthread

compile, but running:

./amide 

(amide:219635): Gtk-ERROR **: 11:21:55.043: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Rilevato trace/breakpoint (core dump creato)

my xmedcon use gtk3; is this the problem ?

ldd /usr/lib64/libmdc.so.3.0.0
	linux-vdso.so.1 (0x00007fff519c7000)
	libpng16.so.16 => /lib64/libpng16.so.16 (0x00007fe26df29000)
	libz.so.1 => /lib64/libz.so.1 (0x00007fe26df0f000)
	libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007fe26d6e4000)
	libgdk-3.so.0 => /lib64/libgdk-3.so.0 (0x00007fe26d5df000)
	libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007fe26d5cd000)
	libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007fe26d579000)
	libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007fe26d4a7000)
	libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007fe26d47e000)
	libcairo-gobject.so.2 => /lib64/libcairo-gobject.so.2 (0x00007fe26d472000)
	libcairo.so.2 => /lib64/libcairo.so.2 (0x00007fe26d356000)
	libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007fe26d326000)
	libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007fe26d152000)
	libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007fe26d0f5000)
	libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fe26cfbb000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fe26ce77000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fe26cca8000)
	libcloudproviders.so.0 => /lib64/libcloudproviders.so.0 (0x00007fe26cc8e000)
	libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007fe26cc88000)
	libX11.so.6 => /lib64/libX11.so.6 (0x00007fe26cb3e000)
	libXi.so.6 => /lib64/libXi.so.6 (0x00007fe26cb2c000)
	libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007fe26cb23000)
	libatk-bridge-2.0.so.0 => /lib64/libatk-bridge-2.0.so.0 (0x00007fe26caea000)
	libwayland-client.so.0 => /lib64/libwayland-client.so.0 (0x00007fe26cad8000)
	libepoxy.so.0 => /lib64/libepoxy.so.0 (0x00007fe26c9a3000)
	libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007fe26c981000)
	libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007fe26c967000)
	libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007fe26c918000)
	libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007fe26c854000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe26c833000)
	libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007fe26c82e000)
	libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007fe26c81f000)
	libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007fe26c812000)
	libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007fe26c80d000)
	libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007fe26c808000)
	libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007fe26c7bf000)
	libwayland-cursor.so.0 => /lib64/libwayland-cursor.so.0 (0x00007fe26c7b5000)
	libwayland-egl.so.1 => /lib64/libwayland-egl.so.1 (0x00007fe26c7ae000)
	libXext.so.6 => /lib64/libXext.so.6 (0x00007fe26c799000)
	librt.so.1 => /lib64/librt.so.1 (0x00007fe26c78e000)
	libthai.so.0 => /lib64/libthai.so.0 (0x00007fe26c783000)
	libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007fe26c762000)
	libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007fe26c6b4000)
	libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007fe26c6af000)
	libxcb.so.1 => /lib64/libxcb.so.1 (0x00007fe26c684000)
	libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007fe26c674000)
	libXrender.so.1 => /lib64/libXrender.so.1 (0x00007fe26c667000)
	libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007fe26c5e6000)
	libmount.so.1 => /lib64/libmount.so.1 (0x00007fe26c5a1000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fe26c575000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fe26c55b000)
	libffi.so.6 => /lib64/libffi.so.6 (0x00007fe26c550000)
	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fe26c4d8000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fe26e0ea000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fe26c4bb000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007fe26c4b4000)
	libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007fe26c462000)
	libatspi.so.0 => /lib64/libatspi.so.0 (0x00007fe26c425000)
	libxml2.so.2 => /lib64/libxml2.so.2 (0x00007fe26c29b000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fe26c286000)
	libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007fe26c278000)
	libdatrie.so.1 => /lib64/libdatrie.so.1 (0x00007fe26c26f000)
	libXau.so.6 => /lib64/libXau.so.6 (0x00007fe26c269000)
	libblkid.so.1 => /lib64/libblkid.so.1 (0x00007fe26c234000)
	libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007fe26c19b000)
	libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007fe26c0d7000)
	liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fe26c0ab000)
	libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007fe26c088000)
	libzstd.so.1 => /lib64/libzstd.so.1 (0x00007fe26bfd9000)
	liblz4.so.1 => /lib64/liblz4.so.1 (0x00007fe26bfb3000)
	libcap.so.2 => /lib64/libcap.so.2 (0x00007fe26bfa9000)
	libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007fe26be6d000)
	libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007fe26be47000)

going to xmedcon-0.16.2-4.fc34.x86_64 seems to work !

I am looking hot to build xmedcon 0.22.0 with gtk2 ....

@pat1
Copy link
Author

pat1 commented Jul 11, 2022

I need to buid xmedcon with

configure --disable-gui

after this seems to work well ...

@ferdymercury
Copy link
Owner

I am looking how to build xmedcon 0.22.0 with gtk2 ....

@enlf-dev is there an option to do this?

@ferdymercury ferdymercury added the enhancement New feature or request label Jul 11, 2022
@enlf-dev
Copy link
Collaborator

Nope. It is on a separate branch. Supposed to be end of life but kept on intensive care for amide's sake.

However, it is a rather peculiar issue because I would believe my core libmdc library shouldn't contain any gui related dependencies. Apparently it does somehow bothers with amide. A very long time ago, the only specific library requested to be included was glib in exchange of error message with amide; if I recall correctly.

@pat1
Copy link
Author

pat1 commented Jul 12, 2022

@enlf-dev you speak about libmdc? The problem was on xmedcon.

@enlf-dev
Copy link
Collaborator

Next release of (X)MedCon (or current git repo on SF), its libmdc will no longer pull in Gtk related stuff caused by an evil Makefile.am construction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants