TotemArts / Launcher

[WIP] Launcher for Renegade-X (Not Electron)
GNU General Public License v3.0
25 stars 9 forks source link

Couldn't compile #73

Closed Leo512bit closed 3 years ago

Leo512bit commented 3 years ago

This is the first time that I'm doing anything with Rust so it could be just me.


leonard@leonard-virtual-machine:~/Desktop/Launcher-master$ cargo install cross
    Updating crates.io index
  Installing cross v0.2.1
   Compiling libc v0.2.95
   Compiling autocfg v1.0.1
   Compiling serde v1.0.126
   Compiling cc v1.0.68
   Compiling version_check v0.9.3
   Compiling adler v1.0.2
   Compiling gimli v0.24.0
   Compiling bitflags v1.2.1
   Compiling ryu v1.0.5
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.0.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.1.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.10.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.11.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.12.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.13.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.14.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.15.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.2.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.3.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.4.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.5.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.6.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.7.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.8.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.build_script_build.98tfsqo7-cgu.9.rcgu.o" "-o" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65" "/tmp/cargo-installTA9Urb/release/build/bitflags-6f99e75962819d65/build_script_build-6f99e75962819d65.1va7yenl393lr0xz.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/tmp/cargo-installTA9Urb/release/deps" "-L" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0a9489cf400f65e4.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff5dc44c66f8c479.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3317c66a83501f9c.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-5d8dec11fc25537d.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3af2a9328550e2a6.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-3092e2ecef0f49f1.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-29b776c021389465.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8873bd287db0d28.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1171b49d77e47426.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c29894d22dc88b51.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-796a7750df3d8218.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ff7772d803d3e0de.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-dae3eac9cfa44200.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0fa02f580e987af5.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7f7254233be843ed.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1395c6db3d116086.rlib" "-Wl,--end-group" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4bd87926720b651.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
  = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          /usr/bin/ld: cannot find crti.o: No such file or directory
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: could not compile `bitflags`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.0.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.1.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.10.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.11.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.12.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.13.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.14.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.15.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.2.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.3.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.4.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.5.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.6.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.7.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.8.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.build_script_build.8k05t2om-cgu.9.rcgu.o" "-o" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e" "/tmp/cargo-installTA9Urb/release/build/serde-84e0ea23dbda1a9e/build_script_build-84e0ea23dbda1a9e.1q0paklbuu0y5pb0.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/tmp/cargo-installTA9Urb/release/deps" "-L" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0a9489cf400f65e4.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff5dc44c66f8c479.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3317c66a83501f9c.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-5d8dec11fc25537d.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3af2a9328550e2a6.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-3092e2ecef0f49f1.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-29b776c021389465.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8873bd287db0d28.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1171b49d77e47426.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c29894d22dc88b51.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-796a7750df3d8218.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ff7772d803d3e0de.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-dae3eac9cfa44200.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0fa02f580e987af5.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7f7254233be843ed.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1395c6db3d116086.rlib" "-Wl,--end-group" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4bd87926720b651.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
  = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          /usr/bin/ld: cannot find crti.o: No such file or directory
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.0.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.1.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.10.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.11.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.12.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.13.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.14.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.15.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.2.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.3.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.4.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.5.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.6.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.7.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.8.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.build_script_build.d0qoaup2-cgu.9.rcgu.o" "-o" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240" "/tmp/cargo-installTA9Urb/release/build/libc-6acd54b5d2244240/build_script_build-6acd54b5d2244240.3l7fj79o188eukvm.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/tmp/cargo-installTA9Urb/release/deps" "-L" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0a9489cf400f65e4.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff5dc44c66f8c479.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3317c66a83501f9c.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-5d8dec11fc25537d.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3af2a9328550e2a6.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-3092e2ecef0f49f1.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-29b776c021389465.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8873bd287db0d28.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1171b49d77e47426.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c29894d22dc88b51.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-796a7750df3d8218.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ff7772d803d3e0de.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-dae3eac9cfa44200.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0fa02f580e987af5.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7f7254233be843ed.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1395c6db3d116086.rlib" "-Wl,--end-group" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4bd87926720b651.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
  = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          /usr/bin/ld: cannot find crti.o: No such file or directory
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.0.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.1.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.10.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.11.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.12.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.13.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.14.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.15.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.2.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.3.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.4.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.5.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.6.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.7.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.8.rcgu.o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.build_script_build.c8vf8ejx-cgu.9.rcgu.o" "-o" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec" "/tmp/cargo-installTA9Urb/release/build/ryu-07e3f871de8380ec/build_script_build-07e3f871de8380ec.55b4seid3e58db2z.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/tmp/cargo-installTA9Urb/release/deps" "-L" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0a9489cf400f65e4.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff5dc44c66f8c479.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3317c66a83501f9c.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-5d8dec11fc25537d.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3af2a9328550e2a6.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-3092e2ecef0f49f1.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-29b776c021389465.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8873bd287db0d28.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1171b49d77e47426.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c29894d22dc88b51.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-796a7750df3d8218.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-ff7772d803d3e0de.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-dae3eac9cfa44200.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0fa02f580e987af5.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-7f7254233be843ed.rlib" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1395c6db3d116086.rlib" "-Wl,--end-group" "/home/leonard/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b4bd87926720b651.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
  = note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          /usr/bin/ld: cannot find crti.o: No such file or directory
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: failed to compile `cross v0.2.1`, intermediate artifacts can be found at `/tmp/cargo-installTA9Urb`

Caused by:
  build failed
leonard@leonard-virtual-machine:~/Desktop/Launcher-master$ ```
SonnyX commented 3 years ago

Debian / Ubuntu

The problem is you likely only have the gcc for your current architecture and that's 64bit. You need the 32bit support files. For that, you need to install them

sudo apt install gcc-multilib
Leo512bit commented 3 years ago

Ahh thank you I'll be sure to try it

Leo512bit commented 3 years ago

Ok got it working had to ditch my Mint VM for the Ubuntu thanks for your help. Btw will this launch (pun not intended) with Firestorm?

SonnyX commented 3 years ago

Yes, that is currently the plan, there's still some items for me to finish up, so I'm hoping to make the same deadline.