Package problem lazarus / 13-General ---------------------------------------------------------------------- Phil · 2006-07-17 20:54 I managed to figure out how to create a package and add it to the Laz IDE. However, when I add one of the package's custom controls to a form, Laz adds the package name to the uses statement in the project's .lpr file. This causes compilation to fail since it tries to compile the automatically created file that has the package name. The automatically created file includes this comment: { This file was automatically created by Lazarus. Do not edit! This source is only used to compile and install the package.  } So why is Laz trying to compile it into any project that uses the package? That's akin to Laz adding "LCL" to a project's .lpr file, which of course doesn't make sense. Removing the package name from the uses in the .lpr fixes the problem. The same problem is introduced if I convert a Delphi project to Laz and use the Project Inspector to add my package to the list of required packages in the .lpi file - Laz adds the package to the converted .lpr's uses statement. Thanks. ---------------------------------------------------------------------- Marc · 2006-07-18 09:53 Please bugrep this in Mantis. Problems reported here will be forgotten.