jeremyletang / rust-sfml

SFML bindings for Rust
Other
639 stars 88 forks source link

Cannot statically link in mingw missing sfml-system-s #294

Closed donicrosby closed 1 year ago

donicrosby commented 1 year ago

I have both a dev environment in Ubuntu and Windows10, I am trying to cross-compile a binary for windows. When I set SFML_STATIC I get this error:

error: could not find native static library `sfml-system-s`, perhaps an -L flag is missing?

I have both tried using the information in the Wiki (both installing via pacman and manually). I can see that the sfml-system-s.a and sfml-system-s-d.a` both exist in the libs folder.

I'm not really sure how to coax the build to complete so that I don't have have SFML DLLS installed in order for my program to run

donicrosby commented 1 year ago

Determined that the libs installation path was incorrect and the archives were not installed in the correct paths via apt-get