[Lazarus] Hello World program generates a File Not Open runtime error
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Jan 29 18:27:35 CET 2012
On Sun, 29 Jan 2012 12:31:51 -0200
Antônio <antoniog12345 at gmail.com> wrote:
> program project1;
>
> {$mode objfpc}{$H+}
>
> uses
> {$IFDEF UNIX}{$IFDEF UseCThreads}
> cthreads,
> {$ENDIF}{$ENDIF}
> Classes
> { you can add units after this };
>
> begin
> WriteLn('Hello World');
> ReadLn();
> end.
>
> Any problem? Am I missing something?
Please check Project options / Compiler options / Linking / Target OS
specif options.
Make sure the -WG is not checked.
Mattias
More information about the Lazarus
mailing list