Forum > General

SOLVED!!! cannot comppile anything, even after uninstall and installed 2.26

<< < (2/3) > >>

Leledumbo:

--- Quote from: steveinalabama on April 09, 2023, 05:44:10 am ---Does anyone have a suggestion?

--- End quote ---
Do as in the attached screenshot and paste the result here.

dsiders:

--- Quote from: steveinalabama on April 09, 2023, 04:44:10 pm ---Thanks for your reply. I uninstalled Lazarus again, rebooted, installed Lazarus 2.2.2 ( 2 versions back), reinstalled, rebooted, and again got the same error, stopping on  an included file, which I added the full path to the {$I ... }, tried to compile again, and had the same problem on another included file. Again I added the full path to the include file, and another compile attempt and it stopped on a 3rd  $I file.

At this point, I give up.

FWIW I am running Malwarebytes, and did a chkdsk /f and found no system problems.

--- End quote ---

I see no mention of removing an existing PATH setting to FPC. In the past, I has installed FPC using the separate installer. It put FPC in the PATH settings in  the OS environment, and subsequently trashed any version of Lazarus I later installed.

steveinalabama:
I created a new app, had nothing but a tbutton on the form with the code behind it going "close" and it ran fone. I added a tmemo, another button to add random numbers to the memo and it also works fine. But after I did a CTRL+S to save the project and unit, it will not compile with an error message ...itentifier not found pjmp_buf...screen copy attached.

wp:
Strange... Please pack the .lpi, .lpr, .pas and .lfm files into a common zip and upload it here so that we can have a look at the project.

Next, I'd recommend to erase your user profile. In Lazarus open "View" > "IDE Internals" > "About IDE". Under "Global IDE options" write down the directory mentioned after "Primary config directory". Close Lazarus. In the Windows Explorer, rename this directory, so that Lazarus cannot find it any more and is forced to create new user settings (this removes all the changes that you made to the IDE in various dialogs). When you now restart Lazarus all settings are at default. I have never seen an issue when Lazarus was at this initial state.

steveinalabama:
Same problem.
 I renamed the Primary config directory to another name. I restarted Lazarus and created a new, simple program...it had 1 button which did a "close". It compiled and ran fine. added a Tmemo and another button and simple code to display 9 random numbers. It ran 5.
I then pressed "Control+s" to save the project and the unit, and after that I tried to compille & Run ago and got the error message
""...identifier not found PJMPBUF", and 2 other identifier not found messages.

I will zip it all up and post it as an attachment.
Thank you.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version