#1 2016-12-10 05:05:31

dec12
Member
Registered: 2016-11-30
Posts: 4

cannot find file SynDprUses in NewPascal pack

I downloaded the New Pascal pack to use mORMot.
A lot of the samples compile fine
but the other samples complain they cannot find the file SynDprUses.inc
{$I SynDprUses.inc}
when compiled in Delphi Berlin.

They are also complaining about the missing mORMot unit.

Do these files need to be renamed?
Please help.

Dennis

Offline

#2 2016-12-10 08:15:18

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

Re: cannot find file SynDprUses in NewPascal pack

You need to  set the search paths.

Offline

#3 2016-12-10 17:01:36

dec12
Member
Registered: 2016-11-30
Posts: 4

Re: cannot find file SynDprUses in NewPascal pack

It is not a search path issue. Those files are not in the ccr folder at all.
I even searched the entire New Pascal folder and subfolders and could not find those files.
I suspect those files have been renamed but some samples files are still using old file names

Offline

#4 2016-12-10 19:15:41

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

Re: cannot find file SynDprUses in NewPascal pack

SynDprUses.inc is in the root folder of mORMot.
See https://github.com/synopse/mORMot
and https://github.com/synopse/mORMot/blob/ … prUses.inc*
This file has not changed since... years... wink

Please use the mORMot trunk.
Or at least post in the NewPascal thread of this website.
It is not a mORMot issue, but may be a NewPascal issue.

Offline

#5 2016-12-11 08:48:13

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

Re: cannot find file SynDprUses in NewPascal pack

Please follow Ab's advice: use mORMot trunk.
It will run very well with FPC !

But do follow the documents when using FPC !!
http://synopse.info/files/html/Synopse% … l#TITL_113

Offline

#6 2016-12-12 08:43:36

dec12
Member
Registered: 2016-11-30
Posts: 4

Re: cannot find file SynDprUses in NewPascal pack

Thanks a lot for all your advice.

Offline

Board footer

Powered by FluxBB