I think you might need to link against ws2_32.lib - note that linking 
order is important, so you'll have to link to ws2_32.lib before you link 
to any of fltk's openGL stuff.

HTH,
Ben

On 29/11/10 11:33, Son Duong wrote:
> Hello, I'm trying to set up and write a simple program with fltk and openGl 
> (following a tutorial). However when I combine I get these error:
>
> 1>fltkd.lib(Fl.obj) : error LNK2019: unresolved external symbol 
> ___wsafdis...@8 referenced in function "int __cdecl fl_wait(double)" 
> (?fl_wait@@y...@z)
>
> 1>fltkd.lib(Fl.obj) : error LNK2019: unresolved external symbol _sel...@20 
> referenced in function "int __cdecl fl_wait(double)" (?fl_wait@@y...@z)
>
> 1>fltkd.lib(Fl.obj) : error LNK2019: unresolved external symbol 
> __imp___trackmouseev...@4 referenced in function "long __stdcall 
> WndProc(struct HWND__ *,unsigned int,unsigned int,long)" 
> (?WndProc@@YGJPAUHWND__@@i...@z)
>
>
> I'm using VC++ 2010 Express.
> _______________________________________________
> fltk-opengl mailing list
> fltk-opengl@easysw.com
> http://lists.easysw.com/mailman/listinfo/fltk-opengl
>
>

_______________________________________________
fltk-opengl mailing list
fltk-opengl@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to