[Lazarus] Hello World program generates a File Not Open runtime error

Antônio antoniog12345 at gmail.com
Sun Jan 29 18:38:24 CET 2012


You are right, unchecking -WG it is OK.

Antônio

2012/1/29 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> 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
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




More information about the Lazarus mailing list