Recent

Author Topic: [SOLVED]Installed component but no icon found.  (Read 7493 times)

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
[SOLVED]Installed component but no icon found.
« on: May 13, 2013, 09:32:55 pm »
 :o I installed a component by clicking on Package ---> Open package ---> lpk file. It says that it compiled and installed successfully, but I don't see the component icon in its tabs (MISC).

Lazarus - 1.0.8
fpc 2.6.2

So, what is going on? or What am I doing wrong?

Please help I am just about to get really really >:( and  :'(
« Last Edit: May 24, 2013, 03:06:49 pm by reltek »

exdatis

  • Hero Member
  • *****
  • Posts: 668
    • exdatis
Re: Installed component but no icon found.
« Reply #1 on: May 13, 2013, 09:49:46 pm »
Which component? EG synapse haven't  design-time component.

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Installed component but no icon found.
« Reply #2 on: May 13, 2013, 09:52:11 pm »
lcluniqueinstance.lpk is what I am trying to install.

exdatis

  • Hero Member
  • *****
  • Posts: 668
    • exdatis
Re: Installed component but no icon found.
« Reply #3 on: May 13, 2013, 09:54:08 pm »
Try to use(uses your_lib eg lcluniqueinstance), if works, that's it!

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Installed component but no icon found.
« Reply #4 on: May 13, 2013, 10:00:11 pm »
I am sorry what, exdatis?

I don't understand.

You mean just use its library file under uses clause in my program file. Well, you see it isn't just with this component I am having problem with other ones too. This is just one of them.

LCLUniqueInstance is design time and run time tool.

correct me if I am wrong.

exdatis

  • Hero Member
  • *****
  • Posts: 668
    • exdatis
Re: Installed component but no icon found.
« Reply #5 on: May 13, 2013, 10:03:35 pm »
Yes, just include, as used LclIntf
http://code.google.com/p/luipack/
or try rebuild.
p.s lazarus  ver., OS, PC?
« Last Edit: May 13, 2013, 10:05:42 pm by exdatis »

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Installed component but no icon found.
« Reply #6 on: May 13, 2013, 10:10:24 pm »
Uniqueinstance is installed on the System tab (not the Misc tab) of the palette. You'll see it there as the last entry (red icon, with a "1" in the middle).

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Installed component but no icon found.
« Reply #7 on: May 13, 2013, 10:52:53 pm »
howardpc - You are correct. I had all these tools or component successfully installed on my Lazarus IDE prior to today. This morning I did an update on my Linux system and it also updated my IDE unknown to me. To my horror, all the tools I installed was not in the tool tabs. So, since this morning I have been trying to install them back in but they are not showing up on the tab even though IDE is saying that they have been compiled and installed successfully.

I am doing this under user account not the root account on my Linux System. If that will help.

Lazarus 1.0.8
fpc 2.6.2

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Installed component but no icon found.
« Reply #8 on: May 14, 2013, 04:23:28 am »
Quote
I am doing this under user account not the root account on my Linux System. If that will help.
And where do you have your Lazarus installed? If it's in a system folder where your user account by default have to write permission, you should find your new Lazarus under ~/.lazarus if I'm not mistaken (I install my Lazarus in a place where I have write permission, so I don't have this problem).

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Installed component but no icon found.
« Reply #9 on: May 14, 2013, 03:33:52 pm »
 :(

Right now. I am truly lost. We installed a new 64bit Linux System just for programming with Lazarus. After that I started to setup latest Lazarus IDE. Initially I had problems installing packages - I followed tutorial and online communities suggestions. Nothing helped. Then, I realized it has something to do with permission. So, I switched to Root user. From there I try to install the packages. Even though it didn't work right away under root, I eventually got the tools to install and appear on the tool tabs, but don't ask me how I did. I got most of the tools installed on to my Lazarus IDE that I actually got to compile and run my program.  :) happy and  8-) cool I thought, but once I started to develop my program I ran into GDB Debugger error and I couldn't recover from it no matter what I did. Then, I thought if I update my Linux system, it might fix itself.

As I said before, Linux system update not only updated Linux but also Lazarus IDE wiping out all the tools or packages I installed already. So, here I am trying to put them back in. For the life of me, I can't get them on the tabs even though IDE is saying that it is successfully installed. I enabled permission all over the place and still can't get anything to show up on the Lazarus's tab.

Do you think this is happening because the tools are already been installed that it won't show up on the tabs installing them the second time? If so, maybe they are registered somewhere in the system as being installed. When you remove or delete the tools to install again that registration doesn't get updated or deleted. So, Lazarus IDE never fully updates the tools on its tabs. Correct me if I am wrong.

The last thing to do is redo the whole system again by re-installing the Linux system and then install latest Lazarus IDE.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Installed component but no icon found.
« Reply #10 on: May 14, 2013, 03:49:43 pm »
Quote
but once I started to develop my program I ran into GDB Debugger error and I couldn't recover from it no matter what I did
If your Linux is Ubuntu 13.04 family, then it's GDB error, as documented in the wiki (forgot the link). The solution is to downgrade to 7.5.1 until a fixed version comes out.
Quote
Do you think this is happening because the tools are already been installed that it won't show up on the tabs installing them the second time?
No, normally your configuration will be preserved (unless you purge the package), so all your packages should be back when you rebuild Lazarus. Otherwise, see my previous answer. If you find it there, then you didn't apply the permissions correctly. Try checking with ls -l in lazarus directory.

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Installed component but no icon found.
« Reply #11 on: May 14, 2013, 06:04:25 pm »
Hi Leledumbo,

I just checked and my Lazarus is installed at ~./Lazarus. After I ls -l, it shows that I am the owner and have full permission. I also checked the component folder within Lazarus folder and it also has complete or full permission for my user. Also, there are lots of components within that folder which I am trying to install.

Any other ideas or thoughts? thanks.  :D

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Installed component but no icon found.
« Reply #12 on: May 15, 2013, 03:17:06 pm »
I did forget to tell you that my Linux Distro is PCLinuxOS.
« Last Edit: May 15, 2013, 05:38:58 pm by reltek »

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Installed component but no icon found.
« Reply #13 on: May 24, 2013, 03:06:28 pm »
This is solved. Basically, I downgraded my lazarus to 1.0.6 and everything worked as expected.

 

TinyPortal © 2005-2018