On 2 Dec 2011, at 00:04, Long To wrote:

>>> 
>>> On 1 Dec 2011, at 23:45, Long To wrote:
>>> 
>>>> Hello,
>>>> =20
>>>> I have succeeded to compile the flbill source in vs2010 with =
>>> fltk-1.3.x without any major problem; but am getting the following =
>>> linker errors. I seems to remeber seeing the same errors before
>>>> =20
>>>> fltk.lib(Fl.obj) : error LNK2001: unresolved external symbol =
>>> ___WSAFDIsSet@8
>>>> 1>fltk.lib(Fl.obj) : error LNK2001: unresolved external symbol =
>>> _select@20
>>>> 1>fltk.lib(Fl.obj) : error LNK2001: unresolved external symbol =
>>> __imp___TrackMouseEvent@
>>>> =20
>>>> Could someone point me to the right path? Thanks!
>>> 
>>> 
>>> You are missing a windows lib from your link line - can't recall =
>>> off-hand which one, looks like maybe comctl32 at a guess.
>>> 
>>> 
>>> 
>> Thank! That was one of them; __WSAFDIsSet and _select@20 still unresolved.
> 
> Solve! the other required windows lib is: wsock32.lib


Hmm, maybe, though I think that is deprecated. Try ws2_32 (or whatever it is 
called) first and only use wsock32 if that does not work.




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

Reply via email to