Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2014-01

Winsock problems on trunk: rtl-extra?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinier Olislagers

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

Sven Barth
to Reinier Olislagers
Reinier Olislagers wrote 19 lines
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 ;)

Should now be fixed in revision 26564. :)

Regards,
Sven

Reinier Olislagers
to Sven Barth
Sven Barth wrote 5 lines
Am 22.01.2014 16:13, schrieb Reinier Olislagers: > Does the FPC make files need some more adjustments... or do I need to > make them ;) Should now be fixed in revision 26564. :)

Thanks a lot Sven, works perfectly!