> FLTK Version 1.1.10 > > Compiler: Microsoft Visual C++ 2008 Express > > I'm generating compile-time errors when attempting to run your "Hello World" > example that comes with your library. When I debug, I get the following: > > Error 1 error LNK2019: unresolved external symbol "public: static int > __cdecl Fl::run(void)" (?...@fl@@SAHXZ) referenced in function _main > hello.obj > > Error 2 error LNK2019: unresolved external symbol "public: void > __thiscall Fl_Window::show(int,char * *)" (?s...@fl_window@@qaexhpa...@z) > referenced in function _main hello.obj > > Error 3 error LNK2019: unresolved external symbol "public: void > __thiscall Fl_Group::end(void)" (?...@fl_group@@QAEXXZ) referenced in > function _main hello.obj > > Error 4 error LNK2019: unresolved external symbol "enum Fl_Labeltype > __cdecl fl_define_FL_SHADOW_LABEL(void)" > (?fl_define_FL_SHADOW_LABEL@@YA?AW4Fl_Labeltype@@XZ) referenced in function > _main hello.obj > > Error 5 error LNK2019: unresolved external symbol "public: __thiscall > Fl_Window::Fl_Window(int,int,char const *)" (??0Fl_Window@@q...@hhpbd@Z) > referenced in function _main hello.obj > > Error 6 error LNK2019: unresolved external symbol "protected: > __thiscall Fl_Widget::Fl_Widget(int,int,int,int,char const *)" > (??0Fl_Widget@@i...@hhhhpbd@Z) referenced in function "public: __thiscall > Fl_Box::Fl_Box(int,int,int,int,char const *)" (??0Fl_Box@@q...@hhhhpbd@Z) > hello.obj > > Error 7 error LNK2001: unresolved external symbol "protected: virtual > void __thiscall Fl_Box::draw(void)" (?d...@fl_box@@MAEXXZ) hello.obj > > Error 8 error LNK2001: unresolved external symbol "public: virtual int > __thiscall Fl_Box::handle(int)" (?han...@fl_box@@ua...@z) hello.obj > > Error 9 error LNK2001: unresolved external symbol "public: virtual void > __thiscall Fl_Widget::resize(int,int,int,int)" > (?res...@fl_widget@@uaexh...@z) hello.obj > > Error 10 error LNK2019: unresolved external symbol "public: virtual > __thiscall Fl_Widget::~Fl_Widget(void)" (??1Fl_Widget@@u...@xz) referenced in > function "public: virtual __thiscall Fl_Box::~Fl_Box(void)" > (??1Fl_Box@@u...@xz) hello.obj > > Error 11 fatal error LNK1120: 10 unresolved externals > C:\Users\Owner\Documents\College\C++\FLTK\HelloWorld\Debug\HelloWorld.exe >
Sorry, I forgot my question: How do I resolve these errors? _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
