need some fixes for freepascal console app: SynSrv.pas : {$IFNDEF FPC} [ComponentPlatformsAttribute(pidWin32 or pidWin64)] {$ENDIF} ssl_openssl_lib.pas : {$ELSE} SysUtils;//, // LCLIntf, LCLType, LMessages; {$ENDIF} then all work fine.