Page 1 of 1

unidac delphi xe5 trail version problem Dac.inc missing

Posted: Sun 02 Nov 2014 17:38
by croc
Hello,

I try to compile simple mysql database to tstring but I get error.

I get the following file open MyDac.inc with red {$I Dac.inc}

//////////////////////////////////////////////////
// MySQL Data Access Components
// Copyright © 1998-2014 Devart. All right reserved.
//////////////////////////////////////////////////

// Type of build

{$I Dac.inc}

{$DEFINE UNIDACPRO}

{$DEFINE HAVE_DIRECT}

{$IFDEF WIN32}
{$IFNDEF FPC}
{$DEFINE EMBLOG}
{$ENDIF}
{$ENDIF}


I get in the log text this: "[DCC Fatal Error] MyDac.inc(9): F1026 File not found: 'Dac.inc'" how can I solve this ??

I don't get it when I compile it to WIN32 but when I compiled it for android.

Hoop to hear soon.

Re: unidac delphi xe5 trail version problem Dac.inc missing

Posted: Sun 02 Nov 2014 18:07
by croc
I solved the problem.

The following was missing in the andriod lib path:
C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE5\Source\NexusDBProvider
C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE5\Lib\Android

After that it compiled.

Re: unidac delphi xe5 trail version problem Dac.inc missing

Posted: Mon 03 Nov 2014 05:55
by ViktorV
It is good to see that the problem has been solved. Feel free to contact us if you have any further questions.