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

Compilation error on macOS. #44

Open
engstad opened this issue Apr 21, 2023 · 4 comments
Open

Compilation error on macOS. #44

engstad opened this issue Apr 21, 2023 · 4 comments

Comments

@engstad
Copy link

engstad commented Apr 21, 2023

I get (cargo build --release):

The following warnings were emitted during compilation:

warning: CSFML/src/System/Clock.cpp:1:10: fatal error: 'SFML/System/Clock.hpp' file not found
warning: #include <SFML/System/Clock.hpp>
warning:          ^~~~~~~~~~~~~~~~~~~~~~~
warning: 1 error generated.

error: failed to run custom build command for `sfml v0.20.0`

Can you check for sfml?

@engstad
Copy link
Author

engstad commented Apr 21, 2023

I should note that I got past this using:

$ brew install sfml csfml

@engstad
Copy link
Author

engstad commented Apr 21, 2023

In terms of macOS support, perhaps you could use: https://github.com/rbspy/read-process-memory, instead of spinning your own?

@crumblingstatue
Copy link
Owner

Yeah, I think the mac os support is completely broken.
I don't have a Mac, so I can't test anything Mac related.
I'm looking for a Mac developer/maintainer who can do that.

@trumank
Copy link
Contributor

trumank commented Nov 11, 2023

I should note that I got past this using:

$ brew install sfml csfml

I also had to set these env vars after installing SFML via brew:

export SFML_INCLUDE_DIR=/opt/homebrew/include
export SFML_LIBS_DIR=/opt/homebrew/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants