[Lazarus] Cannot find unit lNet when building project

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jan 15 11:58:40 CET 2016


On Fri, 15 Jan 2016 11:53:25 +0100
Bo Berglund <bo.berglund at gmail.com> wrote:

> I have a test project that I try to run using 1.6RC2.
> In the source editor I can right click the uses line where lNet is
> specified and select "Find declaration" and it opens the unit in a new
> tab.
> But when I try to build the project there is a message:
> Fatal: Cannot find lNet used by....
> 
> What could be the problem? Obviously Lazarus knows how to find the
> unit and still the compile fails...

Did you install lnet via fppkg?
Maybe you updated your compiler and forgot to update lnet?
Also check that you have only one lnet.ppu.

Mattias




More information about the Lazarus mailing list