PistonDevelopers / glfw-rs

GLFW3 bindings and idiomatic wrapper for Rust.
Apache License 2.0
647 stars 123 forks source link

Could not find native static library 'glfw3' #383

Open BinaryAura opened 6 years ago

BinaryAura commented 6 years ago

I'm not sure what to do here. I've installed glfw with chocolatey and added the lib and bin directories to the path but this error still occurs. This is the first time I've had this error with rust and I've had glfw working in the past and I didn't need to install glfw.

BinaryAura commented 6 years ago

I remade the idea project and the project compiled, but I'm still confused as to why I had the problem in the first place. I did not alter the code or the Cargo.toml's.

novacrazy commented 6 years ago

I meant to comment on this earlier but forgot. It's possible that the Windows PATH did not update immediately, so the project never saw your changes. In Windows, you have to restart your programs or sometimes the entire OS for PATH changes to be visible.