[Lazarus] Errors in Windows

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Dec 17 16:26:12 CET 2011


On Sat, 17 Dec 2011 13:05:53 -0200
Luiz Americo Pereira Camara <luizmed at oi.com.br> wrote:

> On 17/12/2011 12:18, Felipe Monteiro de Carvalho wrote:
> > Hello,
> >
> > I just had a very strange issue which is driving me crazy o.O I
> > installed the IDE in this computer months ago and I came back and
> > worked on it a bit and everything went fine. It could build projects,
> > run them, etc.
> >
> > So I did svn update and launched my standard build file (unmodified)
> > to make bigide and get a newer IDE.
> >
> > To my surprise ever since I haven't been able to get the IDE to work
> > again =( The basic error is this one:
> >
> > http://img804.imageshack.us/img804/5927/lazerror1.jpg
> >
> > Cannot find fpc.cfg which is non-sense, because the file is there in
> > the same directory as the fpc.exe is ...

The IDE calls the compiler and checks if it finds at least one
fpc.cfg.


> > If I ignore that I will get tons of errors. It cannot find the basic
> > lpk files, but they are all there in their normal positions. My paths
> > have no spaces and I didn't change anything, not even the start
> > compiter.

See View / IDE Internals / About FPC


> > The computer is running Windows Vista so I think it could be one of
> > the crippy new "features" from Vista which is blocking Lazarus from
> > being able to read the files or something, although I cannot rule out
> > some kind of regression ... I already tried to specify the --pcp and
> > reconfigure everything to no help. Also tried to delete the
> > configuration directory (I use --pcp=C:\programas\lazarussvn now) ...
> >
> > Any ideas what could be the problems?
> 
> Probably you are using fpc 2.7.1

The screenshot shows 2.4.2.

> See  "Lazarus not starts on Windows" thread from October
> 
> Try to remove call of UTF8ToSys in laz2_XMLRead.ReadXMLFile fpr fpc 2.7

Does that mean TFileStream now works with UTF-8 in fpc 2.7.1?
I doubt that.


Mattias




More information about the Lazarus mailing list