trying to recomplie a unit in lazarus distribution lazarus / 64-FPC development ---------------------------------------------------------------------- jaffa · 2020-09-27 12:22 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? ---------------------------------------------------------------------- PierceNg · 2020-10-12 00:42 Quote from: jaffa on September 27, 2020, 02:22:43 pm-- 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.