Re: [Iup-users] Building IUP from source on SLES12
On 5/30/21 3:04 AM, Antonio Scuri wrote: > Hi, > > Sorry for the long delay. > > Probably the GTK binaries we use to build the pre-compiled libraries are > not the same as the one you are trying to link. We build the libraries in > Ubuntu. The IUP documentation describe this at Download / Library Download > Tips. [...] > Note that the lglicua project I've just released does build with source from CentOS-7 -- which is a Red Hat-derived distribution. SLES is derived from Red Hat; I haven't bothered to trace the ancestry in full. No other CentOS version support is available, as the Assistant demands to use Lua 5.1, and the Lua version is baked-in to the underlying basic release. I've put in mechanisms for "families" of distributions, and a sneak look at install/support shows "family-redhat.sh" and "family-ubuntu.sh". In addition to adding support in the installer, any new distribution would also need to be explicitly white-listed (including hunting down and resolving package support library names) in "svn/assistant-database.lua". I'll download SLES12, and put it in a virtual machine, to see if adding support is easy. cheers, sur-behoffski (Brenton Hoff) programmer, Grouse Software ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
Re: [Iup-users] Building IUP from source on SLES12
Hi, Sorry for the long delay. Probably the GTK binaries we use to build the pre-compiled libraries are not the same as the one you are trying to link. We build the libraries in Ubuntu. The IUP documentation describe this at Download / Library Download Tips. Best, Scuri Em qua., 31 de mar. de 2021 às 20:06, Jeff Moon escreveu: > I'm trying go get IUP built from source on SLES12 OS. The build seems to > go fine, and I get all the shared libraries, but when I try to compile the > sample.c I get the following error: > gcc -liup -lgtk-3 -I`pwd`/tgz/iuplibs/include sample.c |& cut -d':' -f2 > undefined reference to `gdk_window_set_back_pixmap' > undefined reference to `gtk_progress_bar_set_bar_style' > undefined reference to `gtk_major_version' > undefined reference to `gdk_cursor_new_from_pixmap' > undefined reference to `gdk_colormap_new' > undefined reference to `gtk_progress_set_activity_mode' > undefined reference to `gtk_widget_push_colormap' > undefined reference to `gdk_device_get_core_pointer' > undefined reference to `gtk_widget_pop_colormap' > undefined reference to `gdk_font_from_description' > undefined reference to `gtk_progress_bar_set_orientation' > undefined reference to `gdk_pixbuf_render_pixmap_and_mask' > undefined reference to `gtk_micro_version' > undefined reference to `gdk_font_id' > undefined reference to `gdk_x11_colormap_foreign_new' > undefined reference to `gdk_drawable_get_size' > undefined reference to `gdk_bitmap_create_from_data' > undefined reference to `gtk_widget_shape_combine_mask' > undefined reference to `gtk_minor_version' > undefined reference to `gdk_x11_drawable_get_xid' > collect2: error: ld returned 1 exit status > > I have the iup and gtk-3 so files in my LIBRARY_PATH. Not sure why it's > not finding those symbols. Any help would be greatly appreciated. > Jeff > > ___ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users > ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
[Iup-users] Building IUP from source on SLES12
I'm trying go get IUP built from source on SLES12 OS. The build seems to go fine, and I get all the shared libraries, but when I try to compile the sample.c I get the following error: gcc -liup -lgtk-3 -I`pwd`/tgz/iuplibs/include sample.c |& cut -d':' -f2 undefined reference to `gdk_window_set_back_pixmap' undefined reference to `gtk_progress_bar_set_bar_style' undefined reference to `gtk_major_version' undefined reference to `gdk_cursor_new_from_pixmap' undefined reference to `gdk_colormap_new' undefined reference to `gtk_progress_set_activity_mode' undefined reference to `gtk_widget_push_colormap' undefined reference to `gdk_device_get_core_pointer' undefined reference to `gtk_widget_pop_colormap' undefined reference to `gdk_font_from_description' undefined reference to `gtk_progress_bar_set_orientation' undefined reference to `gdk_pixbuf_render_pixmap_and_mask' undefined reference to `gtk_micro_version' undefined reference to `gdk_font_id' undefined reference to `gdk_x11_colormap_foreign_new' undefined reference to `gdk_drawable_get_size' undefined reference to `gdk_bitmap_create_from_data' undefined reference to `gtk_widget_shape_combine_mask' undefined reference to `gtk_minor_version' undefined reference to `gdk_x11_drawable_get_xid' collect2: error: ld returned 1 exit status I have the iup and gtk-3 so files in my LIBRARY_PATH. Not sure why it's not finding those symbols. Any help would be greatly appreciated. Jeff ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users