build.sh -p webgl release
[ 94%] Building CXX object libs/filamat/CMakeFiles/filamat.dir/src/SpirvFixup.cpp.o [ 94%] Linking CXX static library libfilamat.a Combining dependencies into single shared library /filament/build/linux/combine-static-libs.sh: line 83: file: command not found /filament/build/linux/combine-static-libs.sh: line 83: file: command not found /filament/build/linux/combine-static-libs.sh: line 83: file: command not found /filament/build/linux/combine-static-libs.sh: line 83: file: command not found /filament/build/linux/combine-static-libs.sh: line 83: file: command not found /filament/build/linux/combine-static-libs.sh: line 83: file: command not found /filament/build/linux/combine-static-libs.sh: line 83: file: command not found /filament/build/linux/combine-static-libs.sh: line 83: file: command not found /filament/build/linux/combine-static-libs.sh: line 83: file: command not found [ 94%] Built target filamat [ 94%] Building CXX object tools/matc/CMakeFiles/matlang.dir/src/matc/Compiler.cpp.o
On which platform you are building? You might need to install file; though I thought that would be present for most linux distros.
ubuntu 24.04
Can you try sudo apt install file to see if that resolves your issue?
root@181ef95969a8:~$ apt-get install file Reading package lists... Done Building dependency tree... Done Reading state information... Done file is already the newest version (1:5.45-3build1). file set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. root@181ef95969a8:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.2 LTS Release: 24.04 Codename: noble
are you running in docker or some kind of container environment?
And I guess when you're building it, you're not root? Can you do type file as the user you're compiling from?