Forum > Linux

LCL for arm (STM32MP1)

<< < (2/5) > >>

Escain:
When switching to GTK2, I get mostly the same issue:


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Compile package LCL 2.2.4: Success, Hints: 2Hint: Start of reading config file C:\fpcupdelux32\fpc\bin\i386-win32\fpc.cfgHint: End of reading config file C:\fpcupdelux32\fpc\bin\i386-win32\fpc.cfgVerbose: Free Pascal Compiler version 3.2.2-rrelease_3_2_2-0-g0d122c4953 [2023/01/19] for armVerbose: Copyright (c) 1993-2021 by Florian Klaempfl and othersVerbose: Target OS: Linux for ARMHFVerbose: Compiling lcl.pasVerbose: 21 lines compiled, 8.1 secVerbose: 2 hint(s) issuedCompile Project, OS: linux, CPU: arm, Target: project1: Exit code 1, Errors: 1, Hints: 2Hint: Start of reading config file C:\fpcupdelux32\fpc\bin\i386-win32\fpc.cfgHint: End of reading config file C:\fpcupdelux32\fpc\bin\i386-win32\fpc.cfgVerbose: Free Pascal Compiler version 3.2.2-rrelease_3_2_2-0-g0d122c4953 [2023/01/19] for armVerbose: Copyright (c) 1993-2021 by Florian Klaempfl and othersVerbose: Target OS: Linux for ARMHFVerbose: Compiling project1.lprVerbose: Compiling unit1.pasVerbose: Compiling resource C:\fpcupdelux32\projects\lib\arm-linux\project1.orVerbose: Linking C:\fpcupdelux32\projects\project1Debug: C:\fpcupdelux32\cross\bin\arm-linux\arm-linux-gnueabihf-ld.exe: cannot find -lgdk-x11-2.0Debug: C:\fpcupdelux32\cross\bin\arm-linux\arm-linux-gnueabihf-ld.exe: cannot find -lX11project1.lpr(24,1) Error: Error while linkingproject1.lpr(24,1) Verbose: There were 1 errors compiling module, stoppingVerbose: Compilation abortedVerbose: C:\fpcupdelux32\fpc\bin\i386-win32\ppcrossarm.exe returned an error exitcode
Note: X11 is not available.

DonAlfredo:
I guess you need to switch towards QT[5/6]. And drop GTK.
QT should work nicely, as it does on Haiku (also a distro without GTK support).

Escain:

--- Quote ---I guess you need to switch towards QT[5/6]. And drop GTK.
QT should work nicely, as it does on Haiku (also a distro without GTK support).
--- End quote ---

I tried all possibilities, they all relay on X11.

I expect either some configuration for Qt/GTK to use wayland, or some procedure to rebuild LCL using ARM+Linux+Wayland

Laksen:
What about just enabling x11 support in your Yocto image?

Escain:

--- Quote ---What about just enabling x11 support in your Yocto image?
--- End quote ---

I am working on that currently: X11 has been dropped some 2 years ago by STM, so I am facing libraries incompatibilities. I found few forks attempting to configure Yocto image for it, none has worked so far. I am still on it trying to fix library incompatibilities and configuration issues, but I also wanted to explore LCL alternatives.

Also, considering that wayland is increasingly being the de-facto standard, I see X11 only as a short term solution.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version