[SOLVED] Curios error "unit not found: Classes" when renaming a button lazarus / 10-Designer ---------------------------------------------------------------------- Joe · 2016-02-23 19:19 I'd just installed Lazarus 1.6 with Fpc 3.0.0 (including source) to my 32 bit kubuntu 14.04 from the provided debian packets: lazarus_1.6-0_i386.debfpc- src_3.0.0-151205_i386.debfpc_3.0.0-151205_i386.deb Creating a new application project with an empty form, build & start works. Now I'd added a button to my form, which will be named to "Button1" by default. Navigating to the Objectinspector and changing the button's name to e.g. "Hello" will result in an error message: Quote    Die Variable im Quelltext kann nicht umbenannt werden.     Fehler: Unit nicht gefunden: Classes     Siehe Meldungen What could be the reason for this misbehaviour? I'd took a look into LCLClasses.pp were I find: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i uses Classes, WSLCLClasses, WSReferences, LCLType, LCLProc;But in my file system, the `classes.ppu` is written completely lower case. A dumb tryout by creating a symlink for a `Classes.ppu` won't help. Any suggestions? ---------------------------------------------------------------------- molly · 2016-02-23 19:23 Quote from: Joe on February 23, 2016, 08:19:28 pm... What could be the reason for this misbehaviour? ... Any suggestions? If not mistaken then that means lazarus is unable to locate your fpc sources directory. There is a menu option, under tools named "rescan fpc source directory" that allows you to rescan for fpc directory. Please give that a try. edit: inserted correct menu-item location. ---------------------------------------------------------------------- balazsszekely · 2016-02-23 19:29 Tools-->Rescan FPC Source Directory ---------------------------------------------------------------------- molly · 2016-02-23 19:32 Thanks GetMem. I forgot i can look it up in online wiki as well (on location, so no access to lazarus). ---------------------------------------------------------------------- Joe · 2016-02-23 20:37 Great, this helped!