Recent

Author Topic: Can't find unit LCLType and LCLProc  (Read 9386 times)

cronodragon

  • New member
  • *
  • Posts: 7
Can't find unit LCLType and LCLProc
« on: November 22, 2007, 01:46:16 am »
I get errors like this, when trying to use units LCLProc and LCLType:

../Colores.pas(31,10) Fatal: Can't find unit LCLType used by Colores

What am I missing? Could it be a problem with the "Delphi Compatible" option? I'm compiling with Lazarus 0.9.24 in Ubuntu Linux.

Thank you!

windy

  • Full Member
  • ***
  • Posts: 186
RE: Can
« Reply #1 on: November 22, 2007, 03:16:55 am »
try creating a new project, then put LCLType in the uses at the top, and see if it compiles
if it does, then try putting your new project files where that test program is?

cronodragon

  • New member
  • *
  • Posts: 7
RE: Can
« Reply #2 on: November 22, 2007, 05:17:15 am »
Thanks a lot. Well, I finally found the problem was that I need to add the folder where LCL units are located, in the compiler options.

Regards!

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2673
RE: Can
« Reply #3 on: November 22, 2007, 10:45:32 am »
the units or their sources ? (the latter shouldn not be done)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Paul Ishenin

  • Sr. Member
  • ****
  • Posts: 274
RE: Can
« Reply #4 on: November 22, 2007, 11:12:00 am »
you need to add LCL in your project dependency

 

TinyPortal © 2005-2018