Recent

Author Topic: Package-Use-Install error that the file does not exist, compilation no errors.  (Read 947 times)

dmitryb

  • Jr. Member
  • **
  • Posts: 69
Why, when executing the Package-Use-Install menu, does an error appear that the file does not exist, although the complete compilation of the package proceeds without errors?

I created a Run-Time+Design-Time package.

The package compiles without errors.

But when I run the Package-Use-Install command, I get an error that

Quote
DBGridEhFindDlgs.pas(85,12) Error: Can't find unit DBGridEhFindDlgs used by DBGridEh

Although the file exists in the folder
C:\RADStudio\lazarus\EhLib.12_0\Src\Vcl


I also don't understand why when I try to install a package the system tries to recompile it.
« Last Edit: August 12, 2024, 11:27:51 pm by dmitryb »

paweld

  • Hero Member
  • *****
  • Posts: 1215
you have 2 choices:
1. in the package edit window, add the file "DBGridEhFindDlgs.pas" to the package
Or
2. add the path "C:RADStudio\lazarus\EhLib.12_0\Src\Vcl" to the "Other unit files" property in the project options
Best regards / Pozdrawiam
paweld

 

TinyPortal © 2005-2018