[Lazarus] [lazarus] Advice about creating database-aware application with Lazarus

Howard Lee Harkness howard.lee.harkness at gmail.com
Sun Jun 22 01:47:06 CEST 2008


At this step: Go to Tools --> Configure build lazarus
I get the error: Fatal: Can't find unit system used by AllLCLUnits

At least I was able to get 2.2.0 to restore. However, I'm back where I was
before: A trivial 1-hour project has taken nearly 20 hours over a period of
3 weeks, and I haven't got anything to show for that effort. I'm tired of
this.

All I want to do is make a little demo project that accesses a MySQL 5.0
database, and can insert, edit, and delete rows in a table. That's something
I have done in less than 30 minutes using Delphi 3.0 over a decade ago
(including the time it took to boot the computer). All I'm getting from
Lazarus is a feeling that I'm too stupid to write database software anymore.

I see you have written another reply. I installed FPC 2.2.2rc1 in
c:\lazarus\fpc\2.2.2rc1

I pointed the compiler environment settings as follows:

compiler: C:\lazarus\fpc\2.2.2rc1\bin\i386-win32\fpc.exe
make: C:\lazarus\fpc\2.2.2rc1\bin\i386-win32\make.exe

At this point, it won't do anything useful at all, including the LCL
rebuild, so I've gone back to 2.2.0, which at least seems to work for
trivial non-database programs. I have also exhausted all of the time I had
to work on this for the week, so I think I'll stop by Fry's on the way home
from work sometime next week and buy a copy of Visual Basic. Bet it won't
take me 20 hours to write a trivial DB app in VB.

On Sat, Jun 21, 2008 at 5:12 PM, Felipe Monteiro de Carvalho <
felipemonteiro.carvalho at gmail.com> wrote:

> 2008/6/21 Howard Lee Harkness <howard.lee.harkness at gmail.com>:
> > Looks like all of the 2.2.2rc1 sources are zipped up separately by unit.
> Any
> > hints about where/how to put them in the directory structure so that
> Lazarus
> > can find them in the environment settings????
>
> Just download the installer from here and install it:
>
> ftp://ftp.freepascal.org/fpc/beta/2.2.2rc1/i386-win32
>
> You probably won't need to download the source. You can leave Lazarus
> using the source code from Free Pascal 2.2.0 which is installed with
> it. I do this and never had problems. The source is only used for some
> code completion, so the changes in the new version can probably be
> ignored.
>
> You don't have to install FPC to anywhere special, just use a
> directory without spaces and inform where the fpc.exe executable is in
> the Environmental Options.
>
> --
> Felipe Monteiro de Carvalho
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Howard Lee Harkness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080621/d97f1a17/attachment-0007.html>


More information about the Lazarus mailing list