Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2026-02

error with Lazarus 4.4 32 bit / windows 10

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

duilio foschi

1. brand new install
2. project/new project/application
3. drag a component TIBConnection into the form
4. compile
5. get the following error:
fcllaz.pas(11,3) Error: Cannot find db used by fcllaz. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=C:\lazarus\fpc\3.2.2\units\i386-win32\fcl-db\db.ppu..

Please instruct

Peppe

Reply by email

Martin Frb
to duilio foschi
duilio foschi wrote 11 lines
1. brand new install 2. project/new project/application 3. drag a component TIBConnection into the form 4. compile 5. get the following error: fcllaz.pas(11,3) Error: Cannot find db used by fcllaz. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=C:\lazarus\fpc\3.2.2\units\i386-win32\fcl-db\db.ppu.. Please instruct

Strange, I am not 100% sure, but maybe some pointers.

First of all, I tested the above steps (32 bits, on Win10 too) => compiled here.

But anyway, please try the following steps

- Make a backup of your lazarus.exe
? C:\lazarus\lazarus.exe
- Start the IDE
- Menu Tools > Configure Build lazarus
- Check "Clean all"
- Build
- Restart the IDE

Then try your project again.

The above steps will do 2 things.
1) Rebuild the lazarus.exe => you don't need that
? (and in case something goes wrong you can put the backup back)
2) Remove all (most) incorrect ppu, and rebuild most others. ? If you have for whatever reason an incorrect ppu, then that should help.

Alternatively: you can check if you have a db.ppu OUTSIDE the c:\lazarus\fpc\........ folder
This can happen either, if you had an old install, or if you did change settings on the "path" page of the options.

-----
If the above steps do not help:
- Open Tools > Configure build Lazarus (again)
- Custom option => add:? -va
? (remove that when you finished all the below)
- Save (no need to build)
- build your project
- When the error happens, right click the messages windows, and from the "copy" sub-menu select "copy all and original messages" ? Either zip them, or send the last (bottom most) about 200 of them. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260201/a77c4f29/attachment.htm>

Reply by email