[Lazarus] Package depencies and order of compiling when building lazarus
Ludo Brands
ludo.brands at free.fr
Sat Jan 7 15:21:08 CET 2012
Hi,
I have made a typelib import utility (already in fpc trunk) and a freepascal
implementation of a visual activeX container. I've made also a package that
adds the ActiveX container component to the component tabs and that adds an
"Import Type Library" menu item in the Project menu. All this works fine
except for one problem: one of the options for importing a typelib is to
create a package with the new ActiveX component. The importer will create
the package, prompt for a directory to store the package and then open the
new package. I have done this with a call to PkgBoss.DoOpenPackageFile. This
needs BasePkgManager which is in the IDE package. So I have added IDE as
dependency to my package. Now, when I upgrade the compiler and rebuild
lazarus, my package is apparently build before the IDE package and the
compiler wants to rebuild BasePkgManager but can't find the sources. Since
IDE is a dependency for my package, I would expect IDE to be compiled
before. I need to uninstall my package and whatever ActiveX component I have
installed (they depend on my package), rebuild lazarus and then re-install
the packages again. Am I doing something wrong? Is there another way to do
this?
Thanks, Ludo
More information about the Lazarus
mailing list