contnrs lazarus / 1-Linux ---------------------------------------------------------------------- paparucino · 2008-02-19 12:54 Hi guy, I'm going to learn lazarus and I'm playng around it. I've designed a button in the form space, then "create default event". I tried to build it, even if  no lines of code were inserted in declarations, but I get following error: "/tmp/project1.lpr(1,1) Fatal: Cant' find unit contnrs used by Graphics" With locate I get =========================================== bash-3.2# locate contnrs                                                     /usr/lib/fpc/2.2.0/units/i386-linux/fcl-base/contnrs.ppu /usr/lib/fpc/2.2.0/units/i386-linux/fcl-base/contnrs.o /usr/lib/fpc/2.2.0/units/i386-linux/fcl-base/libpcontnrs.a /home/fpcbuild-2.2.0/fpcdocs/contnrs.xml /home/fpcbuild-2.2.0/fpcsrc/utils/fppkg/fcl20/contnrs.pp /home/fpcbuild-2.2.0/fpcsrc/packages/fcl-base/src/inc/contnrs.pp bash-3.2# =========================================== which tell me, I suppose, that the unit is installed. What have I to modify to solve the problem? Thank you in advance ---------------------------------------------------------------------- Leledumbo · 2008-02-20 03:07 OK, the unit is installed, but what about your fpc.cfg? Does it contain path to them (e.g. -Fu/usr/lib/fpc/2.2.0/units/i386-linux/*)? WARNING: Do NOT add path to the sources, only the compiled units!!!