Recent

Author Topic: I have to recompile my packets every time  (Read 1561 times)

Tommi

  • Full Member
  • ***
  • Posts: 213
I have to recompile my packets every time
« on: October 20, 2016, 06:00:54 pm »
I am under Xubuntu. I installed Lazarus and I installed lazdaemon packet. I created a new "Daemon Service Application" and saved it.

The problem is that every time I reopen the project and I try to compile it, Lazarus says to me :
"project1.lpr(7,14) Fatal: Cannot find lazdaemonapp used by project1. Check if package lazdaemon creates lazdaemonapp.ppu, check nothing deletes this file and check that no two packages have access to the unit source.."

So I have every time to keep the mouse on lazdaemonapp unit for some second, click on Package->lazdaemon and select "Compile".

After that I can compile my project.

Why ?

Thank you

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: I have to recompile my packets every time
« Reply #1 on: October 20, 2016, 08:18:56 pm »
Have you added lazdaemon as a dependency for your project?
Is it listed under the Required Packages node in the Project Inspector?
If not click on the Add >> button and add that package to your project.

Tommi

  • Full Member
  • ***
  • Posts: 213
Re: I have to recompile my packets every time
« Reply #2 on: October 21, 2016, 08:40:03 am »
Yes, it is already present under Required Packages.
It is automatically added from Lazarus when I create a new "Daemon (Service) Application" project.

 

TinyPortal © 2005-2018