On Fri, 16 Sep 2005 09:02:14 -0400
Tony Maro <[EMAIL PROTECTED]> wrote:
> Charlie wrote:
>
> > Hallo,
> >
> > I have a problem I can't understand: I did an update of Lazarus
> > yesterday and recompiled it. Now when I start Lazarus from the command
> > prompt, it works fine, but if I start Lazarus from the shortcut I have
> > for it, or from Windows Explorer, it is giving problems. It almost
> > looks like it has something wrong in the directory it uses.
> > When I start Lazarus I first get a message that says my free pascal
> > source directory is not set up. It is set up and works fine if I start
> > from command prompt. So I ignore it.
> > Then I get an error saying: The current Lazarus directory
> > "C:\mysvn\lazarus\lazarus.exe\" does not look correct. Indeed, it is
> > not correct! Where does this directory come from? So I ignore that as
> > well.
> > Then I get an error saying that Lazarus is "Unable to create file
> > "C:\mysvn\lazarus\lazarus.exe\compilertest.pas". If I choose ok to go
> > on anyways lazarus crashes.
> >
> > It appears there is some difference between starting from explorer and
> > starting from the command prompt that gives a problem only since the
> > last svn update.
> >
>
> Sounds like somebody added a writeln and/or disabled -WG?
?
For me it sounds, as if the IDE didn't found its config directory. In this
case the IDE tries to set some good defaults. For example for the lazarus
source directory it uses the directory, where the lazarus.exe is. But
somehow it uses the lazarus.exe itself as directory
"C:\mysvn\lazarus\lazarus.exe\". Same happens for the IDE config directory.
Could some of the windows people check what happens in
ide/include/win32/lazconf.inc InternalInit to PrimaryConfigPath.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives