I belive I was using VC.net 2002 or 2003. FLTK would not compile unmodified. At
one point, Rectangle was causing errors. Replacing it with fltk::Rectangle
fixed the problem.
The other more serious problem is that VC does not support the long long
datatype. However, it can be remedied easily:
filename.h:
FL_API long long unsigned filename_size(const char *);
becomes
FL_API unsigned __int64 filename_size(const char *);
filename_isdir.cxx:
unsigned long long fltk::filename_size(const char* name) {
if (!fill_stat(name)) return 0;
return (unsigned long long)last_stat.st_size;
}
becomes
unsigned __int64 fltk::filename_size(const char* name) {
if (!fill_stat(name)) return 0;
return (unsigned __int64)last_stat.st_size;
}
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev