making opengl work on solaris

we have solaris machines in our labs at our university and we have the fltk toolkit for glut on it. i am trying to make opengl with glut using fltk toolkit on it. but i am having certain problems could you kindly suggest the steps to solve this problem:

i get the following error:
denali: ~] > g++ -c fltk2.cpp
fltk2.cpp:1:19: Fl/Fl.H: No such file or directory
fltk2.cpp:2:27: Fl/Fl_Window.H: No such file or
directory
fltk2.cpp:3:24: Fl/Fl_Box.H: No such file or directory
fltk2.cpp: In function int main(int, char**)': fltk2.cpp:7: Fl_Window’ undeclared (first use this
function)
fltk2.cpp:7: (Each undeclared identifier is reported
only once for each
function it appears in.)
fltk2.cpp:7: window' undeclared (first use this function) fltk2.cpp:7: syntax error before (’ token
fltk2.cpp:8: Fl_Box' undeclared (first use this function) fltk2.cpp:8: box’ undeclared (first use this
function)
fltk2.cpp:8: syntax error before (' token fltk2.cpp:9: FL_UP_BOX’ undeclared (first use this
function)
fltk2.cpp:11: FL_BOLD' undeclared (first use this function) fltk2.cpp:11: FL_ITALIC’ undeclared (first use this
function)
fltk2.cpp:12: FL_SHADOW_LABEL' undeclared (first use this function) fltk2.cpp:15: Fl’ undeclared (first use this
function)
fltk2.cpp:15: syntax error before `::’ token

fltk2.cpp is a simple hello world program from fltk.org
the program is:

here is my program:
#include <Fl/Fl.H>
#include <Fl/Fl_Window.H>
#include <Fl/Fl_Box.H>

int main(int argc, char **argv)
{
Fl_Window *window = new Fl_Window(300,180);
Fl_Box *box = new Fl_Box(20,40,260,100,“Hello,
World!”);
box->box(FL_UP_BOX);
box->labelsize(36);
box->labelfont(FL_BOLD+FL_ITALIC);
box->labeltype(FL_SHADOW_LABEL);
window->end();
window->show(argc, argv);
return Fl::run();
}

somebody kindly do the needful as soon as possible

regards
rohit

This is a compiler question and it obviously can’t find the include files, filenames are case sensitive on Solaris.

You appear to have “.H” instead of “.h”, just a suggestion.

Read your compiler output and start with the first problem output and work your way down, what the heck are they teaching at that university?