Code Monkey home page Code Monkey logo

Comments (37)

 avatar commented on May 8, 2024 1
constantine@ubuntu:~/Downloads/kajiya$ ./bake.sh
    Updating git repository `https://github.com/gfx-rs/rspirv.git`
    Updating git submodule `https://github.com/KhronosGroup/SPIRV-Headers.git`
    Updating crates.io index
    Updating git repository `https://github.com/h3r2tic/turbosloth.git`
    Updating git repository `https://github.com/h3r2tic/gltf.git`
    Updating git submodule `https://github.com/KhronosGroup/glTF-Sample-Models.git`
       Fetch [===>                     ]  16.69%, 5.14MiB/s

from kajiya.

 avatar commented on May 8, 2024 1

So I guess the question is whether there's any pre-built https://github.com/microsoft/DirectXShaderCompiler that works on your machine (that's what libdxcompiler.so is) -- or whether you feel adventurous enough to build it.

I gotta build it I think! dxc guys have probably moved to newer distros for their builds, I guess 16.04 is considered too old now. :)

from kajiya.

 avatar commented on May 8, 2024 1

(I'm on 16.04 because latest NVIDIA tools still work on 16.04, I will switch to the next version whenever they will switch to the next version)

from kajiya.

 avatar commented on May 8, 2024 1

OK, I just took libdxcompiler.so.3.7 from the latest vulkansdk-linux-x86_64-1.2.198.1.tar.gz (sha256sum: 488df47afe317bc2cd1f03305f19e5ad7b58db12738f8ba097042ba57d758c9d),

and it works! @h3r2tic, this is bananas, fully real time on 2060! Amazing work! 👏

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ sudo apt install cargo
[sudo] password for constantine: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gdb gdbserver libc6-dbg libhttp-parser2.1 libstd-rust-1.47 libstd-rust-dev rust-gdb rustc
Suggested packages:
  cargo-doc gdb-doc rust-doc rust-src lld-11
Recommended packages:
  cargo
The following NEW packages will be installed:
  cargo gdb gdbserver libc6-dbg libhttp-parser2.1 libstd-rust-1.47 libstd-rust-dev rust-gdb rustc
0 upgraded, 9 newly installed, 0 to remove and 340 not upgraded.
Need to get 95.5 MB of archives.
After this operation, 435 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libhttp-parser2.1 amd64 2.1-2 [18.2 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security/main amd64 gdb amd64 7.11.1-0ubuntu1~16.5 [2,526 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security/main amd64 gdbserver amd64 7.11.1-0ubuntu1~16.5 [172 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 libstd-rust-1.47 amd64 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1 [55.6 MB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 libstd-rust-dev amd64 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1 [28.3 MB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 rustc amd64 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1 [1,926 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 cargo amd64 0.47.0-1~exp1ubuntu1~16.04.1 [3,208 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libc6-dbg amd64 2.23-0ubuntu11.3 [3,686 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 rust-gdb all 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1 [27.7 kB]
Fetched 95.5 MB in 9s (10.5 MB/s)                                                                       
Selecting previously unselected package libhttp-parser2.1:amd64.
(Reading database ... 258302 files and directories currently installed.)
Preparing to unpack .../libhttp-parser2.1_2.1-2_amd64.deb ...
Unpacking libhttp-parser2.1:amd64 (2.1-2) ...
Selecting previously unselected package gdb.
Preparing to unpack .../gdb_7.11.1-0ubuntu1~16.5_amd64.deb ...
Unpacking gdb (7.11.1-0ubuntu1~16.5) ...
Selecting previously unselected package gdbserver.
Preparing to unpack .../gdbserver_7.11.1-0ubuntu1~16.5_amd64.deb ...
Unpacking gdbserver (7.11.1-0ubuntu1~16.5) ...
Selecting previously unselected package libstd-rust-1.47:amd64.
Preparing to unpack .../libstd-rust-1.47_1.47.0+dfsg1+llvm-1ubuntu1~16.04.1_amd64.deb ...
Unpacking libstd-rust-1.47:amd64 (1.47.0+dfsg1+llvm-1ubuntu1~16.04.1) ...
Selecting previously unselected package libstd-rust-dev:amd64.
Preparing to unpack .../libstd-rust-dev_1.47.0+dfsg1+llvm-1ubuntu1~16.04.1_amd64.deb ...
Unpacking libstd-rust-dev:amd64 (1.47.0+dfsg1+llvm-1ubuntu1~16.04.1) ...
Selecting previously unselected package rustc.
Preparing to unpack .../rustc_1.47.0+dfsg1+llvm-1ubuntu1~16.04.1_amd64.deb ...
Unpacking rustc (1.47.0+dfsg1+llvm-1ubuntu1~16.04.1) ...
Selecting previously unselected package cargo.
Preparing to unpack .../cargo_0.47.0-1~exp1ubuntu1~16.04.1_amd64.deb ...
Unpacking cargo (0.47.0-1~exp1ubuntu1~16.04.1) ...
Selecting previously unselected package libc6-dbg:amd64.
Preparing to unpack .../libc6-dbg_2.23-0ubuntu11.3_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.23-0ubuntu11.3) ...
Selecting previously unselected package rust-gdb.
Preparing to unpack .../rust-gdb_1.47.0+dfsg1+llvm-1ubuntu1~16.04.1_all.deb ...
Unpacking rust-gdb (1.47.0+dfsg1+llvm-1ubuntu1~16.04.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libhttp-parser2.1:amd64 (2.1-2) ...
Setting up gdb (7.11.1-0ubuntu1~16.5) ...
Setting up gdbserver (7.11.1-0ubuntu1~16.5) ...
Setting up libstd-rust-1.47:amd64 (1.47.0+dfsg1+llvm-1ubuntu1~16.04.1) ...
Setting up libstd-rust-dev:amd64 (1.47.0+dfsg1+llvm-1ubuntu1~16.04.1) ...
Setting up rustc (1.47.0+dfsg1+llvm-1ubuntu1~16.04.1) ...
Setting up cargo (0.47.0-1~exp1ubuntu1~16.04.1) ...
Setting up libc6-dbg:amd64 (2.23-0ubuntu11.3) ...
Setting up rust-gdb (1.47.0+dfsg1+llvm-1ubuntu1~16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ ./bake.sh
error: failed to parse manifest at `/home/constantine/Downloads/kajiya/crates/bin/bake/Cargo.toml`

Caused by:
  failed to parse the `edition` key

Caused by:
  this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.
./bake.sh: line 4: target/release/bake: No such file or directory
./bake.sh: line 5: target/release/bake: No such file or directory
./bake.sh: line 6: target/release/bake: No such file or directory
./bake.sh: line 7: target/release/bake: No such file or directory
./bake.sh: line 8: target/release/bake: No such file or directory
./bake.sh: line 9: target/release/bake: No such file or directory
./bake.sh: line 10: target/release/bake: No such file or directory
./bake.sh: line 11: target/release/bake: No such file or directory
./bake.sh: line 12: target/release/bake: No such file or directory
./bake.sh: line 13: target/release/bake: No such file or directory
./bake.sh: line 14: target/release/bake: No such file or directory
./bake.sh: line 15: target/release/bake: No such file or directory
./bake.sh: line 16: target/release/bake: No such file or directory

from kajiya.

 avatar commented on May 8, 2024

I guess I need a fresher cargo? Hmm...

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ rustup update
rustup: command not found
constantine@ubuntu:~/Downloads/kajiya$ sudo apt remove cargo
[sudo] password for constantine: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libhttp-parser2.1 libstd-rust-1.47 libstd-rust-dev rust-gdb rustc
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  cargo
0 upgraded, 0 newly installed, 1 to remove and 340 not upgraded.
After this operation, 11.7 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 258801 files and directories currently installed.)
Removing cargo (0.47.0-1~exp1ubuntu1~16.04.1) ...
Processing triggers for man-db (2.7.5-1) ...
constantine@ubuntu:~/Downloads/kajiya$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer
warning: it looks like you have an existing installation of Rust at:
warning: /usr/bin
warning: rustup should not be installed alongside Rust. Please uninstall your existing Rust first.
warning: Otherwise you may have confusion unless you are careful with your PATH
warning: If you are sure that you want both rustup and your already installed Rust
warning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes
warning: or pass `-y' to ignore all ignorable checks.
error: cannot install while Rust is installed

Continue? (y/N) N

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ sudo apt remove rust
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package rust

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ sudo apt remove rustc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libhttp-parser2.1 libstd-rust-1.47 libstd-rust-dev rust-gdb
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  rustc
0 upgraded, 0 newly installed, 1 to remove and 340 not upgraded.
After this operation, 6,002 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 258755 files and directories currently installed.)
Removing rustc (1.47.0+dfsg1+llvm-1ubuntu1~16.04.1) ...
Processing triggers for man-db (2.7.5-1) ...

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
info: downloading installer

Welcome to Rust!

This will download and install the official compiler for the Rust
programming language, and its package manager, Cargo.

Rustup metadata and toolchains will be installed into the Rustup
home directory, located at:

  /home/constantine/.rustup

This can be modified with the RUSTUP_HOME environment variable.

The Cargo home directory located at:

  /home/constantine/.cargo

This can be modified with the CARGO_HOME environment variable.

The cargo, rustc, rustup and other commands will be added to
Cargo's bin directory, located at:

  /home/constantine/.cargo/bin

This path will then be added to your PATH environment variable by
modifying the profile files located at:

  /home/constantine/.profile
  /home/constantine/.bashrc

You can uninstall at any time with rustup self uninstall and
these changes will be reverted.

Current installation options:


   default host triple: x86_64-unknown-linux-gnu
     default toolchain: stable (default)
               profile: default
  modify PATH variable: yes

1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>1

info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2021-12-02, rust version 1.57.0 (f1edd0429 2021-11-29)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
 17.9 MiB /  17.9 MiB (100 %)  10.7 MiB/s in  1s ETA:  0s
info: downloading component 'rust-std'
 24.9 MiB /  24.9 MiB (100 %)  10.9 MiB/s in  2s ETA:  0s
info: downloading component 'rustc'
 53.9 MiB /  53.9 MiB (100 %)  10.5 MiB/s in  6s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 17.9 MiB /  17.9 MiB (100 %)   6.1 MiB/s in  2s ETA:  0s
info: installing component 'rust-std'
 24.9 MiB /  24.9 MiB (100 %)   9.3 MiB/s in  4s ETA:  0s
info: installing component 'rustc'
 53.9 MiB /  53.9 MiB (100 %)  10.5 MiB/s in  8s ETA:  0s
info: installing component 'rustfmt'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu installed - rustc 1.57.0 (f1edd0429 2021-11-29)


Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, run:
source $HOME/.cargo/env

from kajiya.

 avatar commented on May 8, 2024

Rust is installed now. Great!

Hol up.... I've seen this before... I know what I should do first... LOG OUT TIME! 😄 brb

from kajiya.

 avatar commented on May 8, 2024

k, i'm back

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ ./bake.sh
    Updating git repository `https://github.com/gfx-rs/rspirv.git`
    Updating git submodule `https://github.com/KhronosGroup/SPIRV-Headers.git`
    Updating crates.io index
    Updating git repository `https://github.com/h3r2tic/turbosloth.git`
    Updating git repository `https://github.com/h3r2tic/gltf.git`
    Updating git submodule `https://github.com/KhronosGroup/glTF-Sample-Models.git`
    Updating git repository `https://github.com/Traverse-Research/gpu-allocator.git`
    Updating git repository `https://github.com/h3r2tic/rspirv-reflect`
    Updating git repository `https://github.com/h3r2tic/vk-sync-rs`
    Updating git repository `https://github.com/EmbarkStudios/rust-gpu`
  Downloaded async-channel v1.6.1
  Downloaded async-fs v1.5.0
  Downloaded bytemuck v1.7.2
  Downloaded adler v1.0.2
  Downloaded arrayvec v0.5.2
  Downloaded async-process v1.2.0
  Downloaded ash v0.33.3+1.2.191
  Downloaded dlib v0.5.0
  Downloaded concurrent-queue v1.2.2
  Downloaded byte-slice-cast v0.3.5
  Downloaded crossbeam-queue v0.3.2
  Downloaded crossbeam v0.8.1
  Downloaded darling v0.10.2
  Downloaded crc32fast v1.2.1
  Downloaded dirs v3.0.2
  Downloaded crossbeam-deque v0.8.1
  Downloaded derive_builder v0.9.0
  Downloaded downcast-rs v1.2.0
  Downloaded futures-core v0.3.17
  Downloaded colored v1.9.3
  Downloaded hotwatch v0.4.6
  Downloaded inflections v1.1.1
  Downloaded imgui-winit-support v0.7.1
  Downloaded inotify-sys v0.1.5
  Downloaded inotify v0.7.1
  Downloaded image v0.23.14
  Downloaded jpeg-decoder v0.1.22
  Downloaded derive_more v0.99.16
  Downloaded miniz_oxide v0.3.7
  Downloaded png v0.16.8
  Downloaded ron v0.6.6
  Downloaded rusttype v0.9.2
  Downloaded relative-path v1.5.0
  Downloaded hassle-rs v0.4.0
  Downloaded dolly v0.1.3
  Downloaded raw-window-handle v0.3.3
  Downloaded mio-misc v1.2.1
  Downloaded smol v1.2.5
  Downloaded shader-prepper v0.2.0
  Downloaded failure v0.1.8
  Downloaded memmap2 v0.1.0
  Downloaded darling_core v0.10.2
  Downloaded easy-parallel v3.1.0
  Downloaded libloading v0.6.7
  Downloaded event-listener v2.5.1
  Downloaded failure_derive v0.1.8
  Downloaded env_logger v0.8.4
  Downloaded deflate v0.8.6
  Downloaded glam v0.18.0
  Downloaded crossbeam-channel v0.5.1
  Downloaded dirs-sys v0.3.6
  Downloaded crossbeam-epoch v0.9.5
  Downloaded darling_macro v0.10.2
  Downloaded crossbeam-utils v0.8.5
  Downloaded imgui v0.7.0
  Downloaded gif v0.11.3
  Downloaded chlorine v1.0.7
  Downloaded async-lock v2.4.0
  Downloaded dlib v0.4.2
  Downloaded wayland-cursor v0.28.6
  Downloaded puffin v0.11.0
  Downloaded urlencoding v2.1.0
  Downloaded wayland-sys v0.28.6
  Downloaded futures-macro v0.3.17
  Downloaded wayland-client v0.28.6
  Downloaded instant v0.1.12
  Downloaded ttf-parser v0.6.2
  Downloaded xcursor v0.3.4
  Downloaded wchar-impl v0.10.0
  Downloaded adler32 v1.2.0
  Downloaded xdg v2.4.0
  Downloaded atomic-waker v1.0.0
  Downloaded ash-window v0.7.0
  Downloaded wyhash v0.5.0
  Downloaded fxhash v0.2.1
  Downloaded futures v0.3.17
  Downloaded async-executor v1.4.1
  Downloaded color_quant v1.1.0
  Downloaded atty v0.2.14
  Downloaded unicode-xid v0.2.2
  Downloaded cfg-if v1.0.0
  Downloaded autocfg v1.0.1
  Downloaded clap v2.33.3
  Downloaded array-init v2.0.0
  Downloaded async-net v1.6.1
  Downloaded ansi_term v0.11.0
  Downloaded andrew v0.3.1
  Downloaded addr2line v0.16.0
  Downloaded wchar v0.10.1
  Downloaded ab_glyph_rasterizer v0.1.5
  Downloaded widestring v0.4.3
  Downloaded weezl v0.1.5
  Downloaded wayland-commons v0.28.6
  Downloaded itoa v0.4.8
  Downloaded humantime v2.1.0
  Downloaded futures-task v0.3.17
  Downloaded futures-channel v0.3.17
  Downloaded ident_case v1.0.1
  Downloaded heck v0.3.3
  Downloaded futures-executor v0.3.17
  Downloaded wayland-scanner v0.28.6
  Downloaded futures-sink v0.3.17
  Downloaded futures-io v0.3.17
  Downloaded fnv v1.0.7
  Downloaded filetime v0.2.15
  Downloaded fastrand v1.5.0
  Downloaded parking_lot_core v0.8.5
  Downloaded derive_builder_core v0.9.0
  Downloaded signal-hook v0.3.10
  Downloaded cfg-if v0.1.10
  Downloaded bitflags v1.3.2
  Downloaded iovec v0.1.4
  Downloaded byteorder v1.4.3
  Downloaded bytes v1.1.0
  Downloaded aho-corasick v0.7.18
  Downloaded futures-util v0.3.17
  Downloaded waker-fn v1.1.0
  Downloaded async-task v4.0.3
  Downloaded async-trait v0.1.51
  Downloaded base64 v0.12.3
  Downloaded async-io v1.6.0
  Downloaded memmap2 v0.2.3
  Downloaded normpath v0.3.1
  Downloaded libloading v0.7.1
  Downloaded base64 v0.13.0
  Downloaded cc v1.0.71
  Downloaded x11-dl v2.19.1
  Downloaded scoped_threadpool v0.1.9
  Downloaded anyhow v1.0.44
  Downloaded scoped-tls v1.0.0
  Downloaded calloop v0.6.5
  Downloaded com-rs v0.2.1
  Downloaded cache-padded v1.1.1
  Downloaded smithay-client-toolkit v0.12.3
  Downloaded num-rational v0.3.2
  Downloaded backtrace v0.3.62
  Downloaded blocking v1.0.2
  Downloaded chrono v0.4.19
  Downloaded notify v4.0.17
  Downloaded nanoserde-derive v0.1.18
  Downloaded wayland-protocols v0.28.6
  Downloaded convert_case v0.4.0
  Downloaded slab v0.4.5
  Downloaded structopt v0.3.25
  Downloaded version_check v0.9.3
  Downloaded thiserror-impl v1.0.30
  Downloaded owned_ttf_parser v0.6.0
  Downloaded nom v7.0.0
  Downloaded nanoserde v0.1.29
  Downloaded textwrap v0.11.0
  Downloaded fern v0.6.0
  Downloaded synstructure v0.12.6
  Downloaded num_cpus v1.13.0
  Downloaded unicode-width v0.1.9
  Downloaded termcolor v1.1.2
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded proc-macro-hack v0.5.19
  Downloaded parking_lot v0.11.2
  Downloaded libc v0.2.105
  Downloaded proc-macro-error v1.0.4
  Downloaded once_cell v1.8.0
  Downloaded proc-macro-nested v0.1.7
  Downloaded percent-encoding v2.1.0
  Downloaded pin-utils v0.1.0
  Downloaded num-integer v0.1.44
  Downloaded net2 v0.2.37
  Downloaded lazy_static v1.4.0
  Downloaded strsim v0.8.0
  Downloaded num-iter v0.1.42
  Downloaded lock_api v0.4.5
  Downloaded strsim v0.9.3
  Downloaded winit v0.25.0
  Downloaded xml-rs v0.8.4
  Downloaded vec_map v0.8.2
  Downloaded rustc_version v0.3.3
  Downloaded miniz_oxide v0.4.4
  Downloaded syn v1.0.80
  Downloaded scopeguard v1.1.0
  Downloaded rustc-demangle v0.1.21
  Downloaded pin-project-lite v0.2.7
  Downloaded quote v1.0.10
  Downloaded num-traits v0.2.14
  Downloaded semver v0.11.0
  Downloaded proc-macro2 v1.0.30
  Downloaded mio v0.7.14
  Downloaded ryu v1.0.5
  Downloaded futures-lite v1.12.0
  Downloaded imgui-sys v0.7.0
  Downloaded mio v0.6.23
  Downloaded tiff v0.6.1
  Downloaded libm v0.2.1
  Downloaded serde v1.0.130
  Downloaded pest v2.1.3
  Downloaded object v0.27.1
  Downloaded pkg-config v0.3.22
  Downloaded memoffset v0.6.4
  Downloaded semver-parser v0.10.2
  Downloaded mio-extras v2.0.6
  Downloaded blue-noise-sampler v0.1.0
  Downloaded regex v1.5.4
  Downloaded same-file v1.0.6
  Downloaded polling v2.1.0
  Downloaded parking v2.0.0
  Downloaded nix v0.20.0
  Downloaded minimal-lexical v0.1.4
  Downloaded serde_json v1.0.68
  Downloaded nix v0.18.0
  Downloaded macaw v0.15.0
  Downloaded lazycell v1.3.0
  Downloaded unicode-segmentation v1.8.0
  Downloaded thiserror v1.0.30
  Downloaded signal-hook-registry v1.4.0
  Downloaded rand_core v0.6.3
  Downloaded log v0.4.14
  Downloaded serde_derive v1.0.130
  Downloaded memchr v2.4.1
  Downloaded time v0.1.43
  Downloaded socket2 v0.4.2
  Downloaded smallvec v1.7.0
  Downloaded ucd-trie v0.1.3
  Downloaded structopt-derive v0.4.18
  Downloaded walkdir v2.3.2
  Downloaded regex-syntax v0.6.25
  Downloaded gimli v0.25.0
  Downloaded 224 crates (15.8 MB) in 2.85s (largest was `blue-noise-sampler` at 3.1 MB)
   Compiling proc-macro2 v1.0.30
   Compiling unicode-xid v0.2.2
   Compiling syn v1.0.80
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.0.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.1.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.10.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.11.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.12.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.13.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.14.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.15.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.2.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.3.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.4.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.5.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.6.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.7.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.8.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.build_script_build.74463e61-cgu.9.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146.228uphi0rkolkm1k.rcgu.o" "-Wl,--as-needed" "-L" "/home/constantine/Downloads/kajiya/target/release/deps" "-L" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7c582493123fc1dd.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1392776590706175.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-2eb6edf4d031cd1e.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-33a7ad3b5f7fedf6.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7d32adce541987d9.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-5cb369120f224726.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ab2efd1d2f431a9.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-567f611439253c7e.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ebbc63efd6d2efc5.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-862830f0d224a2e1.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-cad0401ae7a80e32.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-fd54290077194763.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4fc3313c8ccb1ec0.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-19bf8dffe82b09d4.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-afc95b1640c4beca.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-aff6658baa87e3d1.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8be8a1689a4f7b48.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5284934f66073844.rlib" "-Wl,--end-group" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-2a0b2a4f96acb821.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/constantine/Downloads/kajiya/target/release/build/syn-597ca02bfa6e9146/build_script_build-597ca02bfa6e9146" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-fuse-ld=lld"
  = note: cc: error: unrecognized command line option '-fuse-ld=lld'
          

error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.0.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.1.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.10.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.11.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.12.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.13.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.14.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.15.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.2.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.3.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.4.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.5.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.6.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.7.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.8.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.9.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.19sp2a5g57djawht.rcgu.o" "-Wl,--as-needed" "-L" "/home/constantine/Downloads/kajiya/target/release/deps" "-L" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7c582493123fc1dd.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1392776590706175.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-2eb6edf4d031cd1e.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-33a7ad3b5f7fedf6.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7d32adce541987d9.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-5cb369120f224726.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ab2efd1d2f431a9.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-567f611439253c7e.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ebbc63efd6d2efc5.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-862830f0d224a2e1.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-cad0401ae7a80e32.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-fd54290077194763.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4fc3313c8ccb1ec0.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-19bf8dffe82b09d4.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-afc95b1640c4beca.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-aff6658baa87e3d1.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8be8a1689a4f7b48.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5284934f66073844.rlib" "-Wl,--end-group" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-2a0b2a4f96acb821.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-fuse-ld=lld"
  = note: cc: error: unrecognized command line option '-fuse-ld=lld'
          

error: could not compile `syn` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
./bake.sh: line 4: target/release/bake: No such file or directory
./bake.sh: line 5: target/release/bake: No such file or directory
./bake.sh: line 6: target/release/bake: No such file or directory
./bake.sh: line 7: target/release/bake: No such file or directory
./bake.sh: line 8: target/release/bake: No such file or directory
./bake.sh: line 9: target/release/bake: No such file or directory
./bake.sh: line 10: target/release/bake: No such file or directory
./bake.sh: line 11: target/release/bake: No such file or directory
./bake.sh: line 12: target/release/bake: No such file or directory
./bake.sh: line 13: target/release/bake: No such file or directory
./bake.sh: line 14: target/release/bake: No such file or directory
./bake.sh: line 15: target/release/bake: No such file or directory
./bake.sh: line 16: target/release/bake: No such file or directory

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ file /usr/bin/cc
/usr/bin/cc: symbolic link to /etc/alternatives/cc
constantine@ubuntu:~/Downloads/kajiya$ file /etc/alternatives/cc
/etc/alternatives/cc: symbolic link to /usr/bin/gcc

I guess cc should point to clang...

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ sudo update-alternatives --config cc
There is only one alternative in link group cc (providing /usr/bin/cc): /usr/bin/gcc
Nothing to configure.
constantine@ubuntu:~/Downloads/kajiya$ sudo update-alternatives --config c++
There is only one alternative in link group c++ (providing /usr/bin/c++): /usr/bin/g++
Nothing to configure.

Hmm... I have a local copy of Clang 13... Gotta point cc to it... somehow...

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ sudo update-alternatives --install /home/constantine/Programs/LLVM/bin/clang clang /home/constantine/Programs/LLVM/bin/clang-13 100
update-alternatives: using /home/constantine/Programs/LLVM/bin/clang-13 to provide /home/constantine/Programs/LLVM/bin/clang (clang) in auto mode
constantine@ubuntu:~/Downloads/kajiya$ sudo update-alternatives --install /home/constantine/Programs/LLVM/bin/clang++ clang++ /home/constantine/Programs/LLVM/bin/clang-13 100
update-alternatives: using /home/constantine/Programs/LLVM/bin/clang-13 to provide /home/constantine/Programs/LLVM/bin/clang++ (clang++) in auto mode

Like so, I guess...

from kajiya.

 avatar commented on May 8, 2024

Nope.

constantine@ubuntu:~/Downloads/kajiya$ sudo update-alternatives --config cc
There is only one alternative in link group cc (providing /usr/bin/cc): /usr/bin/gcc
Nothing to configure.
constantine@ubuntu:~/Downloads/kajiya$ sudo update-alternatives --config c++
There is only one alternative in link group c++ (providing /usr/bin/c++): /usr/bin/g++
Nothing to configure.

from kajiya.

 avatar commented on May 8, 2024

Wait, what.

constantine@ubuntu:~/Downloads/kajiya$ sudo update-alternatives --config clang
There is only one alternative in link group clang (providing /home/constantine/Programs/LLVM/bin/clang): /home/constantine/Programs/LLVM/bin/clang-13
Nothing to configure.
constantine@ubuntu:~/Downloads/kajiya$ sudo update-alternatives --config clang++
There is only one alternative in link group clang++ (providing /home/constantine/Programs/LLVM/bin/clang++): /home/constantine/Programs/LLVM/bin/clang-13
Nothing to configure.

from kajiya.

 avatar commented on May 8, 2024

Ugh, fine, lemme just real quick...

constantine@ubuntu:~/Downloads/kajiya$ sudo mv /usr/bin/cc /usr/bin/cc.bak
constantine@ubuntu:~/Downloads/kajiya$ sudo mv /usr/bin/c++ /usr/bin/c++.bak
constantine@ubuntu:~/Downloads/kajiya$ sudo ln -s /home/constantine/Programs/LLVM/bin/clang /usr/bin/cc
constantine@ubuntu:~/Downloads/kajiya$ sudo ln -s /home/constantine/Programs/LLVM/bin/clang++ /usr/bin/c++

from kajiya.

 avatar commented on May 8, 2024

Oh, I guess I need to install lld then...

constantine@ubuntu:~/Downloads/kajiya$ ./bake.sh
   Compiling proc-macro2 v1.0.30
   Compiling autocfg v1.0.1
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.0.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.1.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.10.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.11.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.12.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.13.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.14.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.15.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.2.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.3.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.4.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.5.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.6.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.7.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.8.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.build_script_build.81d70c4c-cgu.9.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0.19sp2a5g57djawht.rcgu.o" "-Wl,--as-needed" "-L" "/home/constantine/Downloads/kajiya/target/release/deps" "-L" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7c582493123fc1dd.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1392776590706175.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-2eb6edf4d031cd1e.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-33a7ad3b5f7fedf6.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7d32adce541987d9.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-5cb369120f224726.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ab2efd1d2f431a9.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-567f611439253c7e.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ebbc63efd6d2efc5.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-862830f0d224a2e1.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-cad0401ae7a80e32.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-fd54290077194763.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4fc3313c8ccb1ec0.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-19bf8dffe82b09d4.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-afc95b1640c4beca.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-aff6658baa87e3d1.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8be8a1689a4f7b48.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5284934f66073844.rlib" "-Wl,--end-group" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-2a0b2a4f96acb821.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/constantine/Downloads/kajiya/target/release/build/proc-macro2-683d84f061f140c0/build_script_build-683d84f061f140c0" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-fuse-ld=lld"
  = note: clang-13: error: invalid linker name in argument '-fuse-ld=lld'
          

error: could not compile `proc-macro2` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
./bake.sh: line 4: target/release/bake: No such file or directory
./bake.sh: line 5: target/release/bake: No such file or directory
./bake.sh: line 6: target/release/bake: No such file or directory
./bake.sh: line 7: target/release/bake: No such file or directory
./bake.sh: line 8: target/release/bake: No such file or directory
./bake.sh: line 9: target/release/bake: No such file or directory
./bake.sh: line 10: target/release/bake: No such file or directory
./bake.sh: line 11: target/release/bake: No such file or directory
./bake.sh: line 12: target/release/bake: No such file or directory
./bake.sh: line 13: target/release/bake: No such file or directory
./bake.sh: line 14: target/release/bake: No such file or directory
./bake.sh: line 15: target/release/bake: No such file or directory
./bake.sh: line 16: target/release/bake: No such file or directory

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ sudo apt install lld-8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libhttp-parser2.1 libstd-rust-1.47 libstd-rust-dev rust-gdb
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libllvm8
The following NEW packages will be installed:
  libllvm8 lld-8
0 upgraded, 2 newly installed, 0 to remove and 341 not upgraded.
Need to get 14.3 MB of archives.
After this operation, 66.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 libllvm8 amd64 1:8-3~ubuntu16.04.1 [13.5 MB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 lld-8 amd64 1:8-3~ubuntu16.04.1 [810 kB]
Fetched 14.3 MB in 3s (4,144 kB/s)
Selecting previously unselected package libllvm8:amd64.
(Reading database ... 258741 files and directories currently installed.)
Preparing to unpack .../libllvm8_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking libllvm8:amd64 (1:8-3~ubuntu16.04.1) ...
Selecting previously unselected package lld-8.
Preparing to unpack .../lld-8_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking lld-8 (1:8-3~ubuntu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libllvm8:amd64 (1:8-3~ubuntu16.04.1) ...
Setting up lld-8 (1:8-3~ubuntu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...

Now I have to point cc and c++ to clang-8 and clang++-8, I think...

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ sudo apt install clang-8
[sudo] password for constantine: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libhttp-parser2.1 libstd-rust-1.47 libstd-rust-dev rust-gdb
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  lib32gcc1 lib32stdc++6 libclang-common-8-dev libclang1-8 libomp-8-dev libomp5-8 llvm-8 llvm-8-dev
  llvm-8-runtime
Suggested packages:
  clang-8-doc libomp-8-doc llvm-8-doc
The following NEW packages will be installed:
  clang-8 lib32gcc1 lib32stdc++6 libclang-common-8-dev libclang1-8 libomp-8-dev libomp5-8 llvm-8
  llvm-8-dev llvm-8-runtime
0 upgraded, 10 newly installed, 0 to remove and 341 not upgraded.
Need to get 47.7 MB of archives.
After this operation, 317 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 lib32gcc1 amd64 1:6.0.1-0ubuntu1 [46.6 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security/main amd64 lib32stdc++6 amd64 5.4.0-6ubuntu1~16.04.12 [404 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 libclang-common-8-dev amd64 1:8-3~ubuntu16.04.1 [3,573 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 libclang1-8 amd64 1:8-3~ubuntu16.04.1 [6,207 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 clang-8 amd64 1:8-3~ubuntu16.04.1 [7,900 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 libomp5-8 amd64 1:8-3~ubuntu16.04.1 [301 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 libomp-8-dev amd64 1:8-3~ubuntu16.04.1 [56.0 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 llvm-8-runtime amd64 1:8-3~ubuntu16.04.1 [164 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 llvm-8 amd64 1:8-3~ubuntu16.04.1 [4,553 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 llvm-8-dev amd64 1:8-3~ubuntu16.04.1 [24.5 MB]
Fetched 47.7 MB in 5s (8,928 kB/s)      
Selecting previously unselected package lib32gcc1.
(Reading database ... 258765 files and directories currently installed.)
Preparing to unpack .../lib32gcc1_1%3a6.0.1-0ubuntu1_amd64.deb ...
Unpacking lib32gcc1 (1:6.0.1-0ubuntu1) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../lib32stdc++6_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
Unpacking lib32stdc++6 (5.4.0-6ubuntu1~16.04.12) ...
Selecting previously unselected package libclang-common-8-dev.
Preparing to unpack .../libclang-common-8-dev_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking libclang-common-8-dev (1:8-3~ubuntu16.04.1) ...
Selecting previously unselected package libclang1-8.
Preparing to unpack .../libclang1-8_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking libclang1-8 (1:8-3~ubuntu16.04.1) ...
Selecting previously unselected package clang-8.
Preparing to unpack .../clang-8_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking clang-8 (1:8-3~ubuntu16.04.1) ...
Selecting previously unselected package libomp5-8:amd64.
Preparing to unpack .../libomp5-8_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking libomp5-8:amd64 (1:8-3~ubuntu16.04.1) ...
Selecting previously unselected package libomp-8-dev.
Preparing to unpack .../libomp-8-dev_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking libomp-8-dev (1:8-3~ubuntu16.04.1) ...
Selecting previously unselected package llvm-8-runtime.
Preparing to unpack .../llvm-8-runtime_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking llvm-8-runtime (1:8-3~ubuntu16.04.1) ...
Selecting previously unselected package llvm-8.
Preparing to unpack .../llvm-8_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking llvm-8 (1:8-3~ubuntu16.04.1) ...
Selecting previously unselected package llvm-8-dev.
Preparing to unpack .../llvm-8-dev_1%3a8-3~ubuntu16.04.1_amd64.deb ...
Unpacking llvm-8-dev (1:8-3~ubuntu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up lib32gcc1 (1:6.0.1-0ubuntu1) ...
Setting up lib32stdc++6 (5.4.0-6ubuntu1~16.04.12) ...
Setting up libclang-common-8-dev (1:8-3~ubuntu16.04.1) ...
Setting up libclang1-8 (1:8-3~ubuntu16.04.1) ...
Setting up clang-8 (1:8-3~ubuntu16.04.1) ...
Setting up libomp5-8:amd64 (1:8-3~ubuntu16.04.1) ...
Setting up libomp-8-dev (1:8-3~ubuntu16.04.1) ...
Setting up llvm-8-runtime (1:8-3~ubuntu16.04.1) ...
Setting up llvm-8 (1:8-3~ubuntu16.04.1) ...
Setting up llvm-8-dev (1:8-3~ubuntu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ sudo rm /usr/bin/cc
constantine@ubuntu:~/Downloads/kajiya$ sudo rm /usr/bin/c++
constantine@ubuntu:~/Downloads/kajiya$ sudo ln -s /usr/bin/clang-8 /usr/bin/cc
constantine@ubuntu:~/Downloads/kajiya$ sudo ln -s /usr/bin/clang++-8 /usr/bin/c++

from kajiya.

 avatar commented on May 8, 2024

it works, merry christmas

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ ./bake.sh 
   Compiling proc-macro2 v1.0.30
   Compiling syn v1.0.80
   Compiling libc v0.2.105
   Compiling cfg-if v1.0.0
   Compiling memchr v2.4.1
   Compiling futures-core v0.3.17
   Compiling log v0.4.14
   Compiling pin-project-lite v0.2.7
   Compiling slab v0.4.5
   Compiling futures-io v0.3.17
   Compiling libm v0.2.1
   Compiling bitflags v1.3.2
   Compiling parking v2.0.0
   Compiling cache-padded v1.1.1
   Compiling waker-fn v1.1.0
   Compiling fastrand v1.5.0
   Compiling adler v1.0.2
   Compiling byteorder v1.4.3
   Compiling once_cell v1.8.0
   Compiling serde_derive v1.0.130
   Compiling event-listener v2.5.1
   Compiling serde v1.0.130
   Compiling cc v1.0.71
   Compiling version_check v0.9.3
   Compiling proc-macro-hack v0.5.19
   Compiling cfg-if v0.1.10
   Compiling futures-channel v0.3.17
   Compiling strsim v0.9.3
   Compiling futures-task v0.3.17
   Compiling proc-macro-nested v0.1.7
   Compiling gimli v0.25.0
   Compiling fnv v1.0.7
   Compiling async-task v4.0.3
   Compiling ident_case v1.0.1
   Compiling futures-sink v0.3.17
   Compiling failure_derive v0.1.8
   Compiling atomic-waker v1.0.0
   Compiling crc32fast v1.2.1
   Compiling rustc-demangle v0.1.21
   Compiling adler32 v1.2.0
   Compiling ryu v1.0.5
   Compiling signal-hook v0.3.10
   Compiling pin-utils v0.1.0
   Compiling parking_lot_core v0.8.5
   Compiling same-file v1.0.6
   Compiling serde_json v1.0.68
   Compiling async-trait v0.1.51
   Compiling weezl v0.1.5
   Compiling com-rs v0.2.1
   Compiling lazycell v1.3.0
   Compiling convert_case v0.4.0
   Compiling jpeg-decoder v0.1.22
   Compiling smallvec v1.7.0
   Compiling color_quant v1.1.0
   Compiling rand_core v0.6.3
   Compiling anyhow v1.0.44
   Compiling derive_builder v0.9.0
   Compiling itoa v0.4.8
   Compiling scopeguard v1.1.0
   Compiling lazy_static v1.4.0
   Compiling inflections v1.1.1
   Compiling widestring v0.4.3
   Compiling nanoserde-derive v0.1.18
   Compiling unicode-width v0.1.9
   Compiling unicode-segmentation v1.8.0
   Compiling bytemuck v1.7.2
   Compiling scoped_threadpool v0.1.9
   Compiling arrayvec v0.5.2
   Compiling regex-syntax v0.6.25
   Compiling ansi_term v0.11.0
   Compiling byte-slice-cast v0.3.5
   Compiling base64 v0.12.3
   Compiling vec_map v0.8.2
   Compiling bytes v1.1.0
   Compiling strsim v0.8.0
   Compiling normpath v0.3.1
   Compiling relative-path v1.5.0
   Compiling termcolor v1.1.2
   Compiling urlencoding v2.1.0
   Compiling humantime v2.1.0
   Compiling easy-parallel v3.1.0
   Compiling num-traits v0.2.14
   Compiling miniz_oxide v0.4.4
   Compiling futures-macro v0.3.17
   Compiling num-integer v0.1.44
   Compiling futures-util v0.3.17
   Compiling num-iter v0.1.42
   Compiling num-rational v0.3.2
   Compiling libloading v0.7.1
   Compiling instant v0.1.12
   Compiling libloading v0.6.7
   Compiling concurrent-queue v1.2.2
   Compiling fxhash v0.2.1
   Compiling puffin v0.11.0
   Compiling async-lock v2.4.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling backtrace v0.3.62
   Compiling addr2line v0.16.0
   Compiling miniz_oxide v0.3.7
   Compiling deflate v0.8.6
   Compiling walkdir v2.3.2
   Compiling gif v0.11.3
   Compiling wyhash v0.5.0
   Compiling lock_api v0.4.5
   Compiling textwrap v0.11.0
   Compiling heck v0.3.3
   Compiling nanoserde v0.1.29
   Compiling ash v0.33.3+1.2.191
   Compiling quote v1.0.10
   Compiling object v0.27.1
   Compiling aho-corasick v0.7.18
   Compiling net2 v0.2.37
   Compiling socket2 v0.4.2
   Compiling iovec v0.1.4
   Compiling inotify-sys v0.1.5
   Compiling signal-hook-registry v1.4.0
   Compiling filetime v0.2.15
   Compiling atty v0.2.14
   Compiling raw-window-handle v0.3.3
   Compiling num_cpus v1.13.0
   Compiling futures-lite v1.12.0
   Compiling async-channel v1.6.1
   Compiling polling v2.1.0
   Compiling vk-sync v0.1.6 (https://github.com/h3r2tic/vk-sync-rs?rev=cb5bbf2#cb5bbf2b)
   Compiling png v0.16.8
   Compiling tiff v0.6.1
   Compiling regex v1.5.4
   Compiling mio v0.6.23
   Compiling inotify v0.7.1
   Compiling clap v2.33.3
   Compiling parking_lot v0.11.2
   Compiling ash-window v0.7.0
   Compiling async-executor v1.4.1
   Compiling blocking v1.0.2
   Compiling async-io v1.6.0
   Compiling spirv_headers v1.5.0 (https://github.com/gfx-rs/rspirv.git?rev=dae552c#dae552c4)
   Compiling darling_core v0.10.2
   Compiling synstructure v0.12.6
   Compiling env_logger v0.8.4
   Compiling mio-extras v2.0.6
   Compiling thiserror-impl v1.0.30
   Compiling derive_more v0.99.16
   Compiling gltf-derive v0.16.0 (https://github.com/h3r2tic/gltf.git?rev=83826e3#83826e36)
   Compiling async-fs v1.5.0
   Compiling async-net v1.6.1
   Compiling async-process v1.2.0
   Compiling structopt-derive v0.4.18
   Compiling darling_macro v0.10.2
   Compiling notify v4.0.17
   Compiling thiserror v1.0.30
   Compiling turbosloth v0.2.0 (https://github.com/h3r2tic/turbosloth.git?rev=92030af#92030af1)
   Compiling smol v1.2.5
   Compiling rspirv v0.7.0 (https://github.com/gfx-rs/rspirv.git?rev=dae552c#dae552c4)
   Compiling image v0.23.14
   Compiling failure v0.1.8
   Compiling darling v0.10.2
   Compiling hotwatch v0.4.6
   Compiling structopt v0.3.25
   Compiling hassle-rs v0.4.0
   Compiling gpu-allocator v0.8.0 (https://github.com/Traverse-Research/gpu-allocator.git?rev=e66d062cbd73a6c98834fc3e3acef98318097156#e66d062c)
   Compiling futures-executor v0.3.17
   Compiling glam v0.18.0
   Compiling rspirv-reflect v0.3.0 (https://github.com/h3r2tic/rspirv-reflect?rev=77364f98cbfb5c7ee3aa1347158670a9b8ec5bf5#77364f98)
   Compiling shader-prepper v0.2.0
   Compiling derive_builder_core v0.9.0
   Compiling futures v0.3.17
   Compiling gltf-json v0.16.0 (https://github.com/h3r2tic/gltf.git?rev=83826e3#83826e36)
   Compiling gltf v0.16.0 (https://github.com/h3r2tic/gltf.git?rev=83826e3#83826e36)
   Compiling kajiya-backend v0.1.0 (/home/constantine/Downloads/kajiya/crates/lib/kajiya-backend)
   Compiling kajiya-asset v0.1.0 (/home/constantine/Downloads/kajiya/crates/lib/kajiya-asset)
   Compiling bake v0.1.0 (/home/constantine/Downloads/kajiya/crates/bin/bake)
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.0.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.1.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.10.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.11.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.12.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.13.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.14.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.15.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.2.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.3.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.4.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.5.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.6.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.7.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.8.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.bake.2abb206e-cgu.9.rcgu.o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47.67wyfwp0awjzkqx.rcgu.o" "-Wl,--as-needed" "-L" "/home/constantine/Downloads/kajiya/target/release/deps" "-L" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/constantine/Downloads/kajiya/target/release/deps/libnum_cpus-a27977760cc651f4.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libenv_logger-4b7827345c3c44ba.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libtermcolor-dcbe87a09879207f.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libhumantime-ba021f7e7d6f9e87.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libregex-fdbca53baad8ae8a.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libaho_corasick-235c4d7c8ff65bcb.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libregex_syntax-a476e301d955269f.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libstructopt-3b23c1aa13be5ccd.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libclap-2e41b1b8a56b517d.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libvec_map-d6be113116908142.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libtextwrap-a60e5d2e3660bae9.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libunicode_width-b5ac1d568ae2251f.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libstrsim-0bf3d395f46863ac.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libatty-fc1f8752c00641cb.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libansi_term-420385c577e3e633.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libkajiya_asset-24f022e9f77ae3d9.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/liburlencoding-a981021c05722003.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libgltf-6073dbc877ae00ab.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libbase64-b438c4bf2c691245.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libgltf_json-7d34afafc69caaed.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libserde_json-5db3abbb84ca1103.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libryu-c4da94fbf9bc9b16.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libitoa-7c8edc1bac47c01d.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libkajiya_backend-e708009037fb9eaf.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libash_window-01370a94f54fefc5.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libhassle_rs-a3ac152bdb8cdd44.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libwidestring-d44e0579dfb03b8f.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/liblibloading-56378a5ce58b9dc7.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libcom_rs-b6e46aa65c868118.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libshader_prepper-f5591995cd9cc4d1.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libsmol-756156dc7e9edbee.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libasync_process-e52af0cc08be4079.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libsignal_hook-9b27ba7c6bf091b7.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libsignal_hook_registry-addf30c8339b89d2.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libasync_net-6ca8599bc236ec0c.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libasync_fs-442ef629cda9d460.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libasync_lock-2df5aee901aa8800.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libblocking-ec4f9f35529750db.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libatomic_waker-28edef2c09c35798.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libasync_io-ccaf946a0f6b5080.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libpolling-078c6dbdd9bb6b02.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libsocket2-ac84926971a45726.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfutures-f1356d08be7ec077.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfutures_executor-d20af04371903764.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfutures_util-221f0701d3d6377d.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfutures_channel-265096b1d34a7e74.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfutures_sink-e7c8198f3684a58f.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfutures_task-c454c10dc26d2a4e.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libpin_utils-4ca2f6e69c65aea6.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libpuffin-fa44faf6fd48f457.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfailure-677690851d22f931.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/librspirv_reflect-d4f532d4cfeafa2e.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libraw_window_handle-34722c52fb3d60f3.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libarrayvec-a55120574b1ea9ec.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libbyte_slice_cast-67844b7d779be796.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libgpu_allocator-6e6c5e3cfd77a9ca.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libbacktrace-9745a28b952de2ac.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libobject-997049529b1c886a.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libaddr2line-29f79441a2aa5a0d.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libgimli-651d19ad0ff0bfb7.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/librustc_demangle-c88829d6c0779b7c.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libthiserror-67455181b1818ba7.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libvk_sync-43b57d3b90747a47.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/librspirv-c5e9fb6aedbd1e32.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfxhash-20b9086ef1fea973.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libspirv_headers-74ac6c5fd898ac06.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/librelative_path-fa0129757aee3359.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libnanoserde-4c8b505467228e6b.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libturbosloth-7073abc00705fc14.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libwyhash-7cca5ee4dd31ae9d.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/librand_core-cb04707b56e410b1.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libparking_lot-fc232ed60359a531.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libparking_lot_core-602655ad19b6c0f8.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libsmallvec-5fabd87fff468462.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/liblock_api-760db9a0d8e7a71d.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libscopeguard-af67056da1045afb.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libinstant-9d121f587454f698.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libnormpath-a00670ccd3a92f94.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/liblazy_static-f088102c1ad88eab.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libhotwatch-9edbe9cda11eccd8.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libnotify-b14f4911c615bc45.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libwalkdir-e4f541b80640cead.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libsame_file-74e8f35749813df8.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libinotify-8d9dee2513dfbc85.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libinotify_sys-9b89d5b157e14fec.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libmio_extras-3773ed8ce2cd7566.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/liblazycell-38afb8ac041a204c.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libmio-c320f498c43392a5.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libiovec-174ea90b86202d60.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libnet2-1340efe7c4e636a6.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libcfg_if-0b0b6320fff28481.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfiletime-327705bf98af0e3a.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/liblibc-7b611dec65c3adab.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libanyhow-0678b85c0c5c4523.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/liblog-cb2379455ad615de.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libash-f9127126f1a5874c.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/liblibloading-f25d647fb21167c8.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libimage-ba2fce13ab0d5c73.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libbytemuck-1567e16996c5104f.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libpng-e9fe95819612258c.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libminiz_oxide-932a60a6f548e335.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libcrc32fast-0fdd050d99b72049.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libcfg_if-55e89592972aad6e.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libdeflate-0e212c7a231fa285.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libadler32-2f917ed8aa6b4a01.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libbitflags-51aa79ccb499c754.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libnum_iter-28b45d25768e3bec.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libscoped_threadpool-356b50094f459c3d.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libnum_rational-6a8461581913fcf3.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libnum_integer-b1112996d99ade08.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libgif-c5137101ea112efc.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libcolor_quant-538e3f286a65fc0b.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libbyteorder-c9f850b0611a382b.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libtiff-87ae62e85a57634b.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libweezl-eb42facf2bcfbf31.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libminiz_oxide-5df4a2b6112144cc.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libadler-a10d2865fa2bd9f3.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libjpeg_decoder-cc8494d5722b8b0b.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libbytes-f586a8be501a5e5b.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libglam-a3539e6654032cc8.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libserde-f3e1e62f71be7720.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libnum_traits-588a1325a4015c09.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libeasy_parallel-0e1d996c4b947f22.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libasync_executor-a6ee69efabfccb3c.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libonce_cell-c8aff4c9ecfeefc3.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libslab-c9ddcb53280627a0.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfutures_lite-0a3f8a13119786a8.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libmemchr-1761dd3c4ff09bdf.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfastrand-1d1bdc9a8a5a8ab8.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfutures_io-4cbc1fade6647d9c.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libwaker_fn-40bb330b6fec7bcc.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libparking-db8d16727361dbb8.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libpin_project_lite-0c013c6bc4f70c97.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libasync_task-1345a2cebf842d21.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libasync_channel-7d8d9ab194f0f151.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libfutures_core-fc4f6319fd0f00ff.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libevent_listener-64275212f25f8207.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libconcurrent_queue-61fddf1a7b08f117.rlib" "/home/constantine/Downloads/kajiya/target/release/deps/libcache_padded-ad9914f1b3edbb64.rlib" "-Wl,--start-group" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7c582493123fc1dd.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1392776590706175.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-2eb6edf4d031cd1e.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-33a7ad3b5f7fedf6.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7d32adce541987d9.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-5cb369120f224726.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ab2efd1d2f431a9.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-567f611439253c7e.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ebbc63efd6d2efc5.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-862830f0d224a2e1.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-cad0401ae7a80e32.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-fd54290077194763.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4fc3313c8ccb1ec0.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-19bf8dffe82b09d4.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-afc95b1640c4beca.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-aff6658baa87e3d1.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8be8a1689a4f7b48.rlib" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5284934f66073844.rlib" "-Wl,--end-group" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-2a0b2a4f96acb821.rlib" "-Wl,-Bdynamic" "-ldl" "-luuid" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/constantine/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/constantine/Downloads/kajiya/target/release/deps/bake-0a63ee7c3403ae47" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-fuse-ld=lld"
  = note: ld.lld: error: unable to find library -luuid
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `bake` due to previous error
./bake.sh: line 4: target/release/bake: No such file or directory
./bake.sh: line 5: target/release/bake: No such file or directory
./bake.sh: line 6: target/release/bake: No such file or directory
./bake.sh: line 7: target/release/bake: No such file or directory
./bake.sh: line 8: target/release/bake: No such file or directory
./bake.sh: line 9: target/release/bake: No such file or directory
./bake.sh: line 10: target/release/bake: No such file or directory
./bake.sh: line 11: target/release/bake: No such file or directory
./bake.sh: line 12: target/release/bake: No such file or directory
./bake.sh: line 13: target/release/bake: No such file or directory
./bake.sh: line 14: target/release/bake: No such file or directory
./bake.sh: line 15: target/release/bake: No such file or directory
./bake.sh: line 16: target/release/bake: No such file or directory

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~$ sudo apt install uuid-dev
[sudo] password for constantine: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libhttp-parser2.1 libstd-rust-1.47 libstd-rust-dev rust-gdb
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libuuid1
The following NEW packages will be installed:
  uuid-dev
The following packages will be upgraded:
  libuuid1
1 upgraded, 1 newly installed, 0 to remove and 340 not upgraded.
Need to get 41.0 kB of archives.
After this operation, 156 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libuuid1 amd64 2.27.1-6ubuntu3.10 [14.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 uuid-dev amd64 2.27.1-6ubuntu3.10 [26.5 kB]
Fetched 41.0 kB in 0s (154 kB/s)    
(Reading database ... 260977 files and directories currently installed.)
Unpacking libuuid1:amd64 (2.27.1-6ubuntu3.10) over (2.27.1-6ubuntu3.6) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Setting up libuuid1:amd64 (2.27.1-6ubuntu3.10) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Selecting previously unselected package uuid-dev:amd64.
(Reading database ... 260977 files and directories currently installed.)
Unpacking uuid-dev:amd64 (2.27.1-6ubuntu3.10) ...
Processing triggers for man-db (2.7.5-1) ...

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ ./bake.sh 
   Compiling bake v0.1.0 (/home/constantine/Downloads/kajiya/crates/bin/bake)
    Finished release [optimized + debuginfo] target(s) in 6.22s
Loading "assets/meshes/flying_world_-_battle_of_the_trash_god/scene.gltf"...
Packing the mesh...
Processing 3 images...
Done.
Loading "assets/meshes/336_lrm/scene.gltf"...
Packing the mesh...
Processing 3 images...
Done.
Loading "assets/meshes/pica_pica_-_mini_diorama_01/scene.gltf"...
Packing the mesh...
Processing 9 images...
Done.
Loading "assets/meshes/floor/scene.gltf"...
Packing the mesh...
Processing 3 images...
Done.
Loading "assets/meshes/testball/scene.gltf"...
Error: A turbosloth LazyWorker "kajiya_asset::mesh::LoadGltfScene" failed

Caused by:
    0: Loading GLTF scene from "assets/meshes/testball/scene.gltf"
    1: No such file or directory (os error 2)
Loading "assets/meshes/cornell_box/scene.gltf"...
Packing the mesh...
Processing 3 images...
Done.
Loading "assets/meshes/gas_stations_fixed/scene.gltf"...
Packing the mesh...
Processing 3 images...
Done.
Loading "assets/meshes/viziers_observation_deck/scene.gltf"...
Packing the mesh...
Processing 3 images...
Done.
Loading "assets/meshes/dp3_homework_4/scene.gltf"...
Packing the mesh...
Processing 3 images...
Done.
Loading "assets/meshes/painting_xyz_homework/scene.gltf"...
Packing the mesh...
Processing 3 images...
Done.
Loading "assets/meshes/conference/scene.gltf"...
Packing the mesh...
Processing 5 images...
Done.
Loading "assets/meshes/roughness-scale/scene.gltf"...
Packing the mesh...
Processing 8 images...
Done.
Loading "assets/meshes/emissive/triangle.glb"...
Packing the mesh...
Processing 3 images...
Done.

from kajiya.

 avatar commented on May 8, 2024

Notice:

Loading "assets/meshes/testball/scene.gltf"...
Error: A turbosloth LazyWorker "kajiya_asset::mesh::LoadGltfScene" failed

Caused by:
    0: Loading GLTF scene from "assets/meshes/testball/scene.gltf"
    1: No such file or directory (os error 2)

I hope it's no biggie...

from kajiya.

 avatar commented on May 8, 2024

Right, I forgot... 😄

constantine@ubuntu:~/Downloads/kajiya$ ./build_and_run.sh battle
   Compiling pkg-config v0.3.22
   Compiling xml-rs v0.8.4
   Compiling crossbeam-utils v0.8.5
   Compiling crossbeam-epoch v0.9.5
   Compiling downcast-rs v1.2.0
   Compiling nix v0.18.0
   Compiling scoped-tls v1.0.0
   Compiling crossbeam-queue v0.3.2
   Compiling minimal-lexical v0.1.4
   Compiling ttf-parser v0.6.2
   Compiling ab_glyph_rasterizer v0.1.5
   Compiling chlorine v1.0.7
   Compiling winit v0.25.0
   Compiling percent-encoding v2.1.0
   Compiling array-init v2.0.0
   Compiling blue-noise-sampler v0.1.0
   Compiling base64 v0.13.0
   Compiling libc v0.2.105
   Compiling memoffset v0.6.4
   Compiling nom v7.0.0
   Compiling imgui-sys v0.7.0
   Compiling wayland-sys v0.28.6
   Compiling x11-dl v2.19.1
   Compiling owned_ttf_parser v0.6.0
   Compiling dlib v0.5.0
   Compiling dlib v0.4.2
   Compiling rusttype v0.9.2
   Compiling nix v0.20.0
   Compiling dirs-sys v0.3.6
   Compiling memmap2 v0.1.0
   Compiling time v0.1.43
   Compiling memmap2 v0.2.3
   Compiling mio v0.7.14
   Compiling crossbeam-channel v0.5.1
   Compiling dirs v3.0.2
   Compiling colored v1.9.3
   Compiling calloop v0.6.5
   Compiling wayland-scanner v0.28.6
   Compiling wayland-commons v0.28.6
   Compiling xcursor v0.3.4
   Compiling xdg v2.4.0
   Compiling fern v0.6.0
   Compiling wchar-impl v0.10.0
   Compiling wayland-client v0.28.6
   Compiling wayland-protocols v0.28.6
   Compiling crossbeam-deque v0.8.1
   Compiling imgui v0.7.0
   Compiling chrono v0.4.19
   Compiling andrew v0.3.1
   Compiling wchar v0.10.1
   Compiling crossbeam v0.8.1
   Compiling ash-imgui v0.1.0 (/home/constantine/Downloads/kajiya/crates/lib/ash-imgui)
   Compiling ron v0.6.6
   Compiling mio-misc v1.2.1
   Compiling macaw v0.15.0
   Compiling dolly v0.1.3
   Compiling wayland-cursor v0.28.6
   Compiling rust-shaders-shared v0.1.0 (/home/constantine/Downloads/kajiya/crates/lib/rust-shaders-shared)
   Compiling kajiya-rg v0.1.0 (/home/constantine/Downloads/kajiya/crates/lib/kajiya-rg)
   Compiling smithay-client-toolkit v0.12.3
   Compiling kajiya v0.1.0 (/home/constantine/Downloads/kajiya/crates/lib/kajiya)
   Compiling imgui-winit-support v0.7.1
   Compiling kajiya-imgui v0.1.0 (/home/constantine/Downloads/kajiya/crates/lib/kajiya-imgui)
   Compiling kajiya-simple v0.1.0 (/home/constantine/Downloads/kajiya/crates/lib/kajiya-simple)
   Compiling view v0.1.0 (/home/constantine/Downloads/kajiya/crates/bin/view)
    Finished release [optimized + debuginfo] target(s) in 3m 45s
     Running `target/release/view --scene battle --width 1920 --height 1080 --no-debug`
[2021-12-20 22:42:24][winit::platform_impl::platform::x11::window][INFO] Guessed window scale factor: 1.40625
[2021-12-20 22:42:24][kajiya_simple::main_loop][INFO] Internal rendering extent: 1920x1080
Error: libvulkan.so.1: cannot open shared object file: No such file or directory

Caused by:
    libvulkan.so.1: cannot open shared object file: No such file or directory

from kajiya.

 avatar commented on May 8, 2024

sits in front of an empty window, cpu cores are at 100%
I hope it compiles shaders... zzz...

from kajiya.

 avatar commented on May 8, 2024
constantine@ubuntu:~/Downloads/kajiya$ LD_LIBRARY_PATH=/opt/RedGpuSDK/sdk/1.2.162.0/x86_64/lib/ ./build_and_run.sh battle
    Finished release [optimized + debuginfo] target(s) in 7.18s
     Running `target/release/view --scene battle --width 1920 --height 1080 --no-debug`
[2021-12-20 22:46:00][winit::platform_impl::platform::x11::window][INFO] Guessed window scale factor: 1.40625
[2021-12-20 22:46:00][kajiya_simple::main_loop][INFO] Internal rendering extent: 1920x1080
[2021-12-20 22:46:01][kajiya_backend::vulkan::instance][INFO] Created a Vulkan instance
[2021-12-20 22:46:01][kajiya_backend::vulkan][INFO] Available physical devices: [
    "NVIDIA GeForce RTX 2060",
]
[2021-12-20 22:46:01][kajiya_backend::vulkan][INFO] Selected physical device: PhysicalDevice { PhysicalDeviceProperties {
    api_version: 4202671,
    driver_version: 1972355136,
    vendor_id: 4318,
    device_id: 7944,
    device_type: DISCRETE_GPU,
    device_name: "NVIDIA GeForce RTX 2060",
    pipeline_cache_uuid: [
        5,
        71,
        100,
        94,
        31,
        159,
        148,
        105,
        154,
        19,
        7,
        197,
        160,
        24,
        158,
        82,
    ],
    limits: PhysicalDeviceLimits {
        max_image_dimension1_d: 32768,
        max_image_dimension2_d: 32768,
        max_image_dimension3_d: 16384,
        max_image_dimension_cube: 32768,
        max_image_array_layers: 2048,
        max_texel_buffer_elements: 134217728,
        max_uniform_buffer_range: 65536,
        max_storage_buffer_range: 4294967295,
        max_push_constants_size: 256,
        max_memory_allocation_count: 4294967295,
        max_sampler_allocation_count: 4000,
        buffer_image_granularity: 1024,
        sparse_address_space_size: 1099511627775,
        max_bound_descriptor_sets: 32,
        max_per_stage_descriptor_samplers: 1048576,
        max_per_stage_descriptor_uniform_buffers: 1048576,
        max_per_stage_descriptor_storage_buffers: 1048576,
        max_per_stage_descriptor_sampled_images: 1048576,
        max_per_stage_descriptor_storage_images: 1048576,
        max_per_stage_descriptor_input_attachments: 1048576,
        max_per_stage_resources: 4294967295,
        max_descriptor_set_samplers: 1048576,
        max_descriptor_set_uniform_buffers: 1048576,
        max_descriptor_set_uniform_buffers_dynamic: 15,
        max_descriptor_set_storage_buffers: 1048576,
        max_descriptor_set_storage_buffers_dynamic: 16,
        max_descriptor_set_sampled_images: 1048576,
        max_descriptor_set_storage_images: 1048576,
        max_descriptor_set_input_attachments: 1048576,
        max_vertex_input_attributes: 32,
        max_vertex_input_bindings: 32,
        max_vertex_input_attribute_offset: 2047,
        max_vertex_input_binding_stride: 2048,
        max_vertex_output_components: 128,
        max_tessellation_generation_level: 64,
        max_tessellation_patch_size: 32,
        max_tessellation_control_per_vertex_input_components: 128,
        max_tessellation_control_per_vertex_output_components: 128,
        max_tessellation_control_per_patch_output_components: 120,
        max_tessellation_control_total_output_components: 4216,
        max_tessellation_evaluation_input_components: 128,
        max_tessellation_evaluation_output_components: 128,
        max_geometry_shader_invocations: 32,
        max_geometry_input_components: 128,
        max_geometry_output_components: 128,
        max_geometry_output_vertices: 1024,
        max_geometry_total_output_components: 1024,
        max_fragment_input_components: 128,
        max_fragment_output_attachments: 8,
        max_fragment_dual_src_attachments: 1,
        max_fragment_combined_output_resources: 16,
        max_compute_shared_memory_size: 49152,
        max_compute_work_group_count: [
            2147483647,
            65535,
            65535,
        ],
        max_compute_work_group_invocations: 1024,
        max_compute_work_group_size: [
            1024,
            1024,
            64,
        ],
        sub_pixel_precision_bits: 8,
        sub_texel_precision_bits: 8,
        mipmap_precision_bits: 8,
        max_draw_indexed_index_value: 4294967295,
        max_draw_indirect_count: 4294967295,
        max_sampler_lod_bias: 15.0,
        max_sampler_anisotropy: 16.0,
        max_viewports: 16,
        max_viewport_dimensions: [
            32768,
            32768,
        ],
        viewport_bounds_range: [
            -65536.0,
            65536.0,
        ],
        viewport_sub_pixel_bits: 8,
        min_memory_map_alignment: 64,
        min_texel_buffer_offset_alignment: 16,
        min_uniform_buffer_offset_alignment: 64,
        min_storage_buffer_offset_alignment: 16,
        min_texel_offset: -8,
        max_texel_offset: 7,
        min_texel_gather_offset: -32,
        max_texel_gather_offset: 31,
        min_interpolation_offset: -0.5,
        max_interpolation_offset: 0.4375,
        sub_pixel_interpolation_offset_bits: 4,
        max_framebuffer_width: 32768,
        max_framebuffer_height: 32768,
        max_framebuffer_layers: 2048,
        framebuffer_color_sample_counts: TYPE_1 | TYPE_2 | TYPE_4 | TYPE_8,
        framebuffer_depth_sample_counts: TYPE_1 | TYPE_2 | TYPE_4 | TYPE_8,
        framebuffer_stencil_sample_counts: TYPE_1 | TYPE_2 | TYPE_4 | TYPE_8 | TYPE_16,
        framebuffer_no_attachments_sample_counts: TYPE_1 | TYPE_2 | TYPE_4 | TYPE_8 | TYPE_16,
        max_color_attachments: 8,
        sampled_image_color_sample_counts: TYPE_1 | TYPE_2 | TYPE_4 | TYPE_8,
        sampled_image_integer_sample_counts: TYPE_1 | TYPE_2 | TYPE_4 | TYPE_8,
        sampled_image_depth_sample_counts: TYPE_1 | TYPE_2 | TYPE_4 | TYPE_8,
        sampled_image_stencil_sample_counts: TYPE_1 | TYPE_2 | TYPE_4 | TYPE_8 | TYPE_16,
        storage_image_sample_counts: TYPE_1 | TYPE_2 | TYPE_4 | TYPE_8,
        max_sample_mask_words: 1,
        timestamp_compute_and_graphics: 1,
        timestamp_period: 1.0,
        max_clip_distances: 8,
        max_cull_distances: 8,
        max_combined_clip_and_cull_distances: 8,
        discrete_queue_priorities: 2,
        point_size_range: [
            1.0,
            2047.9375,
        ],
        line_width_range: [
            1.0,
            64.0,
        ],
        point_size_granularity: 0.0625,
        line_width_granularity: 0.0625,
        strict_lines: 1,
        standard_sample_locations: 1,
        optimal_buffer_copy_offset_alignment: 1,
        optimal_buffer_copy_row_pitch_alignment: 1,
        non_coherent_atom_size: 64,
    },
    sparse_properties: PhysicalDeviceSparseProperties {
        residency_standard2_d_block_shape: 1,
        residency_standard2_d_multisample_block_shape: 1,
        residency_standard3_d_block_shape: 1,
        residency_aligned_mip_size: 0,
        residency_non_resident_strict: 1,
    },
} }
[2021-12-20 22:46:02][kajiya_backend::vulkan::device][INFO] Created a Vulkan device
[2021-12-20 22:46:03][kajiya_backend::vulkan][INFO] Available surface formats: [
    SurfaceFormatKHR {
        format: B8G8R8A8_UNORM,
        color_space: SRGB_NONLINEAR,
    },
    SurfaceFormatKHR {
        format: B8G8R8A8_SRGB,
        color_space: SRGB_NONLINEAR,
    },
]
[2021-12-20 22:46:03][kajiya_backend::vulkan::swapchain][INFO] Swapchain image count: 3
[2021-12-20 22:46:03][kajiya_backend::vulkan::swapchain][INFO] Presentation mode: FIFO_RELAXED
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16_SFLOAT, extent: [64, 64, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_asset::image][INFO] Loaded image: (256, 256) Rgba8
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED, flags: , format: R8G8B8A8_UNORM, extent: [256, 256, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::ray_tracing][INFO] Acceleration structure size: 768, scratch size: 512
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | COLOR_ATTACHMENT, flags: , format: R8G8B8A8_UNORM, extent: [2700, 1519, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED, flags: , format: R8G8B8A8_UNORM, extent: [1, 1, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED, flags: , format: R8G8B8A8_UNORM, extent: [1, 1, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED, flags: , format: R8G8B8A8_UNORM, extent: [1, 1, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::ray_tracing][INFO] Acceleration structure size: 2688, scratch size: 640
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED, flags: , format: R8G8B8A8_UNORM, extent: [1, 1, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED, flags: , format: R8G8B8A8_UNORM, extent: [1, 1, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED, flags: , format: R8G8B8A8_UNORM, extent: [1, 1, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::ray_tracing][INFO] Acceleration structure size: 18852608, scratch size: 5655680
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: TRANSFER_DST | SAMPLED | STORAGE, flags: , format: R32G32B32A32_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex3d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [384, 64, 64], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex3d, usage: SAMPLED | STORAGE, flags: , format: B10G11R11_UFLOAT_PACK32, extent: [3456, 64, 64], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex3d, usage: SAMPLED | STORAGE, flags: , format: B10G11R11_UFLOAT_PACK32, extent: [896, 64, 64], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R32_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [960, 540, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [960, 540, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [960, 540, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [960, 540, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:03][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:04][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:04][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:04][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:04][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:04][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:04][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:04][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:04][kajiya_backend::vulkan::image][INFO] Creating an image: ImageDesc { image_type: Tex2d, usage: SAMPLED | STORAGE, flags: , format: R16G16B16A16_SFLOAT, extent: [1920, 1080, 1], tiling: OPTIMAL, mip_levels: 1, array_elements: 1 }
[2021-12-20 22:46:04][kajiya_backend::rust_shader_compiler][INFO] Building Rust-GPU shaders in the background...
A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed

Caused by:
    Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::pipeline_cache::CompilePipelineShaders" failed

Caused by:
    0: A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed
    1: Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed

Caused by:
    Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::pipeline_cache::CompilePipelineShaders" failed

Caused by:
    0: A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed
    1: Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed

Caused by:
    Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::pipeline_cache::CompilePipelineShaders" failed

Caused by:
    0: A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed
    1: Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed

Caused by:
    Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
[2021-12-20 22:59:51][kajiya_backend::rust_shader_compiler][INFO] Rust-GPU cargo process finished.
A turbosloth LazyWorker "kajiya_backend::pipeline_cache::CompilePipelineShaders" failed

Caused by:
    0: A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed
    1: Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed

Caused by:
    Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::pipeline_cache::CompilePipelineShaders" failed

Caused by:
    0: A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed
    1: Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed

Caused by:
    Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::pipeline_cache::CompilePipelineShaders" failed

Caused by:
    0: A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed
    1: Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed

Caused by:
    Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::pipeline_cache::CompilePipelineShaders" failed

Caused by:
    0: A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed
    1: Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed

Caused by:
    Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::pipeline_cache::CompilePipelineShaders" failed

Caused by:
    0: A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed
    1: Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }
A turbosloth LazyWorker "kajiya_backend::shader_compiler::CompileShader" failed

Caused by:
    Error loading library "./libdxcompiler.so" / DlOpen { desc: "/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27\' not found (required by ./libdxcompiler.so)" }

from kajiya.

 avatar commented on May 8, 2024

/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by ./libdxcompiler.so)

Ah, of course, I forgot for a second that I'm on Linux 1%, GNU People Edition...

from kajiya.

h3r2tic avatar h3r2tic commented on May 8, 2024

😅 cool blog! Uhhh, it worked last time on my EndeavourOS/Arch :hides:

Good catch with lld though -- should probably have something about it as a dependency in a markdown file somewhere.

from kajiya.

h3r2tic avatar h3r2tic commented on May 8, 2024

So I guess the question is whether there's any pre-built https://github.com/microsoft/DirectXShaderCompiler that works on your machine (that's what libdxcompiler.so is) -- or whether you feel adventurous enough to build it.

from kajiya.

h3r2tic avatar h3r2tic commented on May 8, 2024

w00t! Happy to hear it finally worked. Solid quest, +500 XP. Thanks for sharing your blog!

from kajiya.

masahi avatar masahi commented on May 8, 2024

On 20.04, it worked out of the box. A renderer using vulkan, written in Rust, shaders also written in Rust??? Too good to be true!!

Thanks for sharing the amazing work!!

from kajiya.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.