Sign in Join

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

Mailing lists / lazarus / 2012-01

Units in package not found

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Hans-Peter Diettrich

I've created a package for the FPDoc units, for use in the FPDocManager (see examples/fpdocmanager). While the IDE (code tools) can find all the units in the package, I get an compiler error about units not found. When I made the package "manual compile", most errors disappeared, but when I patched the units, now again the unit "dwlinear" is not found:

PPU Loading D:\repos\fpc-2.5.trunk\utils\fpdoc\lib\i386-win32\dwlinear.ppu PPU Source: dwlinear.pp not found
Recompiling dwlinear, checksum changed for dWriter dwlinear.pp(11,21) Fatal: Can't find unit dwlinear used by FPDocManager

A very strange thing is the last error message, from within the unit that cannot be found.

What's wrong?

DoDi

Reply by email

Mattias Gaertner
to Hans-Peter Diettrich
Show quoted text 15 lines
I've created a package for the FPDoc units, for use in the FPDocManager (see examples/fpdocmanager). While the IDE (code tools) can find all the units in the package, I get an compiler error about units not found. When I made the package "manual compile", most errors disappeared, but when I patched the units, now again the unit "dwlinear" is not found: PPU Loading D:\repos\fpc-2.5.trunk\utils\fpdoc\lib\i386-win32\dwlinear.ppu PPU Source: dwlinear.pp not found Recompiling dwlinear, checksum changed for dWriter dwlinear.pp(11,21) Fatal: Can't find unit dwlinear used by FPDocManager A very strange thing is the last error message, from within the unit that cannot be found. What's wrong?

You have two dwriter:
D:\repos\fpc-2.5.trunk\utils\fpdoc\lib\i386-win32\dwlinear.ppu lazarus\examples\fpdocmanager\dwriter.pp

Mattias

Reply by email

Hans-Peter Diettrich
to Mattias Gaertner
You have two dwriter: D:\repos\fpc-2.5.trunk\utils\fpdoc\lib\i386-win32\dwlinear.ppu

Right.

lazarus\examples\fpdocmanager\dwriter.pp

No, the source files are in above ...\utils\fpdoc\.

But you are right, I found the duplicate
lazarus\examples\fpdocmanager\lib\...\dwriter.ppu

Deleted it, and now it seems to work again. Thanks :-)

DoDi

Reply by email