Re: KOL-CE release
From: Mattias Gaertner [EMAIL PROTECTED] On Fri, 19 Oct 2007 02:16:09 +0300 Yury Sidorov [EMAIL PROTECTED] wrote: From: Yury Sidorov [EMAIL PROTECTED] Today I made the first public release of KOL-CE library. Sorry, I forgot to specify link to KOL-CE wiki: http://wiki.freepascal.org/KOL-CE There is a bug in kol-ce. The package inherits source paths (MCK Package Editor / Options / Usage / Unit/Include: ../kol/). This adds this path to any project/package/IDE using the MCK package. Please remove these paths. Otherwise it can happen that the KOL.ppu is saved to the IDE directory and you will get strange unit not found errors. Thanks for the info. I'll fix that. Yury. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: KOL-CE release
From: Marco van de Voort [EMAIL PROTECTED] On Fri, 19 Oct 2007 02:16:09 +0300 Yury Sidorov [EMAIL PROTECTED] wrote: Sorry, I forgot to specify link to KOL-CE wiki: http://wiki.freepascal.org/KOL-CE There is a bug in kol-ce. The package inherits source paths (MCK Package Editor / Options / Usage / Unit/Include: ../kol/). This adds this path to any project/package/IDE using the MCK package. Please remove these paths. Otherwise it can happen that the KOL.ppu is saved to the IDE directory and you will get strange unit not found errors. The odd ball license choice (wxwindows license) is not my favorite either btw. Why? wxwindows license is a LGPL with exceptions allowing binary distribution of code which use library. This licese is like RTL/FCL/LCL license. SourceForge accepts OSI-approved licenses and I pick wxwindows license as suitable... Yury. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Usability issues - search
On 28/10/2007, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: We can provide 2 defaults for new projects: Debug and Release, but even those should be editable so projects don't need dead modes which are just there by IDE idiosincrasy I gave some thougth to it, but I am not really sure how the layout of such dialog would be... I'm quite happy with the way things currently work in Lazarus. But if you want ideas for a dialog, have a look at MSEide. It has a dialog that I believe allows for a unlimited number of build modes (you know, like: Debug, Release). Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: KOL-CE release
The odd ball license choice (wxwindows license) is not my favorite either btw. Why? wxwindows license is a LGPL with exceptions allowing binary distribution of code which use library. This licese is like RTL/FCL/LCL license. SourceForge accepts OSI-approved licenses and I pick wxwindows license as suitable... FPC uses LGPL+exception, Delphi scene mostly uses MPL (some with LGPL clause). This means yet another license in distribution to explain to people etc. Even though it might be the closest to LGPL on SF. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] weird Lazarus editor behavior
On 27/10/2007, Giuliano Colla [EMAIL PROTECTED] wrote: Moreover if I attempt to open an fpc project (.lpi) the same thing happens most of the times, no editor window. I can open the project inspector, select a file, but when I click open nothing happens. I don't think that is related you your specific setup. I have started to experience the same issues with Lazarus, using the latest Ubuntu 7.10. Lazarus is compiled with GTK1, so it must be some or other changes in recent svn Lazarus causing this. I also found that I can bring back the editor by using the Windows menu option and selecting the editor window. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Usability issues
On Sun, Oct 28, 2007 at 06:21:04AM +0100, Felipe Monteiro de Carvalho wrote: If the compiler options dialog is to be redesigned I think it would be an oportunity to get customized build modes, like: Release, Debug, AnythingElse Yes, and additional should be definable by the user. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Usability issues
As I mentioned in another post. Maybe take a look at MSEide for ideas of such a dialog. Graeme. On 28/10/2007, Marco van de Voort [EMAIL PROTECTED] wrote: On Sun, Oct 28, 2007 at 06:21:04AM +0100, Felipe Monteiro de Carvalho wrote: If the compiler options dialog is to be redesigned I think it would be an oportunity to get customized build modes, like: Release, Debug, AnythingElse Yes, and additional should be definable by the user. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Access violations when using Watches while debugging on OS X i386
On Sun, 28 Oct 2007 06:48:22 +0100 Tobias Giesen [EMAIL PROTECTED] wrote: Can you provide an example and/or backtrace? It's hard to create on purpose. Here's a stack trace: TDBGWATCH_DOCHANGED, line 2636 of debugger.pp Only one line? No context? I'll try what happens when I disable the FSlave mechanism in this function ;=) Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] programmatically create a backtrace
Hi, Anybody know how I can programmatically create a backtrace from within my code? For example: If I want a backtrace at a certain point in my code, I raise and exception. Run the program through GDB, break at fpc exceptions and then ask GDB for a backtrace. Could I ask FPC to output a backtrace directly by changing the 'raise Exception.Create(...)' line with something else? Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] programmatically create a backtrace
On Sun, 28 Oct 2007 13:48:18 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Anybody know how I can programmatically create a backtrace from within my code? For example: If I want a backtrace at a certain point in my code, I raise and exception. Run the program through GDB, break at fpc exceptions and then ask GDB for a backtrace. Could I ask FPC to output a backtrace directly by changing the 'raise Exception.Create(...)' line with something else? see for example LCLProc DumpStack Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] programmatically create a backtrace
On 28/10/2007, Mattias Gaertner [EMAIL PROTECTED] wrote: see for example LCLProc DumpStack Thanks Mattias. That's exactly what I was looking for and it works perfectly. :-) Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Tdbf: Error: Identifier not found ftAutoInc
Dear I use Lazarus 0.9.22 on Linux I386 Ubuntu Gusty (Debian 4) I would like to use tdbf component. But when i compile i have errors : unit1.pas(19,36) Hint: Parameter Dbf not used unit1.pas(19,51) Hint: Parameter DoCreate not used unit1.pas(51,18) Error: Identifier not found ftAutoInc unit1.pas(52,20) Error: Identifier not found ftString unit1.pas(56,38) Error: Identifier not found ixPrimary unit1.pas(56,49) Error: Identifier not found ixUnique unit1.pas(58,41) Error: Identifier not found ixCaseInsensitive unit1.pas(70) Fatal: There were 5 errors compiling module, stopping Why the ftAutoInc is not reachable ??? How to fix it Best regards... code : unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs,dbf, Buttons; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Dbf1: TDbf; procedure Button1Click(Sender: TObject); procedure Dbf1BeforeAutoCreate(Dbf: TDbf; var DoCreate: Boolean); private { private declarations } public { public declarations } end; var Form1: TForm1; implementation { TForm1 } procedure TForm1.Dbf1BeforeAutoCreate(Dbf: TDbf; var DoCreate: Boolean); begin end; procedure TForm1.Button1Click(Sender: TObject); var MyDbf: TDbf; begin try MyDbf := TDbf.Create(nil); { use relative path to data directory } MyDbf.FilePath := 'data/'; { we want to use Visual dBase VII compatible tables } MyDbf.TableLevel := 7; MyDbf.Exclusive := True; MyDbf.TableName := 'customers.dbf'; With MyDbf.FieldDefs do begin Add('Id', ftAutoInc, 0, True); Add('Name', ftString, 80, True); End; MyDbf.CreateTable; MyDbf.Open; MyDbf.AddIndex('custid', 'Id', [ixPrimary, ixUnique]); { add a secondary index } MyDbf.AddIndex('custname','Name', [ixCaseInsensitive]); MyDbf.Close; finally MyDbf.Free; end; end; initialization {$I unit1.lrs} end. -- David Touzeau -- Linux Ubuntu 7.04 feisty FreePascal-Lazarus,perl,delphi,php artica for postfix management console (http://www.artica.fr) icq:160018849 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Access violations when using Watches while debugging on OS X i386
Mattias Gaertner wrote: On Sun, 28 Oct 2007 06:48:22 +0100 Tobias Giesen [EMAIL PROTECTED] wrote: Can you provide an example and/or backtrace? It's hard to create on purpose. Here's a stack trace: TDBGWATCH_DOCHANGED, line 2636 of debugger.pp Only one line? No context? I just ran into that too (i've no watches) Stack trace: $FFCC $0855029D TDBGWATCH__DOCHANGED, line 2636 of /misc/thunder160/src/lazarus/debugger/debugger.pp $0855345A TDELAYEDUDATEITEM__CHANGED, line 173 of /misc/thunder160/src/lazarus/debugger/dbgutils.pp $08560FB4 TGDBMIWATCH__DOSTATECHANGE, line 2580 of /misc/thunder160/src/lazarus/debugger/gdbmidebugger.pp $08550C4B TDBGWATCHES__DOSTATECHANGE, line 2824 of /misc/thunder160/src/lazarus/debugger/debugger.pp $0854C83C TDEBUGGER__SETSTATE, line 1532 of /misc/thunder160/src/lazarus/debugger/debugger.pp $0855DF1D TGDBMIDEBUGGER__PROCESSSTOPPED, line 1923 of /misc/thunder160/src/lazarus/debugger/gdbmidebugger.pp $0855A3F1 TGDBMIDEBUGGER__EXECUTECOMMANDFULL, line 689 of /misc/thunder160/src/lazarus/debugger/gdbmidebugger.pp $08559EA1 TGDBMIDEBUGGER__EXECUTECOMMAND, line 585 of /misc/thunder160/src/lazarus/debugger/gdbmidebugger.pp $0855B898 TGDBMIDEBUGGER__GDBSTEPINTO, line 1040 of /misc/thunder160/src/lazarus/debugger/gdbmidebugger.pp $0855EABD TGDBMIDEBUGGER__REQUESTCOMMAND, line 1949 of /misc/thunder160/src/lazarus/debugger/gdbmidebugger.pp $0854C4ED TDEBUGGER__REQCMD, line 1445 of /misc/thunder160/src/lazarus/debugger/debugger.pp $0854C895 TDEBUGGER__STEPINTO, line 1539 of /misc/thunder160/src/lazarus/debugger/debugger.pp $082F46E2 TDEBUGMANAGER__DOSTEPINTOPROJECT, line 1794 of debugmanager.pas $082F48D6 TDEBUGMANAGER__PROCESSCOMMAND, line 1838 of debugmanager.pas $0808C9CE TMAINIDE__ONPROCESSIDECOMMAND, line 2620 of main.pp $0831D16D TSOURCENOTEBOOK__PROCESSPARENTCOMMAND, line 5543 of uniteditor.pp _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Access violations when using Watches while debugging on OS X i386
TDBGWATCH_DOCHANGED, line 2636 of debugger.pp Only one line? No context? In the XTerm window, there was only this one line. Would I be able to see a longer stack trace somewhere else? Cheers, Tobias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] SQLite and WinCE
Hello, I wrote this code: unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Sqlite3ds, db; type { TForm1 } TForm1 = class(TForm) procedure FormCreate(Sender: TObject); private { private declarations } public { public declarations } end; var Form1: TForm1; DataBase: TSqLite3DataSet; implementation { TForm1 } procedure TForm1.FormCreate(Sender: TObject); begin DataBase:= TSqlite3Dataset.Create(nil); with DataBase do begin FileName :='DataBase.db'; TableName :='NewTable'; if not FileExists(FileName) then begin with FieldDefs do begin Clear; Add('Integer',ftInteger,0,False); Add('String',ftString,0,False); Add('Bool',ftBoolean,0,False); Add('Float',ftFloat,0,False); Add('Word',ftWord,0,False); Add('DateTime',ftDateTime,0,False); Add('Date',ftDate,0,False); Add('Time',ftTime,0,False); end; CreateTable; end; end; end; initialization {$I unit1.lrs} end. This code compiles correctly, but when I execute it in [b]Windows CE[/b] it generates the following error: http://i20.tinypic.com/107400x.gif What I need? Thanks.
Re: [lazarus] Tdbf: Error: Identifier not found ftAutoInc
Hi: 2007/10/28, TOUZEAU DAVID [EMAIL PROTECTED]: unit1.pas(51,18) Error: Identifier not found ftAutoInc unit1.pas(52,20) Error: Identifier not found ftString uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs,dbf, Buttons; Try to import Db unit. Greetings, -- Víctor R. Ruiz [EMAIL PROTECTED] | - Todos estos momentos se perderán http://rvr.blogalia.com/ | como lágrimas en la lluvia _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Building SQLite dll for WinCE (Problem)
I would recomend asking on a sqlite dedicated forum or mailling list. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Having a problem installing packages
I am using fpc 2.2 installed from gentoo with the sources installed and lazarus from svn (rev 12621). I have set the lazarus directory and can compile and run a simple single form project.. however, when I try to install a pkg file (in this case tagraph), I get an error of Compiling lazarus.pp lazarus.pp(74,11) Fatal: Can't find unit Interfaces used by Lazarus any ideas? Here is the output: [EMAIL PROTECTED]:~/Programs/lazarus$ ./startlazarus Gtk-WARNING **: Failed to load module libgnomebreakpad.so: libgnomebreakpad.so: cannot open shared object file: No such file or directory Gtk-WARNING **: Failed to load module libgnomebreakpad.so: libgnomebreakpad.so: cannot open shared object file: No such file or directory TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 NOTE: codetools config file not found - using defaults NOTE: help options config file not found - using defaults TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 908 TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 978 TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/test/FlashTest/actualflash.pas 208 TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/engine/thermo/FlashRachRice.pas 121 TMainIDE.DoLoadLFM A /home/matt/unit1.pas IsPartOfProject=True SUCCESS: streaming lfm=/home/matt/unit1.lfm TPkgManager.DoCompilePackage A TAChartLazarusPkg 0.0 Flags=[] TMainIDE.DoSaveAll TMainIDE.DoSaveProject End [TExternalToolList.Run] CmdLine=/usr/bin/ppc386 -S2cgi -OG1 -gl -vewnhi -l -Fu../../lcl/units/i386-linux/ -Fu../../lcl/units/i386-linux/gtk/ -Fu../../packager/units/i386-linux/ -Fu. -FUlib/i386-linux/ -dLCL -dLCLgtk tachartlazaruspkg.pas WorkDir=/home/matt/Programs/lazarus/components/tachart/ Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Warning: You are using the obsolete switch -OG Free Pascal Compiler version 2.2.0 [2007/09/20] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Linux for i386 Compiling tachartlazaruspkg.pas Compiling taseries.pas Compiling tagraph.pas Compiling taengine.pas Compiling taseries.pas taseries.pas(377,23) Warning: Function result does not seem to be set taseries.pas(121,35) Hint: Parameter SeriesColor not used taseries.pas(250,28) Hint: Parameter Sender not used taseries.pas(635,51) Hint: Local variable yi1 does not seem to be initialized taseries.pas(635,51) Hint: Local variable xi1 does not seem to be initialized taseries.pas(639,51) Hint: Local variable yi2 does not seem to be initialized taseries.pas(639,51) Hint: Local variable xi2 does not seem to be initialized taseries.pas(582,6) Note: Local variable j not used taseries.pas(586,4) Note: Local variable Min is assigned but never used taseries.pas(586,8) Note: Local variable Max is assigned but never used taseries.pas(586,12) Note: Local variable a not used taseries.pas(586,14) Note: Local variable b not used taseries.pas(587,4) Note: Local variable Inside1 not used taseries.pas(587,12) Note: Local variable Inside2 not used taseries.pas(588,4) Note: Local variable Chart1 not used taseries.pas(589,4) Note: Local variable YLeft not used taseries.pas(589,10) Note: Local variable YRight not used taseries.pas(589,17) Note: Local variable XBottom not used taseries.pas(589,25) Note: Local variable XTop not used taseries.pas(590,4) Note: Local variable XLine not used taseries.pas(590,10) Note: Local variable YLine not used taseries.pas(591,4) Note: Local variable BLeft not used taseries.pas(591,10) Note: Local variable BRight not used taseries.pas(591,17) Note: Local variable BBottom not used taseries.pas(591,25) Note: Local variable BTop not used taseries.pas(592,4) Note: Local variable XLeftI not used taseries.pas(592,11) Note: Local variable YLeftI not used taseries.pas(592,18) Note: Local variable XRightI not used taseries.pas(592,26) Note: Local variable YRightI not used taseries.pas(592,34) Note: Local variable XBottomI not used taseries.pas(592,43) Note: Local variable YBottomI not used taseries.pas(592,52) Note: Local variable XTopI not used taseries.pas(592,58) Note: Local variable YTopI not used taseries.pas(786,17) Warning: Function result does not seem to be set taseries.pas(894,82) Hint: Function result variable does not seem to be initialized taseries.pas(899,82) Hint: Function result variable does not seem to be initialized taseries.pas(304,28) Hint: Parameter Sender not used taseries.pas(1106,4) Warning: Label not defined Points taseries.pas(1064,10) Hint: Local label Points is not used taseries.pas(1142,5) Note: Local variable i not used taseries.pas(152,28) Hint: Parameter Sender not used taseries.pas(1258,81) Hint: Local variable topY does not seem to be initialized taseries.pas(1258,81) Hint: Local variable topX does not seem to be initialized taseries.pas(1259,65) Hint: Local variable bottomY does not seem to be initialized taseries.pas(177,28) Hint:
Re: [lazarus] Having a problem installing packages
On Sun, 28 Oct 2007 18:05:03 -0500 Matt Henley [EMAIL PROTECTED] wrote: I am using fpc 2.2 installed from gentoo with the sources installed and lazarus from svn (rev 12621). I have set the lazarus directory and can compile and run a simple single form project.. however, when I try to install a pkg file (in this case tagraph), I get an error of Compiling lazarus.pp lazarus.pp(74,11) Fatal: Can't find unit Interfaces used by Lazarus any ideas? Normally this means some ppu files are outdated and you just need to recompile them or you misconfigured something and now some ppu files exist twice and the compiler finds the old ones. First you can try $ export LCL_PLATFORM=gtk2; make clean all idepkg This will rebuild the whole gtk2 IDE with packages. If this gives the same error, then you have some old ppu files. You can see all files found by the compiler with: $ export LCL_PLATFORM=gtk2; make idepkg OPT=-vut Beware: This will show you *a lot* of information. Mattias Here is the output: [EMAIL PROTECTED]:~/Programs/lazarus$ ./startlazarus Gtk-WARNING **: Failed to load module libgnomebreakpad.so: libgnomebreakpad.so: cannot open shared object file: No such file or directory Gtk-WARNING **: Failed to load module libgnomebreakpad.so: libgnomebreakpad.so: cannot open shared object file: No such file or directory TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 NOTE: codetools config file not found - using defaults NOTE: help options config file not found - using defaults TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 908 TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 978 TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/test/FlashTest/actualflash.pas 208 TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/engine/thermo/FlashRachRice.pas 121 TMainIDE.DoLoadLFM A /home/matt/unit1.pas IsPartOfProject=True SUCCESS: streaming lfm=/home/matt/unit1.lfm TPkgManager.DoCompilePackage A TAChartLazarusPkg 0.0 Flags=[] TMainIDE.DoSaveAll TMainIDE.DoSaveProject End [TExternalToolList.Run] CmdLine=/usr/bin/ppc386 -S2cgi -OG1 -gl -vewnhi -l -Fu../../lcl/units/i386-linux/ -Fu../../lcl/units/i386-linux/gtk/ -Fu../../packager/units/i386-linux/ -Fu. -FUlib/i386-linux/ -dLCL -dLCLgtk tachartlazaruspkg.pas WorkDir=/home/matt/Programs/lazarus/components/tachart/ Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Warning: You are using the obsolete switch -OG Free Pascal Compiler version 2.2.0 [2007/09/20] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Linux for i386 Compiling tachartlazaruspkg.pas Compiling taseries.pas Compiling tagraph.pas Compiling taengine.pas Compiling taseries.pas taseries.pas(377,23) Warning: Function result does not seem to be set taseries.pas(121,35) Hint: Parameter SeriesColor not used taseries.pas(250,28) Hint: Parameter Sender not used taseries.pas(635,51) Hint: Local variable yi1 does not seem to be initialized taseries.pas(635,51) Hint: Local variable xi1 does not seem to be initialized taseries.pas(639,51) Hint: Local variable yi2 does not seem to be initialized taseries.pas(639,51) Hint: Local variable xi2 does not seem to be initialized taseries.pas(582,6) Note: Local variable j not used taseries.pas(586,4) Note: Local variable Min is assigned but never used taseries.pas(586,8) Note: Local variable Max is assigned but never used taseries.pas(586,12) Note: Local variable a not used taseries.pas(586,14) Note: Local variable b not used taseries.pas(587,4) Note: Local variable Inside1 not used taseries.pas(587,12) Note: Local variable Inside2 not used taseries.pas(588,4) Note: Local variable Chart1 not used taseries.pas(589,4) Note: Local variable YLeft not used taseries.pas(589,10) Note: Local variable YRight not used taseries.pas(589,17) Note: Local variable XBottom not used taseries.pas(589,25) Note: Local variable XTop not used taseries.pas(590,4) Note: Local variable XLine not used taseries.pas(590,10) Note: Local variable YLine not used taseries.pas(591,4) Note: Local variable BLeft not used taseries.pas(591,10) Note: Local variable BRight not used taseries.pas(591,17) Note: Local variable BBottom not used taseries.pas(591,25) Note: Local variable BTop not used taseries.pas(592,4) Note: Local variable XLeftI not used taseries.pas(592,11) Note: Local variable YLeftI not used taseries.pas(592,18) Note: Local variable XRightI not used taseries.pas(592,26) Note: Local variable YRightI not used taseries.pas(592,34) Note: Local variable XBottomI not used taseries.pas(592,43) Note: Local variable YBottomI not used taseries.pas(592,52) Note: Local variable XTopI not used taseries.pas(592,58) Note: Local variable YTopI not used taseries.pas(786,17) Warning: Function result does not seem to be set
Re: [lazarus] Having a problem installing packages
Thanks, that fixed it... On 10/28/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Sun, 28 Oct 2007 18:05:03 -0500 Matt Henley [EMAIL PROTECTED] wrote: I am using fpc 2.2 installed from gentoo with the sources installed and lazarus from svn (rev 12621). I have set the lazarus directory and can compile and run a simple single form project.. however, when I try to install a pkg file (in this case tagraph), I get an error of Compiling lazarus.pp lazarus.pp(74,11) Fatal: Can't find unit Interfaces used by Lazarus any ideas? Normally this means some ppu files are outdated and you just need to recompile them or you misconfigured something and now some ppu files exist twice and the compiler finds the old ones. First you can try $ export LCL_PLATFORM=gtk2; make clean all idepkg This will rebuild the whole gtk2 IDE with packages. If this gives the same error, then you have some old ppu files. You can see all files found by the compiler with: $ export LCL_PLATFORM=gtk2; make idepkg OPT=-vut Beware: This will show you *a lot* of information. Mattias Here is the output: [EMAIL PROTECTED]:~/Programs/lazarus$ ./startlazarus Gtk-WARNING **: Failed to load module libgnomebreakpad.so: libgnomebreakpad.so: cannot open shared object file: No such file or directory Gtk-WARNING **: Failed to load module libgnomebreakpad.so: libgnomebreakpad.so: cannot open shared object file: No such file or directory TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32 NOTE: codetools config file not found - using defaults NOTE: help options config file not found - using defaults TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 908 TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 978 TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/test/FlashTest/actualflash.pas 208 TManagedBreakPoints.NotifyAdd A /home/matt/OpSim/trunk/src/engine/thermo/FlashRachRice.pas 121 TMainIDE.DoLoadLFM A /home/matt/unit1.pas IsPartOfProject=True SUCCESS: streaming lfm=/home/matt/unit1.lfm TPkgManager.DoCompilePackage A TAChartLazarusPkg 0.0 Flags=[] TMainIDE.DoSaveAll TMainIDE.DoSaveProject End [TExternalToolList.Run] CmdLine=/usr/bin/ppc386 -S2cgi -OG1 -gl -vewnhi -l -Fu../../lcl/units/i386-linux/ -Fu../../lcl/units/i386-linux/gtk/ -Fu../../packager/units/i386-linux/ -Fu. -FUlib/i386-linux/ -dLCL -dLCLgtk tachartlazaruspkg.pas WorkDir=/home/matt/Programs/lazarus/components/tachart/ Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Warning: You are using the obsolete switch -OG Free Pascal Compiler version 2.2.0 [2007/09/20] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Linux for i386 Compiling tachartlazaruspkg.pas Compiling taseries.pas Compiling tagraph.pas Compiling taengine.pas Compiling taseries.pas taseries.pas(377,23) Warning: Function result does not seem to be set taseries.pas(121,35) Hint: Parameter SeriesColor not used taseries.pas(250,28) Hint: Parameter Sender not used taseries.pas(635,51) Hint: Local variable yi1 does not seem to be initialized taseries.pas(635,51) Hint: Local variable xi1 does not seem to be initialized taseries.pas(639,51) Hint: Local variable yi2 does not seem to be initialized taseries.pas(639,51) Hint: Local variable xi2 does not seem to be initialized taseries.pas(582,6) Note: Local variable j not used taseries.pas(586,4) Note: Local variable Min is assigned but never used taseries.pas(586,8) Note: Local variable Max is assigned but never used taseries.pas(586,12) Note: Local variable a not used taseries.pas(586,14) Note: Local variable b not used taseries.pas(587,4) Note: Local variable Inside1 not used taseries.pas(587,12) Note: Local variable Inside2 not used taseries.pas(588,4) Note: Local variable Chart1 not used taseries.pas(589,4) Note: Local variable YLeft not used taseries.pas(589,10) Note: Local variable YRight not used taseries.pas(589,17) Note: Local variable XBottom not used taseries.pas(589,25) Note: Local variable XTop not used taseries.pas(590,4) Note: Local variable XLine not used taseries.pas(590,10) Note: Local variable YLine not used taseries.pas(591,4) Note: Local variable BLeft not used taseries.pas(591,10) Note: Local variable BRight not used taseries.pas(591,17) Note: Local variable BBottom not used taseries.pas(591,25) Note: Local variable BTop not used taseries.pas(592,4) Note: Local variable XLeftI not used taseries.pas(592,11) Note: Local variable YLeftI not used taseries.pas(592,18) Note: Local variable XRightI not used taseries.pas(592,26) Note: Local variable YRightI not used taseries.pas(592,34) Note: Local variable XBottomI not used taseries.pas(592,43) Note: Local variable YBottomI not used