Page 1 of 1

Error compiling Demo 6.4.15 on Delphi 7

Posted: Thu 17 Nov 2016 14:01
by adroege
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?

Re: Error compiling Demo 6.4.15 on Delphi 7

Posted: Thu 17 Nov 2016 15:30
by MaximG
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.

Re: Error compiling Demo 6.4.15 on Delphi 7

Posted: Thu 17 Nov 2016 15:41
by adroege
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

Re: Error compiling Demo 6.4.15 on Delphi 7

Posted: Thu 17 Nov 2016 16:56
by adroege
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

Re: Error compiling Demo 6.4.15 on Delphi 7

Posted: Fri 18 Nov 2016 07:30
by MaximG
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.