Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ml64.exe not found #124

Closed
VitalyAnkh opened this issue Aug 23, 2024 · 2 comments
Closed

ml64.exe not found #124

VitalyAnkh opened this issue Aug 23, 2024 · 2 comments

Comments

@VitalyAnkh
Copy link

VitalyAnkh commented Aug 23, 2024

I tried cross building avian's examples:

cargo xwin run --target x86_64-pc-windows-msvc --example cubes --no-default-features --features "3d f32 parry-f32 default-collider"
   Compiling serde v1.0.207
   Compiling bytemuck v1.16.3
   Compiling tracing-attributes v0.1.27
   Compiling thiserror v1.0.63
   Compiling bevy_utils_proc_macros v0.14.1
   Compiling bevy_ecs_macros v0.14.1
   Compiling bevy_derive v0.14.1
   Compiling bevy_reflect_derive v0.14.1
   Compiling com_macros v0.6.0
   Compiling blake3 v1.5.3
   Compiling encase_derive v0.8.0
   Compiling bevy_asset_macros v0.14.1
   Compiling bevy_encase_derive v0.14.1
   Compiling bevy_render_macros v0.14.1
   Compiling owned_ttf_parser v0.24.0
   Compiling windows-implement v0.53.0
   Compiling windows-interface v0.53.0
   Compiling gltf-derive v1.4.1
   Compiling winit v0.30.5
   Compiling slotmap v1.0.7
   Compiling gpu-allocator v0.25.0
   Compiling matchers v0.1.0
   Compiling sharded-slab v0.1.7
   Compiling ab_glyph v0.2.28
   Compiling image v0.25.2
   Compiling tracing-log v0.2.0
   Compiling xi-unicode v0.3.0
   Compiling cursor-icon v1.1.0
   Compiling com v0.6.0
   Compiling unicode-segmentation v1.11.0
   Compiling dpi v0.1.1
   Compiling safe_arch v0.7.2
   Compiling glyph_brush_layout v0.2.4
error: failed to run custom build command for `blake3 v1.5.3`

Caused by:
  process didn't exit successfully: `/home/vitalyr/projects/dev/rust-projects/avian/target/debug/build/blake3-b2b0c5aed00ab581/build-script-build` (exit status: 1)
  --- stdout
  cargo:rustc-check-cfg=cfg(blake3_sse2_ffi, values(none()))
  cargo:rustc-check-cfg=cfg(blake3_sse2_rust, values(none()))
  cargo:rustc-check-cfg=cfg(blake3_sse41_ffi, values(none()))
  cargo:rustc-check-cfg=cfg(blake3_sse41_rust, values(none()))
  cargo:rustc-check-cfg=cfg(blake3_avx2_ffi, values(none()))
  cargo:rustc-check-cfg=cfg(blake3_avx2_rust, values(none()))
  cargo:rustc-check-cfg=cfg(blake3_avx512_ffi, values(none()))
  cargo:rustc-check-cfg=cfg(blake3_neon, values(none()))
  cargo:rerun-if-env-changed=CARGO_FEATURE_PURE
  cargo:rerun-if-env-changed=CARGO_FEATURE_NO_NEON
  OUT_DIR = Some(/home/vitalyr/projects/dev/rust-projects/avian/target/x86_64-pc-windows-msvc/debug/build/blake3-1a74d43cfdb8bca8/out)
  HOST = Some(x86_64-unknown-linux-gnu)
  TARGET = Some(x86_64-pc-windows-msvc)
  VCINSTALLDIR = None
  CC_x86_64-pc-windows-msvc = None
  CC_x86_64_pc_windows_msvc = Some(clang-cl)
  CC_KNOWN_WRAPPER_CUSTOM = None
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  OUT_DIR = Some(/home/vitalyr/projects/dev/rust-projects/avian/target/x86_64-pc-windows-msvc/debug/build/blake3-1a74d43cfdb8bca8/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
  CFLAGS_x86_64-pc-windows-msvc = None
  CFLAGS_x86_64_pc_windows_msvc = Some(--target=x86_64-pc-windows-msvc -Wno-unused-command-line-argument -fuse-ld=lld-link /imsvc/home/vitalyr/.cache/cargo-xwin/xwin/crt/include /imsvc/home/vitalyr/.cache/cargo-xwin/xwin/sdk/include/ucrt /imsvc/home/vitalyr/.cache/cargo-xwin/xwin/sdk/include/um /imsvc/home/vitalyr/.cache/cargo-xwin/xwin/sdk/include/shared  )
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=CARGO_FEATURE_PREFER_INTRINSICS
  cargo:rerun-if-env-changed=CARGO_FEATURE_PURE
  cargo:rustc-cfg=blake3_sse2_ffi
  cargo:rustc-cfg=blake3_sse41_ffi
  cargo:rustc-cfg=blake3_avx2_ffi
  OUT_DIR = Some(/home/vitalyr/projects/dev/rust-projects/avian/target/x86_64-pc-windows-msvc/debug/build/blake3-1a74d43cfdb8bca8/out)
  TARGET = Some(x86_64-pc-windows-msvc)
  OPT_LEVEL = Some(1)
  HOST = Some(x86_64-unknown-linux-gnu)
  VCINSTALLDIR = None
  CC_x86_64-pc-windows-msvc = None
  CC_x86_64_pc_windows_msvc = Some(clang-cl)
  CC_KNOWN_WRAPPER_CUSTOM = None
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
  DEBUG = Some(true)
  CFLAGS_x86_64-pc-windows-msvc = None
  CFLAGS_x86_64_pc_windows_msvc = Some(--target=x86_64-pc-windows-msvc -Wno-unused-command-line-argument -fuse-ld=lld-link /imsvc/home/vitalyr/.cache/cargo-xwin/xwin/crt/include /imsvc/home/vitalyr/.cache/cargo-xwin/xwin/sdk/include/ucrt /imsvc/home/vitalyr/.cache/cargo-xwin/xwin/sdk/include/um /imsvc/home/vitalyr/.cache/cargo-xwin/xwin/sdk/include/shared  )
  CC_SHELL_ESCAPED_FLAGS = None

  --- stderr


  error occurred: Failed to find tool. Is `ml64.exe` installed?


warning: build failed, waiting for other jobs to finish...

Does cargo-xwin bundle ml64.exe?

rust version: rustc 1.82.0-nightly (eff09483c 2024-08-22)
cargo version: cargo 1.82.0-nightly (8f40fc59f 2024-08-21)
cargo-xwin: cargo-xwin-xwin 0.17.3
linux: 6.10.6

@daxpedda
Copy link

Also stumbled on this.
I believe the deeper issue is rust-lang/cc-rs#1022 here.

@messense
Copy link
Member

See BLAKE3-team/BLAKE3#230

@messense messense closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants