Tiny Core Linux and Visual LCL controls lazarus / 32-Linux ---------------------------------------------------------------------- YoupMelon · 2018-04-27 09:36 Hi all, The Lazarus distribution for TinyCore Linux doesn't seem to support visual LCL controls. Suppose I'd like to add support for the visual desktop environment of TinyCore myself, how could I go about doing that? (The visual desktop is something called Xvesa. Anyone has any experience with that?) Any advice would be more than welcome. ---------------------------------------------------------------------- Thaddy · 2018-04-27 10:54 The customdrawn widget set should work if Xvesa is implemented in full. (Because of X) ---------------------------------------------------------------------- YoupMelon · 2018-04-27 12:16 That's good news. So in principle I should be able to compile the right stuff and put it in the right places. The distribution that I have has interfaces.o etc only in a i386-linux/nogui folder; I expected another i386-linux/i386 folder next to that, but it isn't there. Can some of the cognoscenti over here help me on my way? ---------------------------------------------------------------------- mse · 2018-04-27 12:19 You probably are served better by a Free Pascal toolkit which links directly to Xlib like MSEide+MSEgui or fpGUI. ---------------------------------------------------------------------- YoupMelon · 2018-04-27 12:31 Yes, I know. But I also like Lazarus a lot. So I'd prefer to get that working as well. (Also as a learning experience. And for the sport of it, of course.) ---------------------------------------------------------------------- YoupMelon · 2018-04-27 13:00 Yes! I've got it working!! Thaddy's remark was spot on - there was a customdrawn folder right under my nose, only in an unexpected place. (And for other newbies like myself: widgetsets can be chosen either from the lazarus IDE or set in an fpc.cfg file if you're compiling directly with fpc.) This is all great stuff.   Thanks guys! ---------------------------------------------------------------------- benohb · 2018-04-28 00:52 I previously dealt with this distribution I advise you to use http://wiki.lazarus.freepascal.org/fpGUI You will get a very small executable file + not need too many dependencies (only libxft) The package is not available in .ISO You have to pay attention to GLibc library version .Always compiles your program In an old version(<= 2.26) ---------------------------------------------------------------------- mse · 2018-04-28 07:50 In MSEide+MSEgui even libxft is optional: Code: [Select]> ldd ./mseide         linux-gate.so.1 (0xb7721000)         libpthread.so.0 => /lib/libpthread.so.0 (0xb76d3000)         libX11.so.6 => /usr/lib/libX11.so.6 (0xb7598000)         libdl.so.2 => /lib/libdl.so.2 (0xb7593000)         librt.so.1 => /lib/librt.so.1 (0xb758a000)         libm.so.6 => /lib/libm.so.6 (0xb7543000)         libc.so.6 => /lib/libc.so.6 (0xb7395000)         /lib/ld-linux.so.2 (0xb7724000)         libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7371000)         libXau.so.6 => /usr/lib/libXau.so.6 (0xb736d000) ---------------------------------------------------------------------- YoupMelon · 2018-04-30 19:14 To benohb: Sounds like you experienced some specific quirks with the combination Lazarus / Tiny Core Linux? Can you give some more details? ---------------------------------------------------------------------- Thaddy · 2018-04-30 20:03 I think what he means is that if you feel the need for a tiny distribution you may also feel the need for small code. And Lazarus code is rather resource intensive. fpGui is much lighter, but also requires you to learn the whole framework and it can look rather ugly (has been improved, I believe). MseGUI has the same caveat: you need to learn a new framework. So if you want to stick to your LCL knowledge, don't use those two. If you want smaller code try both of these frameworks out. Both are nice. Both are stable. ---------------------------------------------------------------------- mse · 2018-05-01 07:08 I just remember, MSEide+MSEgui already has been installed on Tiny Core Linux: http://forum.tinycorelinux.net/index.php?topic=15869.0