Recent

Author Topic: [SOLVED] Problems compiling Lazarus on win64  (Read 2510 times)

CuriousKit

  • Jr. Member
  • **
  • Posts: 78
[SOLVED] Problems compiling Lazarus on win64
« on: November 30, 2017, 09:05:19 am »
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)
« Last Edit: November 30, 2017, 12:59:37 pm by CuriousKit »

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Problems compiling Lazarus on win64
« Reply #1 on: November 30, 2017, 10:50:24 am »
Do "make clean all" or check the "Clean all" checkbox in the Configure "Build Lazarus" window.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

CuriousKit

  • Jr. Member
  • **
  • Posts: 78
Re: Problems compiling Lazarus on win64
« Reply #2 on: November 30, 2017, 12:59:22 pm »
So simple! That worked, thanks.  I was only using "Clean Common Files".

 

TinyPortal © 2005-2018