Skip to content

Cannot compile for the x86_64-pc-windows-gnu target #838

@moyanj

Description

@moyanj

It seems that it cannot be compiled under the x86_64-pc-windows-gnu target.


  --- stderr
  D:\scoop\persist\rustup\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\llama-cpp-sys-2-0.1.122\llama.cpp\ggml/include\ggml.h:210:10: fatal error: 'stdio.h' file not found

  thread 'main' panicked at D:\scoop\persist\rustup\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\llama-cpp-sys-2-0.1.122\build.rs:425:10:
  Failed to generate bindings: ClangDiagnostic("D:\\scoop\\persist\\rustup\\.cargo\\registry\\src\\index.crates.io-1949cf8c6b5b557f\\llama-cpp-sys-2-0.1.122\\llama.cpp\\ggml/include\\ggml.h:210:10: fatal error: 'stdio.h' file not found\n")
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

It is using the clang that I installed with scoop.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions