[Help] Error: resource compiler "fpcres" not found, switching to external mode lazarus / 15-macOS - Mac OS X ---------------------------------------------------------------------- laguna · 2010-01-24 09:32 Leopard    10.6.2 Snapshot     lazarus-0.9.29.23543-20100124-i386-macosx.dmg     fpcsrc-2.4.0-20100124-i386-macosx.dmg     fpc-2.4.0-20100124-i386-macosx.dmg Lazarus not build project, error     resource compiler "fpcres" not found, switching to external mode ---------------------------------------------------------------------- Jonas Maebe · 2010-01-24 11:11 Quote from: laguna on January 24, 2010, 10:32:31 amLeopard    10.6.2 Snapshot     lazarus-0.9.29.23543-20100124-i386-macosx.dmg     fpcsrc-2.4.0-20100124-i386-macosx.dmg     fpc-2.4.0-20100124-i386-macosx.dmg Lazarus not build project, error     resource compiler "fpcres" not found, switching to external mode Please install the official FPC 2.4.0 release from http://www.freepascal.org/download.var and try again. The above fpc-2.4.0-20100124-i386-macosx.dmg is indeed missing files (and I also don't see the point of packaging snapshot versions of official FPC releases). ---------------------------------------------------------------------- Phil · 2010-01-24 19:06 Quote from: jmaebe on January 24, 2010, 12:11:21 pmQuote from: laguna on January 24, 2010, 10:32:31 amLeopard    10.6.2 Snapshot     lazarus-0.9.29.23543-20100124-i386-macosx.dmg     fpcsrc-2.4.0-20100124-i386-macosx.dmg     fpc-2.4.0-20100124-i386-macosx.dmg Lazarus not build project, error     resource compiler "fpcres" not found, switching to external mode Please install the official FPC 2.4.0 release from http://www.freepascal.org/download.var and try again. The above fpc-2.4.0-20100124-i386-macosx.dmg is indeed missing files (and I also don't see the point of packaging snapshot versions of official FPC releases). I've never quite understood that either. It would seem that when the compiler is installed separately from Laz the way it is on Mac, then posting the official fpc-2.4.0.intel-macosx.dmg would be a good idea and eliminate any possible confusion about what it is one is installing. Thanks. -Phil ---------------------------------------------------------------------- laguna · 2010-01-25 07:58 The solution suggested above did not work. So, I installed Lazarus 0.28, and everything worked Then I reinstalled 0.29 and Lazarus did not work. ---------------------------------------------------------------------- Jonas Maebe · 2010-01-25 08:12 Quote from: laguna on January 25, 2010, 08:58:46 amThe solution suggested above did not work. So, I installed Lazarus 0.28, and everything worked Then I reinstalled 0.29 and Lazarus did not work. The reason it works with Lazarus 0.28 is because it does not use fpcres. After installing FPC from www.freepascal.org linked above, do you have the /usr/local/bin/fpcres file? Try executing the following in a Terminal window:   ls -l /usr/local/bin/fpcres ---------------------------------------------------------------------- laguna · 2010-01-25 09:14 output: enzo-scozzaros-Mac-Pro:~ enzoscozzaro$ ls -l /usr/local/bin/fpcres ls: /usr/local/bin/fpcres: No such file or directory ---------------------------------------------------------------------- Jonas Maebe · 2010-01-25 09:15 Quote from: laguna on January 25, 2010, 10:14:20 amoutput: enzo-scozzaros-Mac-Pro:~ enzoscozzaro$ ls -l /usr/local/bin/fpcres ls: /usr/local/bin/fpcres: No such file or directory And you are certain that you installed FPC 2.4.0 for Mac OS X/Intel as downloaded via http://www.freepascal.org/download.var ? ---------------------------------------------------------------------- laguna · 2010-01-25 09:37 fatto enzo-scozzaros-Mac-Pro:~ enzoscozzaro$ ls -l /usr/local/bin/fpcres -rwxr-xr-x  1 root  wheel  665716 20 Dic 15:26 /usr/local/bin/fpcres ---------------------------------------------------------------------- laguna · 2010-01-30 06:30 Ok - Lazarus complier project with FPC 2.4.0. Is possible upgrade fpc 2.4.0 with 2.4.1? Is possible installa fpc  src 2.4.1? Thanks P.S. INTEL no power pc. ---------------------------------------------------------------------- shiruba · 2010-03-08 07:56 It's apparently not just 20100124, 20100308 also is giving the same error with the Lazarus and fpcsrc from the same day.  (I only wanted to upgrade Lazarus, but seems not optional to upgrade everything simultaneously :<) I will try with the official 2.4.0, but just wanted to comment that it seems there is still something wrong with the daily snapshots. ---------------------------------------------------------------------- Jonas Maebe · 2010-03-08 09:28 Quote from: shiruba on March 08, 2010, 08:56:56 amIt's apparently not just 20100124, 20100308 also is giving the same error with the Lazarus and fpcsrc from the same day.  (I only wanted to upgrade Lazarus, but seems not optional to upgrade everything simultaneously :<) I will try with the official 2.4.0, but just wanted to comment that it seems there is still something wrong with the daily snapshots. Yes, these wrong snapshots are still pending removal: http://bugs.freepascal.org/view.php?id=15874 ---------------------------------------------------------------------- hemmrao · 2010-07-29 11:54 Hey thanks for the official FPC 2.4.0 release link, worked well for me