I'm trying to create a new project with FLTK and VC++2010. I haven't done this in a while. I set up the properties by memory as best I could. I'm getting a linker error though. Can anyone tell me how to fix this?
1>------ Build started: Project: BJST chap 14 ex 1a, Configuration: Debug Win32 ------
1> BJST chap 14 ex 1.cpp
1>c:\users\bryan\documents\visual studio 2010\projects\bjst chap 14 ex 1a\bjst chap 14 ex 1a\bjst chap 14 ex 1.cpp(10): error C2065: 'FL_Window' : undeclared identifier
1>c:\users\bryan\documents\visual studio 2010\projects\bjst chap 14 ex 1a\bjst chap 14 ex 1a\bjst chap 14 ex 1.cpp(10): error C2146: syntax error : missing ';' before identifier 'window'
1>c:\users\bryan\documents\visual studio 2010\projects\bjst chap 14 ex 1a\bjst chap 14 ex 1a\bjst chap 14 ex 1.cpp(10): error C3861: 'window': identifier not found
1>c:\users\bryan\documents\visual studio 2010\projects\bjst chap 14 ex 1a\bjst chap 14 ex 1a\bjst chap 14 ex 1.cpp(12): error C2065: 'FL_Box' : undeclared identifier
1>c:\users\bryan\documents\visual studio 2010\projects\bjst chap 14 ex 1a\bjst chap 14 ex 1a\bjst chap 14 ex 1.cpp(12): error C2146: syntax error : missing ';' before identifier 'box'
1>c:\users\bryan\documents\visual studio 2010\projects\bjst chap 14 ex 1a\bjst chap 14 ex 1a\bjst chap 14 ex 1.cpp(12): error C3861: 'box': identifier not found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#include <FL/Fl.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Window.H>
int main ()
{
FL_Window window(200, 200, "window title");
FL_Box box();
return 0;
}