Has anyone tried compiling Fltk 1.1.7 using gcc 4.1.2 on openSuSE 10.2? I stuck with the default configuration (./configure, without any options). When I run make, it halts with
cursor.cxx: In function âvoid choice_cb(Fl_Widget*, void*)â: cursor.cxx:42: error: cast from âvoid*â to âintâ loses precision I guess this is a 64 bit compatibility issue, so I changed the gcc and g++ flags by adding -m32 This time it stops with the error Linking fluid... /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible ../lib/libfltk_png.a when searching for -lfltk_png /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lfltk_png collect2: ld returned 1 exit status Then I tried by setting GNUTARGET='elf32-i386' but I still get the error Linking fluid... /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible ../lib/libfltk_png.a when searching for -lfltk_png /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lfltk_png collect2: ld returned 1 exit status Does anyone know how to get around this?
_______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

