Hi all!

Using Mac OS X 10.6.5

I build the 1.1.10 library configured like

$ ./configure --prefix=/Users/albertobesana
--execprefix=/Users/albertobesana/lib/fltk-1.1.10
CXX="g++ -arch x86_64" CXXFLAGS="-arch x86_64"

Then

make
make install

and everything seemed fine.

But when I try to test the installation

g++ -I/Users/albertobesana/include -L/Users/albertobesana/lib/fltk-1.1.10/lib 
-lfltk -o scratch scratch.cpp

I got

ld: warning: in /Users/albertobesana/lib/fltk-1.1.10/lib/libfltk.a, file was 
built for unsupported file format which is not the architecture being linked 
(x86_64)

and then a long list of

Undefined symbols:
[...]
ld: symbol(s) not found


My guess is I incorrectly compile the libraries but I need some suggestion.

Thank you!
Alberto

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

Reply via email to