I'm interested in trying out the Brook Framework but I'm having trouble getting started.
I downloaded a zipped version of the project and what I'm trying to do is to compile the hello world demo located in demos/simple/helloworld/cgi. I used the following command:
fpc cgi.lpr
This gave me the error
cgi1.lpr(6,3) Fatal: Can't find unit BrookApplication used by cgi1
Fatal: Compilation aborted
I then tried to include the required units by adding include directives in the cgi.lpr file:
program cgi1;
{$mode objfpc}{$H+}
{$I ../../../../core/brookapplication.pas}
uses
BrookApplication, Unit1, brokers;
begin
BrookApp.Run;
end.
This resulted in:
Compiling cgi1.lpr
brookapplication.pas(14,5) Fatal: Syntax error, "BEGIN" expected but "UNIT" found
I'm very new to fpc; there's plenty I don't know but I'm quite lost because I don't know what exactly it is that I don't know. Could someone please guide me on how to setup the framework?
Hi guys,
I'm interested in trying out the Brook Framework but I'm having trouble getting started. I downloaded a zipped version of the project and what I'm trying to do is to compile the hello world demo located in
demos/simple/helloworld/cgi
. I used the following command:fpc cgi.lpr
This gave me the error
I then tried to include the required units by adding include directives in the cgi.lpr file:
This resulted in:
I'm very new to fpc; there's plenty I don't know but I'm quite lost because I don't know what exactly it is that I don't know. Could someone please guide me on how to setup the framework?
Thank you