Jack wrote: >> > I get these messages while compiling stik >>>> Link: http://graphics.ucmerced.edu/software.html >>>> They seem to be relating to fltk >>>> e.g. can't resolve fltk::foreachShortcut >>>> I have checked the source and i confirmed there was no such >>>> implementation. add has been changed to add_shortcut() >>>> Thanks for any advices >>>> Jack >>> You must use FLTK 2.0 to compile this project. You can see this easily >>> at "fltk2d.lib" and "fltk::Widget::...". >>> >>> Albrecht >> Hi Albrecht, >> >> Greatly appreciated. Thanks, but the problem was when I compiled fltk... >> from VS6.0, there were errors.
Please be more specific what you did. We still don't know if you really used FLTK 2 now - although further reading lets me assume that you did. And if there were errors, please cut and paste (some of) them to show us. Without exact error messages it is very difficult to see what might be the cause. [Side note: after reading your previous post again, I do now see that you posted the correct error messages, but it looked like they were from compiling/linking stik and not fltk. :-( ] >> So when I use fltk (probably not completed) >> , compiling stik also had errors. The compiler complaint that there were no >> definitions of fltk::Widget::add, ftlk::Widget::remove etc. Okay, this is clearly FLTK 2. >> I didn't touch anything, I started out with the zip file, used the dsw file >> and saw those messages. Could anyone show me how to get fltkd.lib completed? >> Thanks >> Jack > > > I checked on the widget.obj file, and the cxx file, no such item was called > Widget::add, So how can I compile fltk? Thanks > Jack Yep, that's true. Some of the VC (and maybe other) project files are not up-to-date, this is a known problem in FLTK 2, see STR #2160 [1]: "... please add the file src/WidgetAssociation.cxx to your project settings". Albrecht [1] http://www.fltk.org/str.php?L2160 _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

