[fpc-pascal] Winsock problems on trunk: rtl-extra?

Reinier Olislagers reinierolislagers at gmail.com
Wed Jan 22 16:13:16 CET 2014


FPC trunk x86, windows.

Warning: fiddling newb alert.

I have a unit httpclient that apparently uses winsock2:
3rdparty\httpclient.pas(0,0) Fatal: Can not find unit WinSock2 used by
Sockets.

Temporarily adding this to the other unit files (-Fu) in Lazarus
;$(fpcsrcdir)\packages\rtl-extra\src\win
fixed that but now the
packages\rtl-extra\src\win\sockets.pp
unit cannot find
socketsh.inc
which indeed is not present in that directory but in
\rtl\inc\socketsh.inc

Does the FPC make files need some more adjustments... or do I need to
make them ;)

Thanks,
Reinier



More information about the fpc-pascal mailing list