Ok. The problem is right there. Maybe you can try using debug symbols to identify the wrong calls. All you need to to is to rebuild the main IUP library but defining DBG=Yes before doing it. "make rebuild".
Tecmake is just a GNU make script with several thing pre-defined. There is actual no installation. "make clean" should be a valid command. ncurses should be configured on the application makefile. Best, Scuri On Wed, Nov 18, 2015 at 3:07 PM, Grieb <grieb....@gmail.com> wrote: > Hi, > > Commented out the code and recompiled. Things changed a bit now! > No crash/abort BUT no icons too! > > I'm using the tutorial example 3.5 as test. And I should see the icons in > the toolbar, right? > > OFF-TOPIC: > > to compile iup in my environment I need to edit tecmake.mak and add > -lncurses at line 1767 (LFLAGS). I'm not sure is the correct place as > I'm not using (have not installed) tecmake, nor spent any time on it. > > By the way, is there a way to do a make clean or make dist-clean? > > Thanks, > > Grieb. > > On Wed, 18 Nov 2015 14:15:44 -0200 > Antonio Scuri <sc...@tecgraf.puc-rio.br> wrote: > > > That's not a typical libpng problem. > > > > I forgot about one thing, in GTK the IupImageLib uses the GTK stock > > images. > > > > Try commenting lines 460-466 of "iup/src/gtk/iupgtk_image.c". The > > Ubuntu versions I'm using are using GTK 2 or GTK >= 3.10. Since your > > GTK is 3.8 there could be the problem since I'm not checking behavior > > on this version lately. > > > > Best, > > Scuri > > > > > > > > > > > > On Wed, Nov 18, 2015 at 10:59 AM, Grieb <grieb....@gmail.com> wrote: > > > > > Just to add some info... > > > > > > libpng (mentioned by Scuri): 1.4.12 > > > > > > What I did: > > > > > > cd /tmp > > > mkdir -p xxxx > > > cd xxxx > > > tar -xpvzf lua5_1_5_Sources.tar.gz > > > tar -xpvzf im-3.10_Sources.tar.gz > > > tar -xpvzf cd-5.9_Sources.tar.gz > > > tar -xpvzf iup-3.16_Sources.tar.gz (I tried with svn version too) > > > cd lua5.1/src > > > make > > > cd ../../im/src > > > make > > > cd ../../cd/src > > > make > > > cd ../../iup > > > make > > > > > > and then the test: > > > > > > gdb bin/Linux310_64/iupview > > > (gdb) run > > > > > > File -> Load Image Lib > > > > > > Starting program: /tmp/iup/iup/bin/Linux310_64/iupview > > > warning: Could not load shared library symbols for linux-vdso.so.1. > > > Do you need "set solib-search-path" or "set sysroot"? > > > Traceback (most recent call last): > > > File"/usr/share/gdb/auto-load/usr/lib64/ > > > libgobject-2.0.so.0.3600.4-gdb.py", line 9, in <module> > > > from gobject import register > > > File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> > > > import gdb.backtrace > > > ImportError: No module named backtrace > > > [Thread debugging using libthread_db enabled] > > > Using host libthread_db library "/lib64/libthread_db.so.1". > > > ** > > > Gtk:ERROR:gtkstylecontext.c:1021:style_data_lookup: assertion > > > failed: (priv->widget != NULL || priv->widget_path != NULL) > > > > > > Program received signal SIGABRT, Aborted. > > > 0x00007ffff47df979 in raise () from /lib64/libc.so.6 > > > (gdb) backtrace > > > #0 0x00007ffff47df979 in raise () from /lib64/libc.so.6 > > > #1 0x00007ffff47e1088 in abort () from /lib64/libc.so.6 > > > #2 0x00007ffff5942de6 in g_assertion_message () > > > from /usr/lib64/libglib-2.0.so.0 > > > #3 0x00007ffff5942e44 in g_assertion_message_expr () > > > from /usr/lib64/libglib-2.0.so.0 > > > #4 0x00007ffff6e7dc11 in ?? () from /usr/lib64/libgtk-3.so.0 > > > #5 0x00007ffff6e7eb68 in ?? () from /usr/lib64/libgtk-3.so.0 > > > #6 0x00007ffff6e83547 in gtk_render_icon_pixbuf () > > > from /usr/lib64/libgtk-3.so.0 > > > #7 0x00007ffff6dce828 in gtk_icon_set_render_icon_pixbuf () > > > from /usr/lib64/libgtk-3.so.0 > > > #8 0x000000000048e220 in ?? () > > > #9 0x000000000048e952 in ?? () > > > #10 0x000000000044e60f in ?? () > > > #11 0x000000000041898e in ?? () > > > #12 0x0000000000492c40 in ?? () > > > #13 0x00007ffff5e14d58 in g_closure_invoke () > > > from /usr/lib64/libgobject-2.0.so.0 > > > #14 0x00007ffff5e25c6d in ?? () from /usr/lib64/libgobject-2.0.so.0 > > > #15 0x00007ffff5e2d8e2 in g_signal_emit_valist () > > > from /usr/lib64/libgobject-2.0.so.0 > > > #16 0x00007ffff5e2dba2 in g_signal_emit () from > > > /usr/lib64/libgobject-2.0.so.0 > > > ---Type <return> to continue, or q <return> to quit--- > > > #17 0x00007ffff6f1d63c in gtk_widget_activate () from > > > /usr/lib64/libgtk-3.so.0 > > > #18 0x00007ffff6e191be in gtk_menu_shell_activate_item () > > > from /usr/lib64/libgtk-3.so.0 > > > #19 0x00007ffff6e194fb in ?? () from /usr/lib64/libgtk-3.so.0 > > > #20 0x00007ffff6dfe5ce in ?? () from /usr/lib64/libgtk-3.so.0 > > > #21 0x00007ffff5e14f87 in ?? () from /usr/lib64/libgobject-2.0.so.0 > > > #22 0x00007ffff5e2cec5 in g_signal_emit_valist () > > > from /usr/lib64/libgobject-2.0.so.0 > > > #23 0x00007ffff5e2dba2 in g_signal_emit () from > > > /usr/lib64/libgobject-2.0.so.0 > > > #24 0x00007ffff6f1e7a4 in ?? () from /usr/lib64/libgtk-3.so.0 > > > #25 0x00007ffff6dfc91c in ?? () from /usr/lib64/libgtk-3.so.0 > > > #26 0x00007ffff6dfe1b5 in gtk_main_do_event () from > > > /usr/lib64/libgtk-3.so.0 > > > #27 0x00007ffff6a362f2 in ?? () from /usr/lib64/libgdk-3.so.0 > > > #28 0x00007ffff591f316 in g_main_context_dispatch () > > > from /usr/lib64/libglib-2.0.so.0 > > > #29 0x00007ffff591f668 in ?? () from /usr/lib64/libglib-2.0.so.0 > > > #30 0x00007ffff591fa6a in g_main_loop_run () from > > > /usr/lib64/libglib-2.0.so.0 > > > #31 0x00007ffff6dfd6bd in gtk_main () from /usr/lib64/libgtk-3.so.0 > > > #32 0x0000000000474439 in ?? () > > > #33 0x0000000000417aea in ?? () > > > #34 0x00007ffff47cad05 in __libc_start_main () from /lib64/libc.so.6 > > > #35 0x0000000000417bb1 in ?? () > > > (gdb) > > > > > > On Wed, 18 Nov 2015 10:14:42 -0200 > > > Antonio Scuri <sc...@tecgraf.puc-rio.br> wrote: > > > > > > > Hi, > > > > > > > > IupImageLib is harmless. Probably the problem is somewhere else. > > > > > > > > Depending on how the IM library was built and which GTK is > > > > installed, there could be a problem in libPNG used internally in > > > > GTK. But this problem does not depends on IupImageLib. Could be > > > > the IUP-IM lib? > > > > > > > > Best, > > > > Scuri > > > > > > > > > > > > On Wed, Nov 18, 2015 at 9:31 AM, Grieb <grieb....@gmail.com> > > > > wrote: > > > > > > > > > Good day (or maybe night ;), > > > > > > > > > > I'm having a little problem when I try to use IupImageLibOpen, > > > > > I get the following error message (even iupview gives the same > > > > > error). > > > > > > > > > > ** > > > > > Gtk:ERROR:gtkstylecontext.c:1021:style_data_lookup: assertion > > > > > failed: (priv->widget != NULL || priv->widget_path != NULL) > > > > > Aborted > > > > > > > > > > Nothing I have tried helped so far... > > > > > > > > > > Environment: > > > > > Slackware 14.1 > > > > > gtk: 3.8.2 (Slackware default) > > > > > iup: tried with the latest available for download and the > > > > > latest svn too, same result in both > > > > > cd/im/lua5.1: latest available for download > > > > > > > > > > Any ideas?! > > > > > > > > > > Thanks, > > > > > > > > > > Grieb. > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > _______________________________________________ > > > > > 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 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