Forum > Editor

Database Desktop on Mac not compiling

(1/3) > >>

eenplus:
Hallo, I'm new to Lazarus. When compiling the Database Desktop on Mac I always get confronted
with the error 'frmmain.pp(333,3) Fatal: Cannot find fpddmssql used by frmmain of the Project Inspector.'. Sounds logic,
as MSSql is not supported under Mac. But is there a work around for this ?

Tia.

/Dirk

Gustavo 'Gus' Carreno:
Hey Dirk,


--- Quote from: eenplus on April 11, 2021, 01:23:36 pm ---Hallo, I'm new to Lazarus. When compiling the Database Desktop on Mac I always get confronted
with the error 'frmmain.pp(333,3) Fatal: Cannot find fpddmssql used by frmmain of the Project Inspector.'. Sounds logic,
as MSSql is not supported under Mac. But is there a work around for this ?

--- End quote ---

Sounds logic, but I'm afraid has nothing to do with macOS's support or not of MSSQL.

What that indicates is that the compiler doesn't know where to find the source code file that contains the unit fpddmssql.
Either the file is missing, or if it exists it's not in any of the folders provided to the compiler to search for code.

If you point us to where is this Database Desktop source code exists, maybe we can provide more help?

Cheers,
Gus

wp:
I can confirm the issue on a VM with macOS. The error appears in unit reglddfeatures of the LazDataDesktop project (it is in the tools folder of the Lazarus installation, Gus). The guilty unit is surrounded by an {$IFDEF HAVEMYSQL5657CONN} directive. So, go to the head of this unit, find the {$DEFINE HAVEMYSQL5657CONN} and undefine it by putting a space or a dot between the { and the $. There's another define, {$DEFINE HAVEMSSQLCONN} which must be handled in the same way. After these modifications, the LazDataDesktop compiles correctly.

Gustavo 'Gus' Carreno:
Hey WP,


--- Quote from: wp on April 11, 2021, 01:43:43 pm ---snip (it is in the tools folder of the Lazarus installation, Gus) snip

--- End quote ---

Thanks a lot WP, I'll have a look at it.

Cheers,
Gus

eenplus:
To Gus and WP. Thank you very much. Your suggesties did it.

Regards,

/Dirk

Navigation

[0] Message Index

[#] Next page

Go to full version