The following commands will allow you to compile an FLTK program in Linux.
Imagine you had a program called mywindow.cpp & a header file called mywindow.h
g++ -g -Wall mywindow.h mywindow.cpp -lfltk -lXft -lXext -lX11 -o mywindow
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment