* * *

Author Topic: Lazarus 1.8.0RC5 - fpcres not found on Raspberry Pi 3 stretch  (Read 834 times)

ertank

  • Full Member
  • ***
  • Posts: 168
Lazarus 1.8.0RC5 - fpcres not found on Raspberry Pi 3 stretch
« on: November 01, 2017, 05:44:16 pm »
Hello,

System is updated today: Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
Everything is build from relevant SVN source
fpc-3.0.4RC1
lazarus 1.8.0RC5

I have searched for subject error message and all suggestions are to either install fpc in /usr/local and have a /usr/local/bin/fpcres binary rested in there or have a symlink in there.

- I have my fpc installation in /home/pi/fpc-3.1
- My search path is as follows:
PATH=/home/pi/fpc-3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
PPC_CONFIG_PATH=/home/pi/fpc-3.1/bin
- I can open an empty project. Save it in a new folder and use below command which works just fine.
Code: [Select]
/home/pi/lazarus_1.8RC/bin/lazbuild -B project1.lpi
- fpcres works anywhere in shell command line

However, lazarus ide complains about it cannot find fpcres.

Any suggestions?

Thanks.

Neutrino

  • Newbie
  • Posts: 1
Re: Lazarus 1.8.0RC5 - fpcres not found on Raspberry Pi 3 stretch
« Reply #1 on: February 11, 2018, 12:42:31 am »
Hello,

I have the same problem with similar setup, do you have find a working solution ?
It's been two days that I sought unsuccessfully...

Thanks !

ertank

  • Full Member
  • ***
  • Posts: 168
Re: Lazarus 1.8.0RC5 - fpcres not found on Raspberry Pi 3 stretch
« Reply #2 on: February 13, 2018, 02:23:30 pm »
I did create a symbolic link in /usr/local/bin/fpcres to my fpcres binary. I could not find any other solution.

rvk

  • Hero Member
  • *****
  • Posts: 3185
Re: Lazarus 1.8.0RC5 - fpcres not found on Raspberry Pi 3 stretch
« Reply #3 on: February 13, 2018, 03:04:21 pm »
How did you add /home/pi/fpc-3.1/bin to your PATH variable?

It could be you added it only for the interactive bash shell (in which case it isn't in PATH when Lazarus is run).

Adding a symbolic link in /usr/local/bin will work because /usr/local/bin is already in PATH for your standard profile.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus