Forum > Linux
"Unable to create new method" ... "StdCtrls not found"
(1/1)
ArtLogi:
Hi I'm now in deep issues of the installation of FPC and Lazarus on my Linux Mate:
--- Code: Text [+][-]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";}};} --- No LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 22.04.2 LTSRelease: 22.04Codename: jammy
--- Code: Text [+][-]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";}};} ---Lazarus 2.2.0+dfsg1-5ubuntu1 (rev Debian package 2.2.0+dfsg1-5ubuntu1) FPC 3.2.2 x86_64-linux-gtk2
UPDATE: Removed everything FPC+LAZ related with Synapse package manager, followed the download links to sourceforge to get right ones for my CPU+OS (happened to be the same) and installation order from: https://forum.lazarus.freepascal.org/index.php/topic,62770.0.html The LAZ v2.2.6 from sourceforge seems to resolve the issue (on my setup, with quick test)..
I'm really noob on both Linux and on Lazarus (working so rarely with Lazarus or any other general programming language that I always start from scratch). Need some advices.
Symptoms: Ie. Starting a new project without any additional installations on Lazarus or FPC, no custom libraries or anything, In form placing a few objects to form, compiling a few times adding something else and suddenly this starts to give errors of missing _standard_ components.
This issue corrupts the projects permanently rebooting machine or projects doesn't solve the issue.. Tried to do something on source editor, but got it more haywired :o
Help, what should I do to fix this.
I can also relate this topic (while I wouldn't call this random issue.. Since I can reproduce it
https://forum.lazarus.freepascal.org/index.php/topic,64237.0.html
Edit. REMOVED the intial screenshot.. It was from few weeks ago with some "tweaking" of code after the initial error. Next few posts have steps of creating issue from fresh project. Renamed the topic.
ArtLogi:
This was the first "new thing" I haven't seen on past with Linux nor Win versions of Lazarus. Attachment.
I do select the last "Enable Dwarf 2 with sets"
Which then results with good compilation for run.
ArtLogi:
Then adding a TLabel object on form editor. Run -> No issues.
Then double click TButton creates error "Unable to create new method" ... "StdCtrls not found"
See attachment.
Unfortunately my signature proves itself always correct. :
ArtLogi:
Raw console in/out, after pressing OK
Dzandaa:
Hi,
I use Linux Mint Cinnamon with Version 2.2.4 and FPC Version 3.2.2
For debugging, I use Dwarf3 (beta) (-gw") without problem.
B->
Navigation
[0] Message Index