filament icon indicating copy to clipboard operation
filament copied to clipboard

build.sh -p webgl release

Open unicomp21 opened this issue 8 months ago • 6 comments

[ 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

unicomp21 avatar Apr 17 '25 16:04 unicomp21

On which platform you are building? You might need to install file; though I thought that would be present for most linux distros.

poweifeng avatar Apr 17 '25 17:04 poweifeng

ubuntu 24.04

unicomp21 avatar Apr 17 '25 17:04 unicomp21

Can you try sudo apt install file to see if that resolves your issue?

poweifeng avatar Apr 28 '25 17:04 poweifeng

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

unicomp21 avatar Apr 28 '25 17:04 unicomp21

are you running in docker or some kind of container environment?

poweifeng avatar Jun 12 '25 06:06 poweifeng

And I guess when you're building it, you're not root? Can you do type file as the user you're compiling from?

poweifeng avatar Jun 12 '25 06:06 poweifeng