Linux:
simply try the following line:

	gcc -lfltk -lfltk_gl -o testplot testplot.cpp

Windows:

you may use the visual c++ project files.
