[Lazarus] Compile Error Latest SVN

Lee Jenkins lee at datatrakpos.com
Sat Jun 14 18:14:46 CEST 2008


Mattias Gaertner wrote:
> On Fri, 13 Jun 2008 21:33:38 -0400
> Lee Jenkins <lee at datatrakpos.com> wrote:
> 
>> Maxim Ganetsky wrote:
>>> Lee Jenkins пишет:
>>>> Lee Jenkins wrote:
>>>>> I updated from latest svn and get the following error:
>>>>> M:\lazarusSVN\ide\environmentopts.pp(1536,57) Error: Identifier
>>>>> not found "GetUserDir"
>>>>>
>>>>> Pointing to this portion of EnvironmentOpts.pp
>>>>>
>>>>> {$IFNDEF Ver2_2_0}
>>>>>    AMacroList.Add(TTransferMacro.Create('Home',GetUserDir,
>>>>>                   lisUserSHomeDirectory, nil, []));
>>>>> {$ENDIF}
>>>>>
>>>>> Any advise?  Thanks,
>>>>>
>>>> Sorry, should have mentioned I have fpc 2.2.1
>>> Please, update your FPC or use release version (2.2.0).
>>>
>> Hmmm.  The last svn that I downloaded, 15156 compiled ok with fpc
>> 2.2.1 so I'm having trouble understanding why I would want to
>> downgrade from 2.2.1 to 2.2.0...
> 
> Lazarus only runs with the released FPC or the current development
> version. At the moment: 2.2.0 and 2.2.3.
> 
> Mattias
> 

Odd.  As I mentioned, I have rebuilt using 2.2.1 but I guess that particular 
source must have changed between the last time I updated.

Is there a way to specify an fpc to use for rebuilding lazarus, but use my newer 
one to compile my programs or must I just change the paths manually when I want 
to build lazarus and then set them back?

BTW, Maxim, I didn't mean to sound obtuse, I was actually confused :)

Thanks Mattias.
-- 

Warm Regards,

Lee




More information about the Lazarus mailing list