Recent

Author Topic: [Help] Error: resource compiler "fpcres" not found, switching to external mode  (Read 18509 times)

laguna

  • Sr. Member
  • ****
  • Posts: 327
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

  • Hero Member
  • *****
  • Posts: 1071
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

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

  • Hero Member
  • *****
  • Posts: 2737
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

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

  • Sr. Member
  • ****
  • Posts: 327
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

  • Hero Member
  • *****
  • Posts: 1071
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.

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

  • Sr. Member
  • ****
  • Posts: 327
output:

enzo-scozzaros-Mac-Pro:~ enzoscozzaro$ ls -l /usr/local/bin/fpcres
ls: /usr/local/bin/fpcres: No such file or directory



Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1071
output:

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

  • Sr. Member
  • ****
  • Posts: 327
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

  • Sr. Member
  • ****
  • Posts: 327
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

  • New Member
  • *
  • Posts: 10
    • Galapagos Software
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.
Galapagos Software - Lazarus Code

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1071
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.

Yes, these wrong snapshots are still pending removal: http://bugs.freepascal.org/view.php?id=15874

hemmrao

  • Newbie
  • Posts: 3
    • CubeField
Hey thanks for the official FPC 2.4.0 release link, worked well for me  :D

 

TinyPortal © 2005-2018