I bought a c++ book for beginners and am trying to get my first program to compile. All compiling instructions in the book are for visual studio.
The book uses FLTK which I downloaded and installed and wrote a test program to display a hello world dialog. However when I type
g++ -B /usr/local/include/FL/ test.cpp
I get the following error:
test.cpp:1:16: error: Fl.h: No such file or directory
test.cpp:2:20: error: Fl_Box.h: No such file or directory
test.cpp:3:23: error: Fl_Window.h: No such file or directory
What's wrong?
The book uses FLTK which I downloaded and installed and wrote a test program to display a hello world dialog. However when I type
g++ -B /usr/local/include/FL/ test.cpp
I get the following error:
test.cpp:1:16: error: Fl.h: No such file or directory
test.cpp:2:20: error: Fl_Box.h: No such file or directory
test.cpp:3:23: error: Fl_Window.h: No such file or directory
What's wrong?