Error compiling with mydac 5.10

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
el_ade
Posts: 10
Joined: Fri 08 Apr 2005 03:09
Location: Cancun

Error compiling with mydac 5.10

Post by el_ade » Fri 15 Jun 2007 00:46

I have windows vista, Delphi 2007 and MyDac 5.10 when I try to compile a program I get the following error:

[DCC Error] MyConnectForm.pas(257): F2039 Could not create output file 'C:\Program Files\CoreLab\MyDac for Delphi 2007\Lib\MyConnectForm.dcu'

What could be the problem?

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Fri 15 Jun 2007 13:09

It seems that this folder is read-only.
Try to uncheck the Read-only property in the folder properties window.

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Fri 15 Jun 2007 14:54

You can also specify unit output directory to another folder.
Use the "Project->Options->Directories/Conditionals->Unit output directory" editor for this.

Post Reply