Page 1 of 1

LiteStaticUni.pas missing from sources

Posted: Fri 14 Feb 2014 10:51
by CristianP
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

Re: LiteStaticUni.pas missing from sources

Posted: Fri 14 Feb 2014 11:35
by AlexP
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.

Re: LiteStaticUni.pas missing from sources

Posted: Thu 13 Mar 2014 09:51
by shulkevich
What is the reason for distributing Litestaticuni unit only as binary dcu?

Re: LiteStaticUni.pas missing from sources

Posted: Thu 13 Mar 2014 10:40
by AlexP
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.

Re: LiteStaticUni.pas missing from sources

Posted: Fri 12 Sep 2014 16:24
by FerCastro
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

Re: LiteStaticUni.pas missing from sources

Posted: Wed 17 Sep 2014 09:31
by AlexP
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>