#1 2024-10-01 09:39:00

alexkam75
Member
Registered: 2020-01-28
Posts: 4
Website

Error compiling example mORMot2\ex\mvc-blog

Error compiling example mORMot2\ex\mvc-blog.
MVCServerFirebirdZeos.dpr(35,16) Error: Identifier not found "TSqlDBZeosConnectionProperties"

How to run the example correctly?

Offline

#2 2024-10-01 09:49:56

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Error compiling example mORMot2\ex\mvc-blog

Which compiler are you using?

Did you install the Zeos library?

On Lazarus, ensure you modified the mormot2 package and undefined the NOSYNDBZEOS conditional., as stated by the mormot.db.sql.zeos unit:

// disable NOSYNDBZEOS from mormot2.lpk Lazarus package > Custom Options > Defines

I have tried to make it more explicit:
https://github.com/synopse/mORMot2/commit/cfccdafd

Offline

#3 2024-10-01 10:54:02

alexkam75
Member
Registered: 2020-01-28
Posts: 4
Website

Re: Error compiling example mORMot2\ex\mvc-blog

Thank you, the compilation was successful!

Offline

Board footer

Powered by FluxBB