I'm having trouble. After spending hours trying to compile 1.3.x-r7694, I
_finally_ figured it out. I'm not sure I did it right though:
fltk\lib\ contains several lib files
fltk\ contains several dll files
fltk\include\fl contains several .h files
Settings that I changed from default:
project -> properties -> VC++ Directories -> Include Directories
- (default includes);C:\Users\jdwalter\Desktop\cs334\fltk\include\;
project -> properties -> VC++ Directories -> Library Directories
- (default includes);C:\Users\jdwalter\Desktop\cs334\fltk\lib;
project -> properties -> C/C++ -> Code Generation -> Runtime Library
- Multi-threaded DLL (/MD)
project -> properties -> C/C++ -> Precompiled Headers -> Precompiled Header
- Not using precompiled headers
I did attempt these settings as well, though they seemed to have no effect:
project -> properties -> C/C++ -> Command Line -> Additional Options
- /IC:\Users\jdwalter\Desktop\cs334\fltk\include\
- /IC:\Users\jdwalter\Desktop\cs334\fltk\
project -> properties -> linker -> Command Line -> Additional Options
- C:\Users\jdwalter\Desktop\cs334\fltk\lib\fltk.lib
- C:\Users\jdwalter\Desktop\cs334\fltk\lib\fltk.lib wsock32.lib comctl32.lib
I'm attempting to run this program:
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
int main()
{
FL_Window win(720, 486);
win.show();
return FL::run();
}
Errors that are making me die a little bit on the inside:
foo.cpp(6): error C2065: 'FL_Window' : undeclared identifier
foo.cpp(8): error C2653: 'FL' : is not a class or namespace name
foo.cpp(8): error C3861: 'run': identifier not found
I really have no idea what to do at this point. Any help would be greatly
appreciated.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk