[Lazarus] Error calling fpcres
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Tue Jul 26 16:38:32 CEST 2011
Marco van de Voort schrieb:
> On Tue, Jul 26, 2011 at 12:42:28AM +0100, Hans-Peter Diettrich wrote:
>> the bashrc entry should read
>>
>> export PATH=~/lib/fpc/2.5.1:~/bin:$PATH
>
> It should only contain ~/bin and in ~/bin there should be symlinks to
> various ppc* binaries in ~/lib/fpc/version. Cross or not.
>
>> After this modification fpcres can be invoked in the console, but "make
>> all" still results in:
>
>> lazarus.pp(137,1) Error: Can't call the resource compiler
>> "/home/dodi/bin/fpcres", switching to external mode
>> lazarus.pp(137,1) Fatal: There were 1 errors compiling module, stopping
>> Fatal: Compilation aborted
>>
>> What's wrong?
>
> Does it have execute permissions?
Yes, it runs when invoked in the console.
> Is the ~/bin directory in the PATH expanded?
Expanded?
This error may be related to missing output directories, see my other
message. At least the fpcres error disappeared after restarting Linux,
dunno what I tried before.
DoDi
More information about the Lazarus
mailing list