Error compiling Demo 6.4.15 on Delphi 7

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
adroege
Posts: 16
Joined: Tue 07 Apr 2009 16:13
Location: Orlando, FL

Error compiling Demo 6.4.15 on Delphi 7

Post by adroege » Thu 17 Nov 2016 14:01

I installed UniDac Pro with source code 6.5.15 on Delphi 7 and proceeded to compile the Demo. Getting the error "[Fatal Error] LiteStaticCallUni.pas(8); File not found 'LiteDac.inc'

What do I do?

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

Re: Error compiling Demo 6.4.15 on Delphi 7

Post by MaximG » Thu 17 Nov 2016 15:30

We have cheсked installation of UniDAC Professional Edition with source code on Delphi 7 and found no issues. Check the paths to libraries - «Tools\Environment Options ...\Library\Library Path.

adroege
Posts: 16
Joined: Tue 07 Apr 2009 16:13
Location: Orlando, FL

Re: Error compiling Demo 6.4.15 on Delphi 7

Post by adroege » Thu 17 Nov 2016 15:41

Thank you for responding quickly.

I have done a search on my entire hard drive and don't find the file 'LiteDac.inc' it was looking for.

I have the following paths added to my Library path
C:\UniDac for Delphi 7\Source;
C:\UniDac for Delphi 7\Lib;
C:\UniDac for Delphi 7\Bin;
C:\UniDac for Delphi 7\Source\NexusDBProvider

adroege
Posts: 16
Joined: Tue 07 Apr 2009 16:13
Location: Orlando, FL

Re: Error compiling Demo 6.4.15 on Delphi 7

Post by adroege » Thu 17 Nov 2016 16:56

Ok... I removed the path to "Source" and was able to build finally.

>>I have the following paths added to my Library path
>>C:\UniDac for Delphi 7\Source;
>>C:\UniDac for Delphi 7\Lib;
>>C:\UniDac for Delphi 7\Bin;
>>C:\UniDac for Delphi 7\Source\NexusDBProvider

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

Re: Error compiling Demo 6.4.15 on Delphi 7

Post by MaximG » Fri 18 Nov 2016 07:30

Thank you for your information. We have cheсked installation of UniDAC Professional Edition on Delphi 7 again and came to the conclusion that you are using the version without a source code. In this case, when adding the path [UniDac install folder]\Source to the Library Path the error ” File not found 'LiteDac.inc' ” occurs. We will fix this behavior. The fix will be included in the next UniDAC build we are going to release soon.

Post Reply