Recent

Author Topic: Classess - lclclasses  (Read 2904 times)

Black Max

  • Newbie
  • Posts: 2
Classess - lclclasses
« on: July 04, 2013, 03:25:10 am »
Hi, only new to Lazarus but I am a relatively experienced delphi user.

I constantly get the error /Developer/lazarus/lcl/lclclasses.pp(32,10) Error: unit not found:Classes.

This occurs when selecting an event for a control... whether it be a label, button or otherwise.   I searched the /Developer/lazarus/lcl/ folder looking for the Classes unit... and was unable to find it.  The lclclasses unit is there ....

What am i doing wrong or missing?

By the way, think you have done a great job with Lazarus.

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1263
Re: Classess - lclclasses
« Reply #1 on: July 04, 2013, 04:02:21 am »
I suspect your fpc.cfg (freepascal config) file contains an incorrect folder somewhere.   I get this when I try to run lazarus from a USB key, and the key gets assigned a different drive on a different PC.  Only solution I've found is to open fpc.cfg and eyeball it for drives, ensure all are correct... 
On my setup, fpc gets it's own folder within the Lazarus folder.  Search that folder for fpg.cfg.    Mind you, this is in the Windows World, not sure about Linux...
Lazarus Trunk/FPC Trunk on Windows [7, 10]
  Have you tried searching this forum or the wiki?:   http://wiki.lazarus.freepascal.org/Alternative_Main_Page
  BOOKS! (Free and otherwise): http://wiki.lazarus.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines

Black Max

  • Newbie
  • Posts: 2
Re: Classess - lclclasses
« Reply #2 on: July 04, 2013, 07:06:29 am »
Thanks very much.   I am running OSX and followed your lead.  I ended up recompiling the fpcmkcfg file ... although still couldnt find the fpc.cfg file with a fair bit of searching.   Turned my head to the options file and reset the location of the compiler source file and then everything started working as expected.
Thanks a lot again.   

 

TinyPortal © 2005-2018