Am On 18.04.2011 23:32, schrieb Ian MacArthur wrote:
>
> On 18 Apr 2011, at 20:43, Zoltán Lengyel wrote:
>
>> I found the problem, it was the changed form of the Additional Dependencies
>> line, in MSVC++ 2010.
>> It should look like this:
>> fltk.lib;wsock32.lib;comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
>>
>
> NOTE: if this is fltk-1.3 you ought to be using ws2_32 NOT wsock, I think...

Yep, that's right - almost. FLTK itself doesn't link ws2_32 directly,
but it loads the ws2_32.dll if it needs it. So, the user *should*
link with ws2_32.lib, if *his* code needs it only, but doesn't need
to do for FLTK to work correctly. In fact, AFAICT FLTK uses ws2_32
only if you use Fl::add_fd() to watch a socket.

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

Reply via email to