I am trying to get a 32-bit build of an application I created using fltk, but I 
do not seem to have the 32-bit library for the libfltk.a
I have tried to find a command line option for specifing to the configure to 
use 32-bits.
./configure --enable-32bits
which does not seem to fix the problem, although I do not get any errors...

If I run configure with no options then I am getting the 64 bit build and that 
works fine for building a 64 bit application, but I need to also be able to 
build a 32 bit version.
I can install fltk onto a 32bit machine and build my application, but that is 
not ideal.
I am running on Fedora Core 3, 64-bit AMD chip set. I am compiling with the 
following:
g++ -03 -m32 `fltk-config --cxxflags` -o <<files here>> `fltk-config --ldflags` 
-lfltk_gl -lGL -ljpeg

with the following link error:
/usr/bin/ld: skipping incompatible /usr/local/lib/libfltk.a when searching for 
-lfltk
/usr/bin/ld: cannot find -lfltk

Any suggestions?

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to