RESTRequest4Delphi icon indicating copy to clipboard operation
RESTRequest4Delphi copied to clipboard

Erro ao tentar compilar para linux

Open fiberDeco opened this issue 1 year ago • 0 comments

Bom dia, tem alguma configuração para compilar para linux com PAServer.

Quando adiciono

Interface uses System.SysUtils,System.Classes, DataSet.Serialize,RESTRequest4D;

Type iIxcOS = interface ['{23C4C806-2CE3-4DA7-940D-53CC2D5723E3}']

Da erro na hora de compilar para o o linux

Versão Ubuntu 22

Msg de Erro

[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\ld-linux.exe: error: cannot find -lz c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflate(System::Zlib::z_stream&, int): error: undefined reference to 'deflate' c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflateEnd(System::Zlib::z_stream&): error: undefined reference to 'deflateEnd' c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflate(System::Zlib::z_stream&, int): error: undefined reference to 'inflate' c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateEnd(System::Zlib::z_stream&): error: undefined reference to 'inflateEnd' c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateReset(System::Zlib::z_stream&): error: undefined reference to 'inflateReset' c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflateInit2_(System::Zlib::z_stream&, int, int, int, int, int, char*, int): error: undefined reference to 'deflateInit2_' c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateInit2_(System::Zlib::z_stream&, int, char*, int): error: undefined reference to 'inflateInit2_'

Quando tiro o RESTRequest4D compila normal..

fiberDeco avatar Aug 22 '24 14:08 fiberDeco