Ok this is what I finally came up with so cbox would compile on My 64bit
Ubuntu MATE.
This is my bash script file contents called with just the file name no
extension.
#!/bin/bash
gcc $1.c -o $1 \
-liup \
-liupimglib \
-liupcontrols \
-liupcd \
-lcdcontextplus \
$(pkg-config gtk+-3.0 --cflags --libs ) \
-lX11 \
-lm \
-lcd \
-lfontconfig \
-lfreetype \
$2 $3
#==============================================================================

I get this warning when compiling cbox
------------------------------------------------------------------------------
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libcd.a(cd_util.o): In
function `cdStrTmpFileName':
cd_util.c:(.text+0x1115): warning: the use of `tmpnam' is dangerous, better
use `mkstemp'
'------------------------------------------------------------------------------
I get this after runnibg cbox
(cbox:7445): Gtk-WARNING **: Toplevel size doesn't seem to directly depend
on the size of the geometry widget from gtk_window_set_geometry_hints().
The geometry widget might not be in the window, or it might not be packed
into the window appropriately
'------------------------------------------------------------------------------

James
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to