Thanks Howard, that produced many more messages. It seems the compiler isn't searching under 'source' even though it's in the path. It looks in bin and units, but not source...
I had to cut some of the messages because I hit the 20000 character limit
What to do next? Thanks for all the help so far!
Albert
Compile Project, Target: captureplaybackopenal.exe: Exit code 1, Errors: 1, Hints: 2
Debug: Configfile search: fpc.cfg
Debug: Configfile search: C:\Users\PiaAlbert\fpc.cfg
Debug: Configfile search: C:\ProgramData\fpc.cfg
Debug: Configfile search: C:\lazarus\fpc\3.2.0\bin\x86_64-win64\fpc.cfg
Verbose: Reading options from file C:\lazarus\fpc\3.2.0\bin\x86_64-win64\fpc.cfg
Hint: Start of reading config file C:\lazarus\fpc\3.2.0\bin\x86_64-win64\fpc.cfg
Debug: Path "C:\Users\PiaAlbert\AppData\Local\FreePascal\fppkg\units\x86_64-win64\*\" not found
Debug: Path "C:\lazarus\fpc\3.2.0\lib\x86_64-win64\" not found
Hint: End of reading config file C:\lazarus\fpc\3.2.0\bin\x86_64-win64\fpc.cfg
Verbose: Free Pascal Compiler version 3.2.0 [2021/02/21] for x86_64
Verbose: Copyright (c) 1993-2020 by Florian Klaempfl and others
Verbose: Compiler: C:\lazarus\fpc\3.2.0\bin\x86_64-win64\ppcx64.exe
Verbose: Target OS: Win64 for x64
Verbose: Using executable path: C:\lazarus\fpc\3.2.0\bin\x86_64-win64\
Verbose: Using unit path: .\
Verbose: Compiling captureplaybackopenal.pas
Debug: Searching file captureplaybackopenal.pas... found
Debug: (CAPTUREPLAYBACKOPENAL) (10057) Registering new unit SYSTEM
Debug: (CAPTUREPLAYBACKOPENAL) (10027) Load from CAPTUREPLAYBACKOPENAL (implementation) unit SYSTEM
Debug: (SYSTEM) (10055) Loading unit SYSTEM
Verbose: Unitsearch: system.ppu
Verbose: Unitsearch: D:\Albert\Lazarus\test\lib\x86_64-win64\system.ppu
Verbose: Unitsearch: system.pp
Verbose: Unitsearch: system.pas
Verbose: Unitsearch: system.ppu
Verbose: Unitsearch: system.pp
Verbose: Unitsearch: system.pas
Verbose: Unitsearch: C:\lazarus\fpc\3.2.0\units\x86_64-win64\httpd22\system.ppu
Verbose: Unitsearch: C:\lazarus\fpc\3.2.0\units\x86_64-win64\httpd22\system.pp
Verbose: Unitsearch: C:\lazarus\fpc\3.2.0\units\x86_64-win64\openal.pp
Verbose: Unitsearch: C:\lazarus\fpc\3.2.0\units\x86_64-win64\openal.pas
Verbose: Unitsearch: C:\lazarus\fpc\3.2.0\bin\x86_64-win64\openal.pp
Verbose: Unitsearch: C:\lazarus\fpc\3.2.0\bin\x86_64-win64\openal.pas
captureplaybackopenal.pas(5,14) Fatal: Cannot find openal used by captureplaybackopenal of the Project Inspector.
Verbose: Compilation aborted
Verbose: C:\lazarus\fpc\3.2.0\bin\x86_64-win64\ppcx64.exe returned an error exitcode