Skip to content

Instantly share code, notes, and snippets.

@andrewvmail
Created April 7, 2022 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewvmail/bf2cf4c397812a21154eb9d9fba7e61d to your computer and use it in GitHub Desktop.
Save andrewvmail/bf2cf4c397812a21154eb9d9fba7e61d to your computer and use it in GitHub Desktop.
rust cannot cargo run because "= note: ld: cannot find -ld2d1"
to run https://github.com/robmikh/minesweeper-rs.git
1. Get https://github.com/retep998/winapi-rs/tree/0.3/x86_64/lib/libwinapi_d2d1.a
2. Put C:\Users\name\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libd2d1.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment