Unit interfaces - Ubuntu Dapper lazarus / 1-Linux ---------------------------------------------------------------------- TDurda · 2006-07-05 07:44 Hi Guys, I have a problem with compiling a project. I have installed the fpc sources and lazarus. No problems. When i create a project and try to compile it i get; Code: [Select]project1.lpr(8,7) Fatal: Can't find unit Interfaces But i have it (and the lcl is in the unit path): Code: [Select] tdurda@picard:~$ locate interfaces.pp /usr/lib/lazarus/lcl/interfaces/gnome/interfaces.pp /usr/lib/lazarus/lcl/interfaces/gtk/interfaces.pp /usr/lib/lazarus/lcl/interfaces/qt/interfaces.pp /usr/lib/lazarus/lcl/interfaces/win32/interfaces.pp /usr/lib/lazarus/lcl/interfaces/wince/interfaces.pp /usr/lib/lazarus/lcl/units/i386-linux/gtk/interfaces.ppu /usr/lib/lazarus/lcl/units/i386-linux/bak/interfaces.ppu Thx for your help, TDurda ---------------------------------------------------------------------- felipemdc · 2006-07-05 08:48 Hello, the answer is in the faq: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq#.22Cannot_fin d_Unit_interfaces.22._How_can_I_solve_this.3F You probably need to rebuild LCL for the target widgetset. You can check which is you target widgetset by clicking: menu Project --> Compiler Options You normally should use Gtk (or Gtk2) on Unixes and Win32 on Windows.