[SOLVED] Problems compiling Lazarus on win64 lazarus / 64-FPC development ---------------------------------------------------------------------- CuriousKit · 2017-11-30 08:05 Hi everyone. So I'm trying to compile the development branch of Lazarus with the development branch of FPC on win64, but I don't get very far: (1002) Target OS: Win64 for x64 (3104) Compiling fcllaz.pas (10001) PPU Loading P:\pp\\units\x86_64-win64\rtl-objpas\variants.ppu (10011) PPU Source: variants.pp not available (10028) Recompiling variants, checksum changed for P:\pp\\units\x86_64-win64\rtl\math.ppu {impl} P:\pp\\units\x86_64-win64\rtl-objpas\variants.ppu:variants.pp(11,71) Fatal: (10022) Can't find unit variants used by db Fatal: (1018) Compilation aborted I'm able to compile FPC without any problems, and I can build Lazarus with FPC 3.0.2 and its files, but as soon as I try to compile it using the newly-compiled FPC 3.1.4, along with all of its installed files, it can't find the variants unit.  I'm guessing some things have been moved around, and I need to change a directory reference somewhere - any advice? (The same problem occurs whether I use "make all" on the command line, or try to build Lazarus within Lazarus itself) ---------------------------------------------------------------------- JuhaManninen · 2017-11-30 09:50 Do "make clean all" or check the "Clean all" checkbox in the Configure "Build Lazarus" window. ---------------------------------------------------------------------- CuriousKit · 2017-11-30 11:59 So simple! That worked, thanks.  I was only using "Clean Common Files".