Anchordocking error when compiling a project lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- Basile B. · 2015-05-22 15:39 Hello, a project compiles fine under win32/64, linux64 too but fails under mac os x with the following error log: Code: [Select]lazbuild -B coedit.lpi  primary config path: /Users/pgowda/.lazarus TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l fcllaz.pas TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fu../../packager/units/i386-darwin;.  -MObjFPC -Scghi -O1 -g -gl -vewnhi -l lazutils.pas TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -Fuforms;widget set;nonwin32;../packager/units/i386- darwin;../components/lazutils/lib/i386-darwin;. -Fiinclude  -MObjFPC -Scghi -O1 -g -gl -vew -l alllclunits.pp TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile Last= -MObjFPC -Scghi -O1 -g -gl -dcarbon -vewnhi -l -Fucarbon;carbon/objc;carbon/pascocoa/a ppkit;carbon/pascocoa/foundation;../../packager/units/i386- darwin;../../components/lazutils/lib/i386-darwin;../units/i386- darwin;. -Ficarbon;carbon/objc;carbon/pascocoa/appkit;carbon/pascocoa/ foundation lcl.pas TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for AnchorDocking 0.6: /Developer/lazarus/components/anchordocking/lib /i386-darwin/AnchorDocking.compiled [TExternalToolList.Run] CmdLine="/usr/local/bin/ppc386 -B  -MObjFPC -Scghi -O1 -g -gl -vewnhi -Fu/Developer/lazarus/packager/units/i386-darwin -Fu/Developer/lazarus/components/lazutils/lib/i386-darwin -Fu/Developer/lazarus/lcl/units/i386-darwin -Fu/Developer/lazarus/lcl/units/i386-darwin/carbon -Fu/Developer/lazarus/components/anchordocking/ -FU/Developer/lazarus/components/anchordocking/lib/i386-darwin/ -l -dLCL -dLCLcarbon anchordockpkg.pas" WorkDir="/Developer/lazarus/components/anchordocking/" Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.6.2 [2013/02/03] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Darwin for i386 Compiling anchordockpkg.pas Compiling anchordocking.pas PPU Loading /Developer/lazarus/lcl/units/i386-darwin/lresources.ppu PPU Source: lresources.pp not found Recompiling LResources, checksum changed for System anchordocking.pas(104,28) Fatal: Can't find unit LResources used by AnchorDocking TExternalToolList.Run Exception: /Developer/lazarus/components/anchordocking/anchordocking.pas(104,28) Fatal: Can't find unit LResources used by AnchorDocking ERROR: tool reported error Any idea ? ---------------------------------------------------------------------- Leledumbo · 2015-05-22 17:31 QuotePPU Loading /Developer/lazarus/lcl/units/i386-darwin/lresources.ppu PPU Source: lresources.pp not found Recompiling LResources, checksum changed for SystemThose are the hints, did you just upgrade your compiler? Delete all the .ppu or recompile LCL. ---------------------------------------------------------------------- Basile B. · 2015-05-22 18:02 I don't understand, can it be done with lazbuild or should it be build with Lazarus instead ?