#1 2017-04-04 10:40:58

richardm
Member
Registered: 2017-04-04
Posts: 4

Fatal: Cannot open include file "Synopse.inc"

Hi,

I am getting the above compiler error when using fpcupdeluxe and clicking on NewPascal and mORMot.

Any ideas?

Thanks in advance

Offline

#2 2017-04-04 12:15:55

richardm
Member
Registered: 2017-04-04
Posts: 4

Re: Fatal: Cannot open include file "Synopse.inc"

The line it's breaking on is:

{$I Synopse.inc} // define HASINLINE USETYPEINFO CPU32 CPU64

at 1205 in the SQLlite3 mormot.pas file

Thanks

Offline

#3 2017-04-04 12:58:19

AOG
Member
Registered: 2014-02-24
Posts: 346

Re: Fatal: Cannot open include file "Synopse.inc"

You need to add the directory, in which synopse.inc resides, to the include directory in your project options !
Lazarus -> Project -> Project Options -> Paths -> Include files

Offline

#4 2017-04-04 13:08:57

richardm
Member
Registered: 2017-04-04
Posts: 4

Re: Fatal: Cannot open include file "Synopse.inc"

Yes, done that, but I still get the same error?

NB. Before I did what you suggested, I was getting "could no find"...

Thanks

Offline

#5 2017-04-04 14:42:06

AOG
Member
Registered: 2014-02-24
Posts: 346

Re: Fatal: Cannot open include file "Synopse.inc"

Lazarus -> Project -> Project Options -> Paths -> Other unit files
Add the mORMot base directory and the mORMot SQLite3 directory !?

Last edited by AOG (2017-04-04 14:42:28)

Offline

#6 2017-04-05 09:37:08

richardm
Member
Registered: 2017-04-04
Posts: 4

Re: Fatal: Cannot open include file "Synopse.inc"

AOG, thanks, that worked!

I've just given you a beer donation wink

Thanks

Offline

#7 2017-04-05 09:49:06

hnb
Member
Registered: 2015-06-15
Posts: 246

Re: Fatal: Cannot open include file "Synopse.inc"

richardm wrote:

AOG, thanks, that worked!

I've just given you a beer donation wink

Thanks

I've received the beer donation, anyway I can resend it to AOG smile


best regards,
Maciej Izak

Offline

#8 2017-04-05 11:51:52

AOG
Member
Registered: 2014-02-24
Posts: 346

Re: Fatal: Cannot open include file "Synopse.inc"

I prefer a Belgium triple beer !

Offline

Board footer

Powered by FluxBB