Easiest way to build from SVN - Win32? lazarus / 13-General ---------------------------------------------------------------------- User137 · 2011-02-10 15:26 What is the easiest/safest way to build Lazarus from SVN? What i did so far is: - Open explorer and go above Lazarus folder - Right click Lazarus folder for SVN Update (TortoiseSVN) - Right click again and Update to revision Head revision, fully recursive - Start lazarus ... this point i get 20 error popups i tell to ignore, finally most components aren't showing - From menu - Tools -> Build all ... Now i get the following error which doesn't go away if i remove 1 AllLCLIntfUnits and try to rebuild ignoring disk changes: Code: [Select]{ This file was automatically created by Lazarus. Do not edit!   This source is only used to compile and install the package.  } unit LCL; interface uses   AllLCLIntfUnits, AllLCLIntfUnits, LazarusPackageIntf; ...Error: D:\pascal\lazarus\lcl\interfaces\lcl.pas(10,35) Error: Duplicate identifier "ALLLCLINTFUNITS" So now i'm again forced to download the daily snapshot and reinstall the whole directory. What did i do wrong? ---------------------------------------------------------------------- Martin_fr · 2011-02-10 16:21 I assume you previously had no problems upgrading, and done so before. But now all the sudden it fails? That is because of a change to the build system itself, the old exe can not (easily) build the new code) => this is a once off; once you got past this revision, it is all normal again 1) build the package registration first (without the LCL), then (without any "clean" or "clean all") build the LCL 2) Or get an exe from a snapshot, and use that to build the SVN code ---------------------------------------------------------------------- User137 · 2011-02-10 19:09 Ye it did work before usually with no issues, just once before it failed too but different way. Process of removing Lazarus folder and reinstalling fixed the issues but removed all SVN associations for folder structure. It was surprisingly 1Gb size anyway, took a while deleting over 35000 files. Better use the full download and installer i guess.