Recent

Author Topic: Error When Trying To Compile For Windows From A Linux Box  (Read 3652 times)

Rails

  • Guest
Error When Trying To Compile For Windows From A Linux Box
« on: June 04, 2012, 06:12:35 pm »
I get the following error when trying to compile for Windows using my Linux box. Rebuilding the IDE made no difference.

Code: [Select]
/usr/lib/lazarus/packager/registration/fcllaz.pas(1,1) Fatal: Can't find unit system used by fcllaz

The Fcl unit is already installed. FclLaz does not have system in its uses clause, so I assume this is the basic Laz system unit.  I have checked all the settings I can think of and can't find anything obviously wrong. I have the QT widget set selected.

I suspect I am missing something obvious. I just don't know what it is. The app I am trying to compile built fine for Linux.

Laz 1.1
FPC 2.6.0

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1890

Leledumbo

  • Hero Member
  • *****
  • Posts: 8108
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Error When Trying To Compile For Windows From A Linux Box
« Reply #2 on: June 05, 2012, 01:07:22 am »
Quote
The Fcl unit is already installed.
For which platform? Probably for your linux only.
Quote
FclLaz does not have system in its uses clause, so I assume this is the basic Laz system unit.
ALL Pascal compilation units (incl. programs and libraries) have implicit dependency on System unit, so it doesn't have to be written (in fact, in MAY NOT be written).
Quote
I suspect I am missing something obvious.
Yep, see my first answer. You miss all the units compiled for windows.