Hi, I'm trying to switch to the latest version of FLTK (2.0.x-r6525), but I'm running into some problems compiling on Windows XP 32-bit.
First of all, version 2.0.x-r6525 compiles fine on my Fedora 8 linux box; however, on my Windows XP laptop, I ran into a simple compiling error. Essentially, Windows_fullscreen.cxx needs a slight modification: I've added "#include <fltk/error.h>" near the top and changed "# warning ..." to "fltk::warning(...)". That was the easy part. Now comes the hard part. Once that compiled, I get 9 linking errors. I've pasted the messages below. I've tried using Visual Studio 6.0 for visualc/fltk.dsw and Visual Studio 2005 for vcnet/fltk.sln, and I get the same linking errors. Any ideas? Linking... fltk2.lib(Widget.obj) : error LNK2001: unresolved external symbol "void __cdecl delete_associations_for(class fltk::Widget *)" (?delete_associations_for@@[EMAIL PROTECTED]@@@Z) fltk2.lib(ShortcutAssignment.obj) : error LNK2001: unresolved external symbol "public: void __thiscall fltk::Widget::add(class fltk::AssociationType const &,void *)" ([EMAIL PROTECTED]@fltk@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) fltk2.lib(ShortcutAssignment.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall fltk::Widget::find(class fltk::AssociationType const &,void *)const " ([EMAIL PROTECTED]@fltk@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) fltk2.lib(ShortcutAssignment.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall fltk::Widget::remove(class fltk::AssociationType const &,void *)" ([EMAIL PROTECTED]@fltk@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) fltk2.lib(ShortcutAssignment.obj) : error LNK2001: unresolved external symbol "public: void __thiscall fltk::Widget::set(class fltk::AssociationType const &,void *)" ([EMAIL PROTECTED]@fltk@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) fltk2.lib(ShortcutAssignment.obj) : error LNK2001: unresolved external symbol "public: void * __thiscall fltk::Widget::get(class fltk::AssociationType const &)const " ([EMAIL PROTECTED]@fltk@@[EMAIL PROTECTED]@@Z) fltk2.lib(ShortcutAssignment.obj) : error LNK2001: unresolved external symbol "public: void * __thiscall fltk::Widget::foreach(class fltk::AssociationType const &,class fltk::AssociationFunctor &)const " ([EMAIL PROTECTED]@fltk@@QBEPAXABVAssociationTy [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z) fltk2.lib(ShortcutAssignment.obj) : error LNK2001: unresolved external symbol "void * __cdecl fltk::foreach(class fltk::AssociationType const *,class fltk::Widget const *,class fltk::AssociationFunctor &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@P [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z) Thanks, Ming _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
