Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting. I haven't needed to do so, but I thought I had heard that was a pretty quick recompile, on the order of < 10 seconds? I know there are some tips to speed it up.

Here's the wiki page on component authoring:

https://wiki.freepascal.org/How_To_Write_Lazarus_Component



Except when you need to, it's not working, or creepy bugs won't let you do it. Do try it on Lazarus for Raspberry Pi for example (you can do it on a virtual machine if you lack the real device). You'll see what I mean.


Are you using the official releases? If you are using Lazarus from Debian or some other repository, it will not work due to these packages not setting up permissions for the executable to be replaced.

In general IME on Linux the best approach is to install FPC (either from repositories or, better, using the official release) and then download the Lazarus source code and compile it somewhere in your home directory with 'make bigide'. This will avoid any problems with Lazarus packaging that often tends to be broken (again, IME).


I used in home instead in it's official release. Also I sudo-it when launch it, so it will have full rights. On some packages it didn't work, no matter what I did. I had to use official apt from repositories for those packages (lucky me they had that).


Hm if you installed the program from the sources it should work, though you may also need to install the development packages for Gtk, etc.

You can see the whole process in this video i took a couple of years ago:

https://www.youtube.com/watch?v=s_01Xhd2EJM

(this is making a simple puzzle game)

I'm basically doing the same procedure for many years now and i never had an issue with getting Lazarus or any of its packages to work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: