Forum > Windows (32/64)

How can I COMPLETELY uninstall the previous version of Lazarus.

(1/2) > >>

snowyforest:
I decided to update lazarus to version 1.80.But after the installation ,it seemed that the previous configuration was still living in the computer and new project could not be compiled.
Could you help me?Thank you. :(

balazsszekely:
First please read this: http://forum.lazarus.freepascal.org/index.php/topic,39242.0.html
If you cannot fix your installation, uninstall everything then delete the config folder before reinstall. Typically located at:
Windows: C:\Users\%username%\AppData\Local\lazarus
Linux: ~/.lazarus

wp:
The location which GetMem mentions is usually not used for a secondary installation. Find the file lazarus.cfg in the Lazarus installation folder, open it, and get the profile folder from there. Or, open the properties of the link which starts Lazarus; if there is a parameter -pcp or --primary-config-path then the associated string is the path to the profile.

Another issue comes to my mind why Lazarus persistently does not use the correct fpc: Did you add fpc to the Windows path? Open a cmd windows and type "path" to see the current path settings. If there is anything related to fpc or Lazarus remove it. Dont't pollute the Windows path with these programs, you call for trouble if you have multiple installations.

Bart:

--- Quote from: wp on December 11, 2017, 09:10:38 am ---Did you add fpc to the Windows path? Open a cmd windows and type "path" to see the current path settings. If there is anything related to fpc or Lazarus remove it. Dont't pollute the Windows path with these programs, you call for trouble if you have multiple installations.

--- End quote ---

Say what?
I have fpc in my path, I have 2 instances of Lazarus (fixes and trunk): no problem whatsoever.

Bart

wp:

--- Quote from: Bart on December 11, 2017, 05:17:57 pm ---Say what?
I have fpc in my path, I have 2 instances of Lazarus (fixes and trunk): no problem whatsoever.

--- End quote ---
Then if you call fpc from console the one with is in the path is used, maybe not what you want. It has no effect on Lazarus which knows where its ingredients are. Unlike Delphi which always adds itself to the path. Since I'm having Delphi and Lazarus/fpc are on the same system I never rely on the path to return me what I want.

Navigation

[0] Message Index

[#] Next page

Go to full version