> Maciej wrote:
> >> Hi,
> >> when I try to build "hello world" project from FLTK manual I receive those 
> >> errors:
> >>
> >> "Linking...
> >> hello.obj : error LNK2019: unresolved external symbol "public: static int 
> >> __cdecl Fl::run(void)" ([EMAIL PROTECTED]@@SAHXZ) referenced in function 
> >> _main
> >> hello.obj : error LNK2019: unresolved external symbol "public: void 
> >> __thiscall Fl_Window::show(int,char * *)" ([EMAIL PROTECTED]@@[EMAIL 
> >> PROTECTED]) referenced in function _main
> >> hello.obj : error LNK2019: unresolved external symbol "public: void 
> >> __thiscall Fl_Group::end(void)" ([EMAIL PROTECTED]@@QAEXXZ) referenced in 
> >> function _main
> >> hello.obj : 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 LNK2019: unresolved external symbol "public: __thiscall 
> >> Fl_Window::Fl_Window(int,int,char const *)" (??0Fl_Window@@[EMAIL 
> >> PROTECTED]@Z) referenced in function _main
> >> hello.obj : error LNK2019: unresolved external symbol "protected: 
> >> __thiscall Fl_Widget::Fl_Widget(int,int,int,int,char const *)" 
> >> (??0Fl_Widget@@[EMAIL PROTECTED]@Z) referenced in function "public: 
> >> __thiscall Fl_Box::Fl_Box(int,int,int,int,char const *)" 
> >> (??0Fl_Box@@[EMAIL PROTECTED]@Z)
> >> hello.obj : error LNK2001: unresolved external symbol "protected: virtual 
> >> void __thiscall Fl_Box::draw(void)" ([EMAIL PROTECTED]@@MAEXXZ)
> >> hello.obj : error LNK2001: unresolved external symbol "public: virtual int 
> >> __thiscall Fl_Box::handle(int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
> >> hello.obj : error LNK2001: unresolved external symbol "public: virtual 
> >> void __thiscall Fl_Widget::resize(int,int,int,int)" ([EMAIL 
> >> PROTECTED]@@[EMAIL PROTECTED])
> >> hello.obj : error LNK2019: unresolved external symbol "public: virtual 
> >> __thiscall Fl_Widget::~Fl_Widget(void)" (??1Fl_Widget@@[EMAIL PROTECTED]) 
> >> referenced in function "public: virtual __thiscall Fl_Box::~Fl_Box(void)" 
> >> (??1Fl_Box@@[EMAIL PROTECTED])
> >> MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol 
> >> [EMAIL PROTECTED] referenced in function ___tmainCRTStartup"
> >>
> >> What should I do to get rid of it?
> >>
> >> Thanks.
> >> Maciek
> >
> > Anybody can help me?
>
>       Your link line is probably missing linking in the fltk.lib.
>       What's your link line look like, and how did you come up with it?
>
>       Look at the compile/link line when building FLTK's own test/hello.cxx
>       and compare it to the one you're using to build your version.

Thanks for help Greg, I've set the parameters analogical like in test projects 
and it works:)

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to