You are not logged in.
I'm following the documentation section "26.4.4. Writing your project for FPC".
The minimal application example given there is this:
program LinuxSynTestFPCLinuxi386;
{$I Synopse.inc}
{$APPTYPE CONSOLE}
uses
{$I SynDprUses.inc}
mORMotSelfTests;
begin
SQLite3ConsoleTests;
end.
However, for me this program failed to compile due to a reference to a .pas file in the SQLite3 samples directory! It turns out the SynSelfTests unit depends on a unit there only for FPC:
ECCProcess {$ifdef FPC} in '.\SQLite3\Samples\33 - ECC\ECCProcess.pas' {$endif},
I suppose I could add this sample project to my search path, but I must admit I was surprised to find the test code tightly coupled to the samples. Or is there something else going on that I'm missing?
Offline
This paragraph is clearly outdated.
The tests covers also the samples process, especially high-level ECC process.
So this code won't work without adding the sample unit code to the search path or within the main .lpr uses clause.
Offline