[lazarus] Lazarus with X-Win32

Florian Klaempfl Florian.Klaempfl at gmx.de
Wed Aug 28 09:19:51 EDT 2002


At 14:30 28.08.2002 +0200, you wrote:
> > I tried to set the DISPLAY variable in the run options. But it doesn't 
> help
> > either.
>
>It was not implemented. Now it is.
>
>
> > BTW: If the DISPLAY field is empty, lazarus should read it imo from the
> > environment.
> > Or isn't it used anyway?
>
>TProcess uses the default environment if no environement is given. So 
>DISPLAY should have the same value as in the IDE.
>Now the IDE always copy its environment variables to the child (merged 
>with the user overrides).

Hmmm, Running an application direct from lazarus (via F9) still doesn't 
work, i.e. lazarus crashes:

[TCompiler.Compile] CmdLine="/usr/local/bin/ppc386  -Rintel -S2cgi 
-Ch8000000 -OG1p1 -gl -XD -vewnhi -l -Fu~/fpc/projects/lazarus/lcl/units 
-Fu~/fpc/projects/lazarus/lcl/units/gtk /tmp/project1.lpr"
TDesigner.KEYDOWN 120 1
TOutputFilter: "Free Pascal Compiler version 1.0.6 [2002/04/23] for i386"
TOutputFilter: "Copyright (c) 1993-2002 by Florian Klaempfl"
TOutputFilter: "Target OS: Linux for i386"
TOutputFilter: "Compiling /tmp/project1.lpr"
TOutputFilter: "Compiling unit1.pas"
TOutputFilter: "Assembling unit1"
TOutputFilter: "Assembling project1"
TOutputFilter: "Linking /tmp/project1"
TOutputFilter: "49 Lines compiled, 6.0 sec"
[TCompiler.Compile] end
[TDebugManager.DoInitDebugger] A
[TCmdLineDebugger] Debug PID: 12413
Xlib: unexpected async reply (sequence 0x39c9)!
Gdk-ERROR **: BadIDChoice (invalid resource ID chosen for this connection)
   serial 14794 error_code 14 request_code 1 minor_code 0
florian at Guardian:~/fpc/projects/lazarus$






More information about the Lazarus mailing list