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

[macOS Mojave 10.14, SFML 2.5.1] Build succeeds, launch fails #20

Open
BaconWrappedShrimpWithEyes opened this issue Jan 16, 2019 · 5 comments

Comments

@BaconWrappedShrimpWithEyes
Copy link

BaconWrappedShrimpWithEyes commented Jan 16, 2019

After cloning the repository and following build instructions, launching unix executable MarbleMarcher fails with error

Failed to open shader file "assets/vert.glsl"
Failed to compile vertex shader

Why might this be happening?
I can give more details if necessary, but everything else says it succeeds, so I don't know what could be helpful.

@tomlister
Copy link

tomlister commented Jan 17, 2019

Move the executable into the root directory. Damn I can't even get this to build properly.

@BaconWrappedShrimpWithEyes
Copy link
Author

Does “Root Directory” mean the folder which the repository was cloned into? Because the name of the repository and the name of the executable are the same (and changing the name of the executable in order to copy it gave me the same error).

Does it mean /Users/[username]/? If that’s so, is there somewhere specific the repository must be cloned to?

Does it mean repository root? ([clone location]/MarbleMarcher/)? If that’s the case, that didn’t work either.

Does it mean true root? As in the root directory containing Users, Applications, usr and lib folders? This gives the same follow up question as /Users/[username] about whether there is a specific folder the clone has to be in.

Could I get some clarification? Thanks.

@tomlister
Copy link

tomlister commented Jan 17, 2019 via email

@mygizli04
Copy link

@baconwrapped move the executable to the root of the repository ( where "assets" is ). When you want to move the game you also have to move the assets folder

@CrushedPixel
Copy link
Contributor

@BaconWrappedShrimpWithEyes please try re-compiling the game from master and playing it again. PR #37 should have fixed your issue, if you're on a MacBook.

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

4 participants