Sign in Join

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

Mailing lists / lazarus / 2013-07

"Can not find <package unit> used by Lazarus"

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Kenneth Cochran

Using Lazarus 1.0.10 on Windows 7 64-bit. The IDE appears to be running as a 32-bit application in case that makes a difference.

I am working on my first package and it compiles fine but whenever I attempt to install it using either the "Installed Packages" or "Package Editor" dialogs I get the following message

PPU Loading ..\ideextensions\lib\i386-win32\ideextensions.ppu PPU Source: ideextensions.pas not found
Recompiling ideextensions, checksum changed for ide (1,1) Fatal: Can not find ideextensions used by Lazarus, ppu=..\ideextensions\lib\i386-win32\ideextensions.ppu, package ideextensions

I shortened the path to '..' for brevity's sake. The actual path in the error message is a subfolder in my Windows user profile. The unit it's looking for (ideextensions.pas) appears to be created and maintained by the IDE whenever you add or remove dependencies using the package editor. I am certain it exists exactly where the IDE put it.

This is a brand new package with all package options set at the default. What could be causing this? Can anyone else reproduce this behavior? -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130716/e3e69e06/attachment.html>

Reply by email

Mattias Gaertner
to Kenneth Cochran
Show quoted text 10 lines
Using Lazarus 1.0.10 on Windows 7 64-bit. The IDE appears to be running as a 32-bit application in case that makes a difference. I am working on my first package and it compiles fine but whenever I attempt to install it using either the "Installed Packages" or "Package Editor" dialogs I get the following message PPU Loading ..\ideextensions\lib\i386-win32\ideextensions.ppu PPU Source: ideextensions.pas not found Recompiling ideextensions, checksum changed for ide

ide?
I hope you did not add the package 'ide' to the requirements of your package. The package 'ide' is only for testing purpose. You should use the package IDEIntf instead.

Show quoted text 11 lines
(1,1) Fatal: Can not find ideextensions used by Lazarus, ppu=..\ideextensions\lib\i386-win32\ideextensions.ppu, package ideextensions I shortened the path to '..' for brevity's sake. The actual path in the error message is a subfolder in my Windows user profile. The unit it's looking for (ideextensions.pas) appears to be created and maintained by the IDE whenever you add or remove dependencies using the package editor. I am certain it exists exactly where the IDE put it. This is a brand new package with all package options set at the default. What could be causing this? Can anyone else reproduce this behavior?

Mattias

Reply by email

Kenneth Cochran
to Mattias Gaertner

On Tue, Jul 16, 2013 at 2:49 PM, Mattias Gaertner <

Show quoted text 6 lines
wrote: ide? I hope you did not add the package 'ide' to the requirements of your package. The package 'ide' is only for testing purpose. You should use the package IDEIntf instead.

No I didn't add the ide package to my package's requirements but you may have touched on the problem. I have a unit called 'ide' that provides an abstraction over the Lazarus and Delphi extension apis. If all packages have a corresponding unit with the same name as the lpk then perhaps the ide package unit has higher precedence in the search path. Didn't realize the unit 'ide' was already in use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130716/4554a33f/attachment.html>

Reply by email

Kenneth Cochran
to Kenneth Cochran
Kenneth Cochran wrote 7 lines
No I didn't add the ide package to my package's requirements but you may have touched on the problem. I have a unit called 'ide' that provides an abstraction over the Lazarus and Delphi extension apis. If all packages have a corresponding unit with the same name as the lpk then perhaps the ide package unit has higher precedence in the search path. Didn't realize the unit 'ide' was already in use.

Renaming my unit and updating all references to it did the trick. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130716/e7fc6bdc/attachment.html>

Reply by email