DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2414 Version: 2.0-current On Windows, I build with MSVC 7 & 9 (2008 Express). 1) r7680 builds and runs my code on Linux. 2) Windows: I tried using the solution files in ide/visualc (missing a file, I think it was ShortcutAssignment) and ide/vcnet (much better) but when I link my program, I get: fltk.obj : error LNK2019: unresolved external symbol "public: bool __thiscall fltk::Widget::shortcut(unsigned int)" (?short...@widget@fltk@@qae...@z) referenced in function "struct Instance * __cdecl Widget_shortcut(struct ZWidget *,struct Instance *,struct Instance *)" (?Widget_shortcut@@YAPAUInstance@@PAUZWidget@@p...@1@Z)\ This from: static Instance *Widget_shortcut(ZWidget *self,Instance *arglist,pVM vm) { int64_t key; if (arglistTryToGetInt(arglist,0,&key,vm)) >>>>> self->widget->shortcut((unsigned)key); <<<<<<<<<<<<<<<<<< // return intCreate(self->widget->shortcut(),vm); } Commenting out the offending line, it links but many bad things happen (core dumps, funny drawing). So it is back to r6090 on windows. Unfortunately, my C++ code is 3000+ lines and the test programs are not in C++. Link: http://www.fltk.org/str.php?L2414 Version: 2.0-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
