MacOS cross compiling problems.

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
matamica
Posts: 7
Joined: Tue 29 Nov 2011 08:39

MacOS cross compiling problems.

Post by matamica » Fri 13 Jan 2012 09:38

Hi,
I have installed mydac 7.1.4 for Rad Studio XE2.
If I build a project and and target 32-bit Windows it works with no problems.
If I target OSX I get the fallowing errors:

[ILINK32 Error] Error: Unresolved external 'System::Zlib::deflateInit_(System::Zlib::z_stream&, int, char *, int)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\9.0\LIB\OSX32\RELEASE\DAC160.A|MemUtils.o

[ILINK32 Error] Error: Unresolved external 'System::Zlib::deflate(System::Zlib::z_stream&, int)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\9.0\LIB\OSX32\RELEASE\DAC160.A|MemUtils.o

[ILINK32 Error] Error: Unresolved external 'System::Zlib::deflateEnd(System::Zlib::z_stream&)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\9.0\LIB\OSX32\RELEASE\DAC160.A|MemUtils.o

[ILINK32 Error] Error: Unresolved external 'System::Zlib::inflateInit_(System::Zlib::z_stream&, char *, int)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\9.0\LIB\OSX32\RELEASE\DAC160.A|MemUtils.o

[ILINK32 Error] Error: Unresolved external 'System::Zlib::inflate(System::Zlib::z_stream&, int)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\9.0\LIB\OSX32\RELEASE\DAC160.A|MemUtils.o

[ILINK32 Error] Error: Unresolved external 'System::Zlib::inflateEnd(System::Zlib::z_stream&)' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\RAD STUDIO\9.0\LIB\OSX32\RELEASE\DAC160.A|MemUtils.o

Can someone help? Thanks.

AndreyZ

Post by AndreyZ » Fri 13 Jan 2012 11:07

Hello,

Thank you for the information. We have reproduced the problem and investigation of the problem is in progress. As soon as we have any results we will let you know.

matamica
Posts: 7
Joined: Tue 29 Nov 2011 08:39

Any news???

Post by matamica » Mon 23 Jan 2012 09:24

When is going to be the next update? And will this problems be fixed in the update?

AndreyZ

Post by AndreyZ » Mon 23 Jan 2012 17:03

This problem is caused by a bug in C++Builder XE2. We posted this bug to Embarcadero Quality Central here: http://qc.embarcadero.com/wc/qcmain.aspx?d=102742 . As a workaround, you can add the dac160 and mydac160 packages to "Project->Options->Packages->Runtime Packages->Runtime package import libraries".

Post Reply