I'm trying to use fltk2.0-r6525 and I can build the "fltk" "fltkdll" and "fltkdll_image" vcprojs just fine but the "hello" project fails linkage. Im getting unresolved externals on the Widget class. Im builing the "Debug" version by the way. All the other example vcprojs fail linkage too.
Thanks, Tyler Here's the full build output: Compiling... hello.cxx Linking... fltk2d.lib(Widget.obj) : error LNK2019: unresolved external symbol "void __cdecl delete_associations_for(class fltk::Widget *)" (?delete_associations_for@@yaxpavwid...@fltk@@@Z) referenced in function "public: virtual __thiscall fltk::Widget::~Widget(void)" (??1wid...@fltk@@u...@xz) fltk2d.lib(ShortcutAssignment.obj) : error LNK2019: unresolved external symbol "public: void __thiscall fltk::Widget::add(class fltk::AssociationType const &,void *)" (?...@widget@fltk@@qaexabvassociationt...@2@p...@z) referenced in function "public: bool __thiscall fltk::Widget::add_shortcut(unsigned int)" (?add_short...@widget@fltk@@qae...@z) fltk2d.lib(ShortcutAssignment.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall fltk::Widget::find(class fltk::AssociationType const &,void *)const " (?f...@widget@fltk@@qbe_nabvassociationt...@2@p...@z) referenced in function "public: bool __thiscall fltk::Widget::add_shortcut(unsigned int)" (?add_short...@widget@fltk@@qae...@z) fltk2d.lib(ShortcutAssignment.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall fltk::Widget::remove(class fltk::AssociationType const &,void *)" (?rem...@widget@fltk@@qae_nabvassociationt...@2@p...@z) referenced in function "public: bool __thiscall fltk::Widget::remove_shortcut(unsigned int)" (?remove_short...@widget@fltk@@qae...@z) fltk2d.lib(ShortcutAssignment.obj) : error LNK2019: unresolved external symbol "public: void __thiscall fltk::Widget::set(class fltk::AssociationType const &,void *)" (?...@widget@fltk@@qaexabvassociationt...@2@p...@z) referenced in function "public: void __thiscall fltk::Widget::remove_shortcuts(void)" (?remove_shortc...@widget@fltk@@QAEXXZ) fltk2d.lib(ShortcutAssignment.obj) : error LNK2019: unresolved external symbol "public: void * __thiscall fltk::Widget::get(class fltk::AssociationType const &)const " (?...@widget@fltk@@qbepaxabvassociationt...@2@@Z) referenced in function "public: unsigned int __thiscall fltk::Widget::shortcut(void)const " (?short...@widget@fltk@@QBEIXZ) fltk2d.lib(ShortcutAssignment.obj) : error LNK2019: unresolved external symbol "public: void * __thiscall fltk::Widget::foreach(class fltk::AssociationType const &,class fltk::AssociationFunctor &)const " (?fore...@widget@fltk@@qbepaxabvassociationt...@2@aavassociationfunc...@2@@Z) referenced in function "public: bool __thiscall fltk::Widget::test_shortcut(bool)const " (?test_short...@widget@fltk@@qbe_...@z) fltk2d.lib(ShortcutAssignment.obj) : error LNK2019: unresolved external symbol "void * __cdecl fltk::foreach(class fltk::AssociationType const *,class fltk::Widget const *,class fltk::AssociationFunctor &)" (?fore...@fltk@@yapaxpbvassociationt...@1@pbvwid...@1@aavassociationfunc...@1@@Z) referenced in function "unsigned int __cdecl fltk::foreachShortcut(class fltk::Widget const *,class fltk::ShortcutFunctor &)" (?foreachshort...@fltk@@yaipbvwid...@1@aavshortcutfunc...@1@@Z) ./../test/hellod.exe : fatal error LNK1120: 8 unresolved externals Creating browse information file... Microsoft Browse Information Maintenance Utility Version 8.00.50727 Copyright (C) Microsoft Corporation. All rights reserved. Build log was saved at "file://c:\Users\Tyler\Documents\UCD\Computer_Animation\DANCE\dance_v3\extensions\fltk-2.0.x-r6525\ide\vcnet\Debug\BuildLog.htm" hello - 9 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ========== _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
