[Lazarus] Terminal Output font
Hi. Is it posible to change the font of the Terminal Output form in Lazarus? Mine is default set to some ttf, but i would like to use a mono type since i am creating formatted console output. Regards, Torsten Bonde Christiansen. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] ComponentCount
Hi Folks. I've a problem with the TComponent.ComponentCount. Lazarus 1.0.12, FPC 2.6.2, WIn Vista32 Onto a TForm, at design time, I drop a TPanel (named MyPanel). Into MyPanel I drop half a dozen inside TPanel's. These have been dropped doing: 1.)select MyPanel first, 2.) then drop inside TPamel). When I move the MyPanel, all inside panels move too. At runtime, when in the TForm.CreateForm event I execute a wCount := ComponentCount; displays 15 which is the total components count onto the form, irrespective of the containers wCount := MyPanel.componentCount; wCount appears to be 0 (zero) :-\ as if MyPanel wasn't a container (Parent property didn't work at design time ?) Some lines later, after having dynamically created 6 Tpanels inside the MyPanel I do (still in Create event): wCount := MyPanel.componentCount; which gives 6 as count which is the number of TPanel's added wCount := ComponentCount; whish shows 15, the initial TForm.ComponentCount This time, at form level wCount is exactly the number of components onto the form irrespective of the containers wich Some time lated into the MyForm.OnShow event I display again the counts: wCount := MyPanel.componentCount; shows 6 wCount := ComponentCount; shows 15: same as in the beginning, where are gone the 6 dynamically added panels ? This leads me to assume that, at design time, the main form appears to be the parent of all newly dropped TComponent descendants. Right ? Did I miss something ? Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] ComponentCount
On Tue, 05 Nov 2013 11:14:55 +0100 Antonio Fortuny a.fort...@sitasoftware.lu wrote: Hi Folks. I've a problem with the TComponent.ComponentCount. Lazarus 1.0.12, FPC 2.6.2, WIn Vista32 Onto a TForm, at design time, I drop a TPanel (named MyPanel). Into MyPanel I drop half a dozen inside TPanel's. These have been dropped doing: 1.)select MyPanel first, 2.) then drop inside TPamel). Maybe you are searching for ControlCount? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] [SynEdit] Highlight full line when using background color
Hi, Is it possible when set a background color of the comment (for example) to highlight the full line to make it prettier. I am not talking in LazarusIDE, it is in SynEdit because I use it in my project 'miniedit'. Example images attached Thanks in advance. Zaher Dirkey attachment: highlight-full-line.PNGattachment: highlight-full-line-guess.PNG-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
On 05/11/2013 10:36, Zaher Dirkey wrote: Hi, Is it possible when set a background color of the comment (for example) to highlight the full line to make it prettier. I am not talking in LazarusIDE, it is in SynEdit because I use it in my project 'miniedit'. Not currently. Needs to be implemented. Currently TLazSynPaintTokenBreaker.GetNextHighlighterTokenEx generates a dummy token for the end of line. It would need to get the info from the HIghlighter. Example images attached Thanks in advance. Zaher Dirkey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
On 05/11/2013 12:35, Martin wrote: On 05/11/2013 10:59, Martin wrote: On 05/11/2013 10:36, Zaher Dirkey wrote: Hi, Is it possible when set a background color of the comment (for example) to highlight the full line to make it prettier. I am not talking in LazarusIDE, it is in SynEdit because I use it in my project 'miniedit'. Not currently. Needs to be implemented. Currently TLazSynPaintTokenBreaker.GetNextHighlighterTokenEx generates a dummy token for the end of line. It would need to get the info from the HIghlighter. Try attached patch. Only for pascal. for other languages, you need to change the highlighters -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
On 05/11/2013 10:59, Martin wrote: On 05/11/2013 10:36, Zaher Dirkey wrote: Hi, Is it possible when set a background color of the comment (for example) to highlight the full line to make it prettier. I am not talking in LazarusIDE, it is in SynEdit because I use it in my project 'miniedit'. Not currently. Needs to be implemented. Currently TLazSynPaintTokenBreaker.GetNextHighlighterTokenEx generates a dummy token for the end of line. It would need to get the info from the HIghlighter. Try attached patch. Index: components/synedit/lazsyntextarea.pp === --- components/synedit/lazsyntextarea.pp (revision 43374) +++ components/synedit/lazsyntextarea.pp (working copy) @@ -383,8 +383,13 @@ ATokenInfo.PhysicalClipEnd:= ATokenInfo.EndPos.Physical; ATokenInfo.RtlInfo.IsRtl := False; FMarkupTokenAttr.Clear; -FMarkupTokenAttr.Foreground := FForegroundColor; -FMarkupTokenAttr.Background := FBackgroundColor; +if ATokenInfo.Attr nil then begin + FMarkupTokenAttr.Assign(ATokenInfo.Attr); +end +else begin + FMarkupTokenAttr.Foreground := FForegroundColor; + FMarkupTokenAttr.Background := FBackgroundColor; +end; ATokenInfo.ExpandedExtraBytes := 0; ATokenInfo.HasTabs:= False; @@ -456,6 +461,9 @@ FCurViewCurTokenStartPos := FCurViewScannerPos; while FCurViewToken.TokenLength = 0 do begin // Todo: is SyncroEd-test a zero size token is returned Result := FDisplayView.GetNextHighlighterToken(FCurViewToken); + if not Result then +FCurViewToken.TokenAttr := nil; + Result := Result and (FCurViewToken.TokenStart nil); // False for end of line token if not Result then begin FCurViewToken.TokenLength := -1; exit; @@ -665,6 +673,12 @@ Result := MaybeFetchToken;// Get token from View/Highlighter if not Result then begin ATokenInfo.StartPos := FCurViewScannerPos; + if FCurViewToken.TokenAttr nil then begin +InitSynAttr(FCurViewAttr, FCurViewToken.TokenAttr, FCurViewCurTokenStartPos); +ATokenInfo.Attr := FCurViewAttr; + end + else +ATokenInfo.Attr := nil; exit; end; Index: components/synedit/syneditfoldedview.pp === --- components/synedit/syneditfoldedview.pp (revision 43374) +++ components/synedit/syneditfoldedview.pp (working copy) @@ -809,7 +809,7 @@ case FLineState of 0: begin Result := inherited GetNextHighlighterToken(ATokenInfo); -if (not Result) and +if ( (not Result) or (ATokenInfo.TokenStart = nil)) and (FFoldView.FoldType[CurrentTokenLine + 1 - FFoldView.TopLine] * [cfCollapsedFold, cfCollapsedHide] []) then begin inc(FLineState); Index: components/synedit/synedithighlighter.pp === --- components/synedit/synedithighlighter.pp (revision 43374) +++ components/synedit/synedithighlighter.pp (working copy) @@ -372,7 +372,7 @@ function GetRange: Pointer; virtual; function GetToken: String; virtual; abstract; procedure GetTokenEx(out TokenStart: PChar; out TokenLength: integer); virtual; abstract; -function GetEndOfLineAttribute: TSynHighlighterAttributes; virtual; +function GetEndOfLineAttribute: TSynHighlighterAttributes; virtual; // valid after line was scanned to EOL function GetTokenAttribute: TSynHighlighterAttributes; virtual; abstract; function GetTokenKind: integer; virtual; abstract; function GetTokenPos: Integer; virtual; abstract; // 0-based Index: components/synedit/synedittextbuffer.pp === --- components/synedit/synedittextbuffer.pp (revision 43374) +++ components/synedit/synedittextbuffer.pp (working copy) @@ -372,7 +372,13 @@ FAtLineStart := False; Result := not CurrentTokenHighlighter.GetEol; -if not Result then exit; +if not Result then begin + ATokenInfo.TokenStart := nil; + ATokenInfo.TokenLength := 0; + ATokenInfo.TokenAttr := CurrentTokenHighlighter.GetEndOfLineAttribute; + Result := ATokenInfo.TokenAttr nil; + exit; +end; CurrentTokenHighlighter.GetTokenEx(ATokenInfo.TokenStart, ATokenInfo.TokenLength); ATokenInfo.TokenAttr := CurrentTokenHighlighter.GetTokenAttribute; Index: components/synedit/synhighlighterpas.pp === --- components/synedit/synhighlighterpas.pp (revision 43374) +++ components/synedit/synhighlighterpas.pp (working copy) @@ -533,6 +533,7 @@ procedure SetLine(const NewValue: string; LineNumber: Integer); override; procedure SetRange(Value: Pointer); override; procedure StartAtLineIndex(LineNumber:Integer); override; // 0 based +function GetEndOfLineAttribute:
Re: [Lazarus] ComponentCount
Le 05/11/2013 11:30, Mattias Gaertner a écrit : On Tue, 05 Nov 2013 11:14:55 +0100 Antonio Fortuny a.fort...@sitasoftware.lu wrote: Hi Folks. I've a problem with the TComponent.ComponentCount. Lazarus 1.0.12, FPC 2.6.2, WIn Vista32 Onto a TForm, at design time, I drop a TPanel (named MyPanel). Into MyPanel I drop half a dozen inside TPanel's. These have been dropped doing: 1.)select MyPanel first, 2.) then drop inside TPamel). Maybe you are searching for ControlCount? Yep, it did it. Thanks Mattias. Antonio. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Reading from an external process
Hi All, I have got the following code from the wiki for creating and reading from an external process. Effectively, I want to capture all of the output from the process handle.exe, into a StringList so that I can read it to make sure that everything went OK, however, when I run the following code, I am getting a RunError(103) on the line: WriteLn('-- Going to run: ' + OurCommand); Any ideas what I'm doing wrong please? Lazarus 1.0.12 with FPC 2.6.2 Windows XP procedure TfrmMain.Button1Click(Sender: TObject); const READ_BYTES = 2048; var OurCommand: String; OutputLines: TStringList; MemStream: TMemoryStream; OurProcess: TProcess; NumBytes: LongInt; BytesRead: LongInt; begin MemStream := TMemoryStream.Create; BytesRead := 0; OurProcess := TProcess.Create(nil); OurCommand:='C:\Documents and Settings\RichardMace\My Documents\Downloads\SysinternalsSuite\handle.exe'; WriteLn('-- Going to run: ' + OurCommand); OurProcess.CommandLine := OurCommand; OurProcess.Options := [poUsePipes]; WriteLn('-- External program run started'); OurProcess.Execute; while OurProcess.Running do begin // make sure we have room MemStream.SetSize(BytesRead + READ_BYTES); // try reading it NumBytes := OurProcess.Output.Read((MemStream.Memory + BytesRead)^, READ_BYTES); if NumBytes 0 then begin Inc(BytesRead, NumBytes); Write('.'); //Output progress to screen. end else begin // no data, wait 100 ms Sleep(100); end; end; // read last part repeat // make sure we have room MemStream.SetSize(BytesRead + READ_BYTES); // try reading it NumBytes := OurProcess.Output.Read((MemStream.Memory + BytesRead)^, READ_BYTES); if NumBytes 0 then begin Inc(BytesRead, NumBytes); Write('.'); end; until NumBytes = 0; if BytesRead 0 then WriteLn; MemStream.SetSize(BytesRead); memMain.Lines.Add('-- External program run complete'); OutputLines := TStringList.Create; OutputLines.LoadFromStream(MemStream); memMain.Lines.Add('-- External program output line count = ' + IntToStr(OutputLines.Count) + ' --'); for NumBytes := 0 to OutputLines.Count - 1 do begin WriteLn(OutputLines[NumBytes]); end; WriteLn('-- Program end'); OutputLines.Free; OurProcess.Free; MemStream.Free; end; -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
Yes, thanks :) that is too fast, it is working on my PHP highlighter too, see the attachment. Only the last line, but it is fine like that. Thanks again. On Tue, Nov 5, 2013 at 2:42 PM, Martin laza...@mfriebe.de wrote: On 05/11/2013 12:35, Martin wrote: On 05/11/2013 10:59, Martin wrote: On 05/11/2013 10:36, Zaher Dirkey wrote: Hi, Is it possible when set a background color of the comment (for example) to highlight the full line to make it prettier. I am not talking in LazarusIDE, it is in SynEdit because I use it in my project 'miniedit'. Not currently. Needs to be implemented. Currently TLazSynPaintTokenBreaker.GetNextHighlighterTokenEx generates a dummy token for the end of line. It would need to get the info from the HIghlighter. Try attached patch. Only for pascal. for other languages, you need to change the highlighters -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3 Best Regards Zaher Dirkey attachment: highlight-full-line-work.PNG-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
Off topic, In my PHP highlighter I use special documentation comment that started with /** and normal comment highlight started with /* The idea I used the comments to ignore the code while the documentation need to be read by developers. If I set the comment to be gray on white it is easy for my eyes to ignore it, while the documentation must be readable. Best regards On Tue, Nov 5, 2013 at 3:52 PM, Zaher Dirkey parm...@gmail.com wrote: Yes, thanks :) that is too fast, it is working on my PHP highlighter too, see the attachment. Only the last line, but it is fine like that. Thanks again. On Tue, Nov 5, 2013 at 2:42 PM, Martin laza...@mfriebe.de wrote: On 05/11/2013 12:35, Martin wrote: On 05/11/2013 10:59, Martin wrote: On 05/11/2013 10:36, Zaher Dirkey wrote: Hi, Is it possible when set a background color of the comment (for example) to highlight the full line to make it prettier. I am not talking in LazarusIDE, it is in SynEdit because I use it in my project 'miniedit'. Not currently. Needs to be implemented. Currently TLazSynPaintTokenBreaker.GetNextHighlighterTokenEx generates a dummy token for the end of line. It would need to get the info from the HIghlighter. Try attached patch. Only for pascal. for other languages, you need to change the highlighters -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3 Best Regards Zaher Dirkey -- I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3 Best Regards Zaher Dirkey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
On 05/11/2013 13:52, Zaher Dirkey wrote: Yes, thanks :) that is too fast, it is working on my PHP highlighter too, see the attachment. Only the last line, but it is fine like that. If it works, without the php hl having been modified, then that is actually a bug somewhere. The HL has to implement GetEndOfLineAttribute -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
On Tue, Nov 5, 2013 at 4:08 PM, Martin laza...@mfriebe.de wrote: If it works, without the php hl having been modified, then that is actually a bug somewhere. No, I overrided GetEndOfLineAttribute http://sourceforge.net/p/minilib/source/ci/3779ce6da972fb5aa2b0491872d5232dcb391c0e/ Best Regards Zaher Dirkey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Reading from an external process
On 11/5/2013 8:48 AM, Richard Mace wrote: Hi All, I have got the following code from the wiki for creating and reading from an external process. Effectively, I want to capture all of the output from the process handle.exe, into a StringList so that I can read it to make sure that everything went OK, however, when I run the following code, I am getting a RunError(103) on the line: WriteLn('-- Going to run: ' + OurCommand); i'd guess that the error is only showing up at that point... you have spaces in your command line... what happens if you wrap it in double quotes? OurCommand:='C:\Documents and Settings\RichardMace\My Documents\Downloads\SysinternalsSuite\handle.exe'; this is a common thing on winwhatever systems... -- NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] utf8process error while compiling lazarus on Win32
Hi, I'm trying to compile trunk version from svn on Win32 and I'm getting this error: Compiling graphmath.pp Compiling intfgraphics.pas Compiling lclversion.pas Compiling icnstypes.pas Compiling graphics.pp Compiling lresources.pp Compiling dynqueue.pas Compiling lazconfigstorage.pas Compiling lclrescache.pas Compiling lclintf.pas Compiling interfacebase.pp Compiling themes.pas Compiling tmschema.pas Compiling interfacebase.pp Compiling lclintf.pas Compiling utf8process.pp utf8process.pp(179,59) Error: Identifier not found lisProgramFileNotFound utf8process.pp(182,53) Error: Identifier not found lisCanNotExecute utf8process.pp(206) Fatal: There were 2 errors compiling module, stopping TExternalToolList.Run Exception: E:\lazarus\lcl\utf8process.pp(206) Fatal: There were 2 errors compiling module, stopping ERROR: tool reported error .\fpc\2.6.2\bin\i386-win32\make.exe: *** [useride] Error 2 Any hint?. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
On 05/11/2013 14:17, Zaher Dirkey wrote: On Tue, Nov 5, 2013 at 4:08 PM, Martin laza...@mfriebe.de mailto:laza...@mfriebe.de wrote: If it works, without the php hl having been modified, then that is actually a bug somewhere. No, I overrided GetEndOfLineAttribute http://sourceforge.net/p/minilib/source/ci/3779ce6da972fb5aa2b0491872d5232dcb391c0e/ So then you could store somewhere, if the last thing before eol, was the closing comment. And return the comment attri for the last line too in that case. If you want that last line to be highligted completely -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
On Tue, Nov 5, 2013 at 4:22 PM, Martin laza...@mfriebe.de wrote: So then you could store somewhere, if the last thing before eol, was theclosing comment. And return the comment attri for the last line too in that case. If youwant that last line to be highligted completely Yes, I will try it later, Thanks :) Best Regards Zaher Dirkey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Reading from an external process
Am 05.11.2013 14:48, schrieb Richard Mace: Hi All, I have got the following code from the wiki for creating and reading from an external process. Effectively, I want to capture all of the output from the process handle.exe, into a StringList so that I can read it to make sure that everything went OK, however, when I run the following code, I am getting a RunError(103) on the line: WriteLn('-- Going to run: ' + OurCommand); Any ideas what I'm doing wrong please? Is your application (that one which calls handle.exe) compiled as a GUI application or not? (check in the project settings) If it is compiled as a GUI application then disable the option and recompile. An additional console window should now appear when you run the application from within Lazarus in which you'll see your output. Reason: on Windows the I/O is closed on startup if the application is compiled as a GUI program (Delphi compatible) Alternatively you could use a Memo. Either you directly use YourMemo.Add('...') or if you want to keep using Writeln, I have a unit sent somewhere on the mailing list some days ago that allows you to assign a memo or edit to a TextFile so that you could use either Writeln(YourFile, '...') or you could override Output so that you could keep using Writeln('...'). Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Terminal Output font
On 11/05/2013 09:13 AM, Torsten Bonde Christiansen wrote: Hi. Is it posible to change the font of the Terminal Output form in Lazarus? Mine is default set to some ttf, but i would like to use a mono type since i am creating formatted console output. I'd like to know that too :) z. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [SynEdit] Highlight full line when using background color
Yes I made the last line full highlight. http://sourceforge.net/p/minilib/source/ci/42d6ed89e2d52b2d8ef681d8c87f2b147a7c428f/ Thanks again. On Tue, Nov 5, 2013 at 4:38 PM, Zaher Dirkey parm...@gmail.com wrote: On Tue, Nov 5, 2013 at 4:22 PM, Martin laza...@mfriebe.de wrote: So then you could store somewhere, if the last thing before eol, was theclosing comment. And return the comment attri for the last line too in that case. If youwant that last line to be highligted completely Yes, I will try it later, Thanks :) Best Regards Zaher Dirkey -- I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3 Best Regards Zaher Dirkey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Terminal Output font
On 05/11/2013 16:50, zeljko wrote: On 11/05/2013 09:13 AM, Torsten Bonde Christiansen wrote: Hi. Is it posible to change the font of the Terminal Output form in Lazarus? You mean the term outpu from debug windows? Mine is default set to some ttf, but i would like to use a mono type since i am creating formatted console output. I'd like to know that too :) There is no configuration. But it probably could and should be changed. Please create a report on Mantis. I will pick it up, when I have time You can always open the LFM, and change it for your own IDE, then rebuild lazarus. The form should be in the debugger directory -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] utf8process error while compiling lazarus on Win32
On 11/5/13, Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I'm trying to compile trunk version from svn on Win32 and I'm getting this error: Compiling utf8process.pp utf8process.pp(179,59) Error: Identifier not found lisProgramFileNotFound utf8process.pp(182,53) Error: Identifier not found lisCanNotExecute Assuming by trunk you mean 1.3. Those two identifiers are not in current sources of utf8process.pp (currently at r42067). So you probably have either an old version or local modofications. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] utf8process error while compiling lazarus on Win32
05.11.2013 18:48, Leonardo M. Ramé пишет: Hi, I'm trying to compile trunk version from svn on Win32 and I'm getting this error: Compiling graphmath.pp Compiling intfgraphics.pas Compiling lclversion.pas Compiling icnstypes.pas Compiling graphics.pp Compiling lresources.pp Compiling dynqueue.pas Compiling lazconfigstorage.pas Compiling lclrescache.pas Compiling lclintf.pas Compiling interfacebase.pp Compiling themes.pas Compiling tmschema.pas Compiling interfacebase.pp Compiling lclintf.pas Compiling utf8process.pp utf8process.pp(179,59) Error: Identifier not found lisProgramFileNotFound utf8process.pp(182,53) Error: Identifier not found lisCanNotExecute utf8process.pp(206) Fatal: There were 2 errors compiling module, stopping TExternalToolList.Run Exception: E:\lazarus\lcl\utf8process.pp(206) Fatal: There were 2 errors compiling module, stopping ERROR: tool reported error .\fpc\2.6.2\bin\i386-win32\make.exe: *** [useride] Error 2 Any hint?. Please clean all .ppu and .o files in Lazarus directory and try again. -- Best regards, Maxim Ganetsky mailto:gan...@narod.ru -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus