LiteDAC on OSX and Lazarus

Discussion of open issues, suggestions and bugs regarding LiteDAC (SQLite Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
andrea.mauri
Posts: 8
Joined: Thu 26 Jan 2017 11:12

LiteDAC on OSX and Lazarus

Post by andrea.mauri » Mon 02 Jul 2018 10:11

Dear all,

I am not able to install LiteDAC packages on my OSX using Lazarus.
I got:
(3104) Compiling _external/LiteDAC/Source/LiteStaticCall.pas
_external/LiteDAC/Source/LiteStaticCall.pas(21,13) Fatal: (10022) Can't find unit LiteStatic used by LiteStaticCall

LiteDAC version 3.1.3 19-Sep-17
Lazarus 1.8.4 Freepascal 3.0.4

Any hint?

Is LiteDAC compatible both with OSX32 and OSX64 using Lazarus?

Thanks,
Andrea

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: LiteDAC on OSX and Lazarus

Post by azyk » Wed 04 Jul 2018 09:40

LiteDAC 3.1.3 does not support Lazarus 1.8.4, because it was released before this Lazarus version. Support for Lazarus 1.8.4 will be added in the next version of LiteDAC.

Lazarus supports only 32-bit macOS, therefore, LiteDAC for this platform also supports only 32-bit.

andrea.mauri
Posts: 8
Joined: Thu 26 Jan 2017 11:12

Re: LiteDAC on OSX and Lazarus

Post by andrea.mauri » Wed 04 Jul 2018 12:34

If I replace lazarus 1.8.4 with 1.6.4 and fpc 3.0.2 I will be able to install LiteDAC on macOS with lazarus?

Actually lazarus supports macOS 64 bit for console applications (fully) and for GUI applications using QT (fully) and Cocoa (not stable).
So there is a limit on LiteDAC side?
When you plan to release the next version compatible with Lazarus 1.8,.4 and do you plan to support macOS 64 bit too since lazarus supports it?

Best regards,
Andrea Mauri

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: LiteDAC on OSX and Lazarus

Post by azyk » Thu 05 Jul 2018 11:48

LiteDAC 3.1.3 is compatible with Lazarus 1.6.4 and fpc 3.0.2.

LiteDAC release with support for Lazarus 1.8.4 is planned within this or next week.

We will test LiteDAC for compatibility with Lazarus macOS 64 bit for console applications and let you know the results.

andrea.mauri
Posts: 8
Joined: Thu 26 Jan 2017 11:12

Re: LiteDAC on OSX and Lazarus

Post by andrea.mauri » Tue 28 Aug 2018 08:04

I tested LiteDac 3.1.3 with Lazarus 1.6.4 and FPC 3.0.2 on Linux.
I got the same error as on OSX:
LiteStaticCall.pas(21,13) Fatal: Cannot find LiteStatic used by LiteStaticCall.

So it seems that the issue is not related to Lazarus or FPC version but on Litedac 3.1.3 on Linux and OSX.
How I can solve this issue?

Additionally is the last released verion of LiteDAC 3.3 compatible only with Lazarus 1.8.4 or is compatible also with older Lazarus versions (e.g. 1.6.4)?

Have you tested LiteDac 3.3 compatibility with MacOS 64 bit?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: LiteDAC on OSX and Lazarus

Post by MaximG » Mon 10 Sep 2018 12:38

You can use LiteDAC 3.3.7 Professional Edition with source code to develop console applications for the macOS 64 bit platform. We tested our product work using this platform and found no problems. When using the Direct Mode, you will need
sqlite3fpcosx64.o library. At present, we do not distribute this library with our product, because we do not officially support macOS 64 bit platform in this case. However, we can send a link to download this library if needed

Post Reply