Recent

Author Topic: lazbuild and search paths  (Read 104 times)

Grahame Grieve

  • Full Member
  • ***
  • Posts: 110
lazbuild and search paths
« on: October 21, 2020, 11:17:05 pm »
I have a .lpi project that compiles fine. (This one: https://github.com/grahamegrieve/fhirserver/blob/master/server/FHIRConsole.lpi). In Lazarus, it compiles fine.

If I build with Lazbuild:

> lazbuild --build-mode=win64-release FHIRConsole.lpi
(...)
Hint: (11030) Start of reading config file C:\tools\lazarus\fpc\bin\x86_64-win64\fpc.cfg
Hint: (11031) End of reading config file C:\tools\lazarus\fpc\bin\x86_64-win64\fpc.cfg
Free Pascal Compiler version 3.3.1-r47011 [2020/09/30] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
(1002) Target OS: Win64 for x64
(3104) Compiling FHIRConsole.pas
FHIRConsole.pas(9,3) Fatal: (10022) Can't find unit FastMM4 used by FHIRConsole
Fatal: (1018) Compilation aborted


FastMM4 is the first unit, and it's in the project search path, so I expected that it would be found?

 

TinyPortal © 2005-2018