Recent

Author Topic: Fatal: Cannot find lazcontroldsgn used by Lazarus  (Read 4039 times)

Raf20076

  • Full Member
  • ***
  • Posts: 184
    • https://github.com/Raf20076
Fatal: Cannot find lazcontroldsgn used by Lazarus
« on: January 31, 2018, 10:13:11 am »

I have got the same problem I was trying to install sptktoolbar and I have got this error
Quote
Lazarus.pp(1,1) Fatal: Cannot find lazcontroldsgn used by Lazarus. Check if package LazControlDsgn creates lazcontroldsgn.ppu, check nothing deletes this file and check that no two packages have access to the unit source..
Quote
You need to install the  package lazcontroldsgn.lpk from /lazarus/components/lazcontrols/design.
- This doesn't work at all.

I use Debian Stretch 9.3 32 bit lxde

But I found that when I install package lazcontroldsgn.lpk from /lazarus/components/lazcontrols/design the I have lazcontroldsgn.ppu in /home/debian/.lazarus/lib/LazControlDsgn/lib/i386-linux/gtk2 (debian - is my username)

in .lazarus/lib/LazControlDsgn/lib/i386-linux/gtk2 I have these files
LazControlDsgn.compiled  lazcontroldsgn.ppu  registerlazcontrols.o
lazcontroldsgn.o    lazcontrols.res     registerlazcontrols.ppu

in idemake.cfg file which is in .lazarus directory there is no line to lazcontroldsgn

in terminal type ls -a  and you will see hidden directory .lazarus .There you will find idemake.cfg and lib directory where is  lazcontroldsgn.ppu

How to fix it?



other similar topics https://forum.lazarus.freepascal.org/index.php?topic=38728.0

Raf20076

  • Full Member
  • ***
  • Posts: 184
    • https://github.com/Raf20076
Re: Fatal: Cannot find lazcontroldsgn used by Lazarus
« Reply #1 on: January 31, 2018, 10:19:49 am »
I added line -Fu/home/debian/.lazarus/lib/LazControlDsgn/lib/i386-linux/gtk2
to idemake.cfg but when I want to try install new component in Lazarus there is no -Fu/home/debian/.lazarus/lib/LazControlDsgn/lib/i386-linux/gtk2 in idemake.cfg. It deletes it? How?

Raf20076

  • Full Member
  • ***
  • Posts: 184
    • https://github.com/Raf20076
Re: Fatal: Cannot find lazcontroldsgn used by Lazarus (SOLVED)
« Reply #2 on: January 31, 2018, 10:46:40 am »
I solves it  8-)
in lazarus first install the  package lazcontroldsgn.lpk from /lazarus/components/lazcontrols/design. Close Lazarus.

I copied files
LazControlDsgn.compiled  lazcontroldsgn.ppu  registerlazcontrols.o
lazcontroldsgn.o    lazcontrols.res     registerlazcontrols.ppu
from
/home/debian/.lazarus/lib/LazControlDsgn/lib/i386-linux/gtk2 (debian - is my username)
into
/usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2

Go to your home directory and type ls -a
You will see .lazarus directory
type cd .lazarus/lib/LazControlDsgn/lib/i386-linux/gtk2
type ls
You will see files
LazControlDsgn.compiled  lazcontroldsgn.ppu  registerlazcontrols.o
lazcontroldsgn.o    lazcontrols.res     registerlazcontrols.ppu
the copy then one by one into /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
type
cp LazControlDsgn.compiled /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp lazcontroldsgn.ppu /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp registerlazcontrols.o /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp lazcontroldsgn.o /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp lazcontrols.res /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp registerlazcontrols.ppu /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
Start your Lazarus. Now you can install components







onurkizmaz

  • Newbie
  • Posts: 1
Re: Fatal: Cannot find lazcontroldsgn used by Lazarus (SOLVED)
« Reply #3 on: March 29, 2018, 09:38:04 am »
I solves it  8-)
in lazarus first install the  package lazcontroldsgn.lpk from /lazarus/components/lazcontrols/design. Close Lazarus.

I copied files
LazControlDsgn.compiled  lazcontroldsgn.ppu  registerlazcontrols.o
lazcontroldsgn.o    lazcontrols.res     registerlazcontrols.ppu
from
/home/debian/.lazarus/lib/LazControlDsgn/lib/i386-linux/gtk2 (debian - is my username)
into
/usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2

Go to your home directory and type ls -a
You will see .lazarus directory
type cd .lazarus/lib/LazControlDsgn/lib/i386-linux/gtk2
type ls
You will see files
LazControlDsgn.compiled  lazcontroldsgn.ppu  registerlazcontrols.o
lazcontroldsgn.o    lazcontrols.res     registerlazcontrols.ppu
the copy then one by one into /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
type
cp LazControlDsgn.compiled /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp lazcontroldsgn.ppu /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp registerlazcontrols.o /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp lazcontroldsgn.o /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp lazcontrols.res /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
cp registerlazcontrols.ppu /usr/lib/lazarus/1.8.0/components/lazcontrols/lib/i386-linux/gtk2
Start your Lazarus. Now you can install components


Your answer saved my life! Thank you very much!

 

TinyPortal © 2005-2018