Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

could not compile texture-synthesis #164

@Xsafo

Description

@Xsafo

could not compile texture-synthesis

Steps to reproduce the behavior:

  1. Go to clone repo \texture-synthesis
  2. Run in Terminal cargo install --path=cli
  3. See error

stable-x86_64-pc-windows-msvc (default)
rustc 1.56.1 (59eed8a2a 2021-11-01)

Caused by:
  build failed
PS C:\texture_synthesis> cargo update
    Updating git repository `https://github.com/EmbarkStudios/img_hash.git`
    Updating crates.io index
    Updating bstr v0.2.16 -> v0.2.17
    Updating bumpalo v3.7.0 -> v3.8.0
    Updating cc v1.0.69 -> v1.0.72
    Updating clang-sys v1.2.1 -> v1.3.0
    Updating cmake v0.1.45 -> v0.1.46
    Updating console v0.14.1 -> v0.15.0
    Updating crc32fast v1.2.1 -> v1.2.2
      Adding cty v0.2.2
    Updating encoding_rs v0.8.28 -> v0.8.29
    Updating flate2 v1.0.21 -> v1.0.22
    Updating half v1.7.1 -> v1.8.2
    Updating js-sys v0.3.53 -> v0.3.55
    Updating libc v0.2.101 -> v0.2.108
    Updating libloading v0.7.0 -> v0.7.2
    Removing maybe-uninit v2.0.0
      Adding once_cell v1.8.0
    Updating pdqselect v0.1.0 -> v0.1.1
    Updating pkg-config v0.3.19 -> v0.3.22
    Updating proc-macro2 v1.0.29 -> v1.0.32
    Updating quote v1.0.9 -> v1.0.10
    Removing raw-window-handle v0.3.3
      Adding raw-window-handle v0.3.4
      Adding raw-window-handle v0.4.2
    Updating serde_json v1.0.67 -> v1.0.72
    Updating structopt v0.3.23 -> v0.3.25
    Updating structopt-derive v0.4.16 -> v0.4.18
    Updating syn v1.0.75 -> v1.0.82
    Updating unicode-width v0.1.8 -> v0.1.9
    Updating wasm-bindgen v0.2.76 -> v0.2.78
    Updating wasm-bindgen-backend v0.2.76 -> v0.2.78
    Updating wasm-bindgen-macro v0.2.76 -> v0.2.78
    Updating wasm-bindgen-macro-support v0.2.76 -> v0.2.78
    Updating wasm-bindgen-shared v0.2.76 -> v0.2.78
    Updating web-sys v0.3.53 -> v0.3.55
    Updating x11-dl v2.18.5 -> v2.19.1
PS C:\texture_synthesis> cargo install --path=cli
  Installing texture-synthesis-cli v0.8.2 (C:\texture_synthesis\cli)
    Updating git repository `https://github.com/EmbarkStudios/img_hash.git`
    Updating crates.io index
warning: Patch `img_hash v2.1.0 (https://github.com/EmbarkStudios/img_hash.git?rev=c40da78#c40da789)` was not used in the crate graph.
Check that the patched package version and available features are compatible
with the dependency requirements. If the patch has a different version from
what is locked in the Cargo.lock file, run `cargo update` to use the new
version. This may also occur with an optional dependency that is not enabled.
   Compiling texture-synthesis v0.8.1 (C:\texture_synthesis\lib)
error: failed to compile `texture-synthesis-cli v0.8.2 (C:\texture_synthesis\cli)`, intermediate artifacts can be found at `C:\texture_synthesis\target`

Caused by:
  could not compile `texture-synthesis`

Caused by:
  process didn't exit successfully: `rustc --crate-name texture_synthesis --edition=2018 lib\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=49f1ddcd6f2ccc14 -C extra-filename=-49f1ddcd6f2ccc14 --out-dir C:
\texture_synthesis\target\release\deps -L dependency=C:\texture_synthesis\target\release\deps --extern crossbeam_utils=C:\texture_synthesis\target\release\deps\libcrossbeam_utils-7b399fb1046e66b6.rmeta --extern image=C:\texture_synthesis\target\release\deps\libimage-5e450dcef3d57d47.rmeta --extern num_cpus=C:\text
ure_synthesis\target\release\deps\libnum_cpus-d3a6b4fc392a88ff.rmeta --extern rand=C:\texture_synthesis\target\release\deps\librand-1b42e77a27ea407f.rmeta --extern rand_pcg=C:\texture_synthesis\target\release\deps\librand_pcg-145f9981a0711c53.rmeta --extern rstar=C:\texture_synthesis\target\release\deps\librstar-e
66dad66812cd298.rmeta` (exit code: 0xc000001d, STATUS_ILLEGAL_INSTRUCTION)
PS C:\texture_synthesis>

Please help, what am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions