Recent

Author Topic: Free Pascal 2.6.4 and Lazarus 1.2  (Read 5715 times)

jwdietrich

  • Hero Member
  • *****
  • Posts: 1036
    • formatio reticularis
Free Pascal 2.6.4 and Lazarus 1.2
« on: March 11, 2014, 09:07:01 pm »
I just downloaded FPC in the new version 2.6.4, but compiling my first app raises the following error message:

PPU Loading /Developer/lazarus/lcl/units/powerpc-darwin/carbon/interfaces.ppu
PPU Source: interfaces.pas not found
Recompiling Interfaces, checksum changed for System
project1.lpr(9,3) Fatal: Can not find Interfaces used by Project1, ppu=/Developer/lazarus/lcl/units/powerpc-darwin/carbon/interfaces.ppu, package LCL


It didn't help to rescan the FPC source directory. Is there any step that I omitted?

I use Mac OS X 10.5 on a PPC machine and, as mentioned, Lazarus 1.2.
« Last Edit: March 11, 2014, 10:10:23 pm by Tomas Hajny »
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.0.6 | FPC 3.0.4 | PPC, Intel, ARM | macOS, Windows, Linux

jwdietrich

  • Hero Member
  • *****
  • Posts: 1036
    • formatio reticularis
Re: Free Pascal 2.6.4 and Lazarus 1.2
« Reply #1 on: March 11, 2014, 09:48:34 pm »
OK, I "solved" it by re-installing FPC 2.6.2, but of course this isn't a satisfactory solution.

Could it be that the source of the problem is incompatibility of fpcsrc 2.6.2 with FPC 2.6.4?
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.0.6 | FPC 3.0.4 | PPC, Intel, ARM | macOS, Windows, Linux

howardpc

  • Hero Member
  • *****
  • Posts: 3209
Re: Free Pascal 2.6.4 and Lazarus 1.2
« Reply #2 on: March 11, 2014, 09:53:01 pm »
The fpc 2.6.4 source is a separate download from the main 2.6.4 compiler download.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1036
    • formatio reticularis
Re: Free Pascal 2.6.4 and Lazarus 1.2
« Reply #3 on: March 11, 2014, 09:56:39 pm »
Thanks, I somewhat expected this reply. Currently fpcsrc 2.6.4 is not available for download. I will give FPC 2.6.4 another try as soon as the corresponding fpcsrc is provided.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.0.6 | FPC 3.0.4 | PPC, Intel, ARM | macOS, Windows, Linux

Bart

  • Hero Member
  • *****
  • Posts: 3548
    • Bart en Mariska's Webstek
Re: Free Pascal 2.6.4 and Lazarus 1.2
« Reply #4 on: March 11, 2014, 11:00:52 pm »
Most likely the compiler finds an old ppu, compiled with 2.6.2.
Try to compile with -vut, it'll tell you what fpc actually tries to use.

Also, try a "make distclean" in Lazarus folder?

Bart

kamischi

  • Full Member
  • ***
  • Posts: 177
Re: Free Pascal 2.6.4 and Lazarus 1.2
« Reply #5 on: March 12, 2014, 12:13:32 am »
Give me a day or two and the fink packages for fpc 2.6.4 and lazarus 1.2 are ready.

MiSchi

P.S. fink packages are out. GO GO GO!
« Last Edit: March 12, 2014, 07:30:55 am by kamischi »
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

Jeanette

  • Newbie
  • Posts: 2
Re: Free Pascal 2.6.4 and Lazarus 1.2
« Reply #6 on: March 26, 2014, 10:54:44 am »
Does anyone Know PRESSKEY Code For Lazarus?

And Also Clear Screen?

exdatis

  • Hero Member
  • *****
  • Posts: 668
    • exdatis