Recent

Author Topic: trying to recomplie a unit in lazarus distribution  (Read 340 times)

jaffa

  • Newbie
  • Posts: 3
trying to recomplie a unit in lazarus distribution
« 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?

« Last Edit: September 27, 2020, 02:24:44 pm by jaffa »

PierceNg

  • New Member
  • *
  • Posts: 36
Re: trying to recomplie a unit in lazarus distribution
« Reply #1 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