complie error with 0.99beta,xe10.2
Just create a project with one form,and put a button.
[DCC Error] E2597 G:\Program Files\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lz
g:\program files\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflate(System::Zlib::z_stream&, int): error: undefined reference to 'deflate' g:\program files\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflateEnd(System::Zlib::z_stream&): error: undefined reference to 'deflateEnd' g:\program files\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflate(System::Zlib::z_stream&, int): error: undefined reference to 'inflate' g:\program files\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateEnd(System::Zlib::z_stream&): error: undefined reference to 'inflateEnd' g:\program files\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateReset(System::Zlib::z_stream&): error: undefined reference to 'inflateReset' g:\program files\embarcadero\studio\19.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_' g:\program files\embarcadero\studio\19.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_'
Comments (3)
-
repo owner -
repo owner - changed status to resolved
-
Worked for me with: sudo apt install zlib1g-dev
- Log in to comment
This is not CrossVcl, but RTL's Zlib issue. Try to install ZLib to your linux machine - "sudo apt install zlib" and then update Linux SDK in Delphi