LiteStaticUni.pas missing from sources

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
CristianP
Posts: 79
Joined: Fri 07 Dec 2012 07:44
Location: Timișoara, Romania

LiteStaticUni.pas missing from sources

Post by CristianP » Fri 14 Feb 2014 10:51

Hello,

I have UniDAC 5.2.5 with sources and now when I try to debug something and want to use sources I have an error because I do not have LiteStaticUni.pas but only .dcu.
[dcc32 Fatal Error] LiteCallUni.pas(627): F2051 Unit LiteStaticUni was compiled with a different version of CRFunctions.PtrOffset

What can I do?

Best Regards,
Cristian Peta

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: LiteStaticUni.pas missing from sources

Post by AlexP » Fri 14 Feb 2014 11:35

Hello,

LiteStaticUni is distributed as binary only (the sources are not provided). This error occurs due to the fact that you haven't completely deleted the old UniDAC version - old *.dcu, *.bpl, etc. UniDAC files remained. Please delete UniDAC completely, delete *.dcu files of your project, and reinstall UniDAC.

shulkevich
Posts: 5
Joined: Thu 13 Mar 2014 09:49

Re: LiteStaticUni.pas missing from sources

Post by shulkevich » Thu 13 Mar 2014 09:51

What is the reason for distributing Litestaticuni unit only as binary dcu?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: LiteStaticUni.pas missing from sources

Post by AlexP » Thu 13 Mar 2014 10:40

The reason for distributing the Litestaticuni module as a binary is a quite complicated process of building and compilation of SQLite engine into a Delphi module.

FerCastro
Posts: 47
Joined: Mon 26 Jun 2006 17:32
Location: México City
Contact:

Re: LiteStaticUni.pas missing from sources

Post by FerCastro » Fri 12 Sep 2014 16:24

Hello,

I get this error when I try to install in XE6:

[dcc32 Warning] W1030 Invalid compiler directive: 'False'
[dcc32 Fatal Error] LiteCallUni.pas(671): F2063 Could not compile used unit 'LiteStaticUni.pas'


Any idea?? thanks in advance

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: LiteStaticUni.pas missing from sources

Post by AlexP » Wed 17 Sep 2014 09:31

In your project settings, try to change (in the *.dproj file) the section:

Code: Select all

<DCC_DebugInformation>False</DCC_DebugInformation> 
to

Code: Select all

<DCC_DebugInformation>0</DCC_DebugInformation>

Post Reply