Okay I figured it out.  Apparently I need a couple more options here.  I 
compiled it using.
$ fltk2-config --compile main.cpp

and it worked.  It also gave me the commands it used.
$ c++ -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include 
-O2 -fno-strict-aliasing -pipe -I/usr/local/include -Wno-non-virtual-dtor -o 
main main.cpp -L/usr/local/lib /usr/local/lib/libfltk2.a -L/usr/local/lib 
-R/usr/local/lib -L/usr/local/lib -pthread -lX11 -lXi -lXinerama -lXft 
-lpthread -lm -lXext -lsupc++

This works so I'll just use fltk2-config in the future and hopefully I won't 
have a problem.  Thanks for you help man.

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

Reply via email to