Lazarus

Free Pascal => FPC development => Topic started by: jaffa on September 27, 2020, 02:22:43 pm

Title: trying to recomplie a unit in lazarus distribution
Post by: jaffa on September 27, 2020, 02:22:43 pm
Here is what I tried
set path=C:\lazarus\fpc\3.2.0\bin\x86_64-win64;%path%
C:\lazarus\fpc\3.2.0\source\packages\googleapi>fpmake.exe compile --localunitdir=../.. --globalunitdir=C:\lazarus\fpc\3.2.0\units\x86_64-win64 --os=win64 --cpu=x86_64 -o -dx86_64 --compiler=C:/lazarus/fpc/3.2.0/bin/x86_64-win64/ppcx64.exe -bu
The installer encountered the following error:
Could not find unit directory for dependency package "rtl"

any idea why it does not find rtl?

Title: Re: trying to recomplie a unit in lazarus distribution
Post by: PierceNg on October 12, 2020, 02:42:46 am
--globalunitdir=C:\lazarus\fpc\3.2.0\units\x86_64-win64

On Linux, this works:

Code: [Select]
% ./fpmake --globalunitdir=/usr/lib/fpc/3.2.0
Should be the same on Windows.
TinyPortal © 2005-2018