Classess - lclclasses lazarus / 31-LCL ---------------------------------------------------------------------- Black Max · 2013-07-04 01:25 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 · 2013-07-04 02:02 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... ---------------------------------------------------------------------- Black Max · 2013-07-04 05:06 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.