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

Unable to build on Windows machine with stable-x86_64-pc-windows-gnu #1186

Open
abhisek-roy opened this issue Mar 11, 2025 · 1 comment
Open
Labels
bug Something isn't working build Issues relating to building mistral.rs

Comments

@abhisek-roy
Copy link

Minimum reproducible example

rustup default stable-x86_64-pc-windows-gnu
git clone https://github.com/EricLBuehler/mistral.rs.git
cd mistral.rs
cargo build --release --features mkl

Error

error: could not find native static library libiomp5md, perhaps an -L flag is missing?

error: could not compile intel-mkl-src (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

Other information

Please specify:

  • Operating system - Windows
    OS Name: Microsoft Windows 11 Enterprise
    OS Version: 10.0.22631 N/A Build 22631
    Processor(s): 1 Processor(s) Installed.
    [01]: Intel64 Family 6 Model 142 Stepping 12 GenuineIntel ~1803 Mhz

Latest commit or version

commit c196ddc

Please help me fix this dependency. I am very new with building from source. Let me know if any more info is needed.

@abhisek-roy abhisek-roy added bug Something isn't working build Issues relating to building mistral.rs labels Mar 11, 2025
@EricLBuehler
Copy link
Owner

Hi @abhisek-roy! This error means that you are compiling with the mkl feature but did not install MKL.

You can find an installation guide on Windows here: Intel oneAPI Base Toolkit download page

Please let me know if this succeeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Issues relating to building mistral.rs
Projects
None yet
Development

No branches or pull requests

2 participants