-
Notifications
You must be signed in to change notification settings - Fork 168
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
Failed to compile on OSX #9
Comments
The latest version available on brew is the 2.4.2. This game requires 2.5 so you will have to download sfml from their website. After doing that I had to modify the cmake file as instructed by the installer and set Hope that helps |
@Jbaud What did you modify? I never saw anything about the cmake file in the installer. I installed SFML per sfml-dev.org's instructions, and now get the following output from
|
I found a temporary fix. in build/src/CmakeFiles/MarbleMarcerSources.dir/flags.make, manually type the include path to SFML as it is missing
|
Ayy, it compiled!
Now the only issue I have is
```
Failed to open shader file "assets/vert.glsl"
Failed to compile vertex shader
```
I'll fiddle with it some and see if I can't make that work
… Le 10 janv. 2019 à 02:27, Krunal Patel ***@***.***> a écrit :
I found a temporary fix. in build/src/CmakeFiles/MarbleMarcerSources.dir/flags.make, manually type the include path to SFML as it is missing
CXX_INCLUDES = -I/usr/local/include/eigen3 -I/Users/k5patel/workspace/computer-graphics/SFML/include
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#9 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AHomX-hCX-CwwFZTmMEtby1sVcLyTQDOks5vButQgaJpZM4Z4GEA>.
|
just manually copy the built executable over to the root directory. |
You can accomplish the same as below
at the configuration step by passing by passing something like |
How did you download it from their website? I downloaded a folder with doc, Frameworks, examples, etc in it but I'm completely lost on what to do with it. |
The tutorial on the sfml website will teach you how to install it. |
@lateralpunk What path are you talking about? As I do not have anything remotely similar on my computer.
|
I installed the sfml manually, and now it says success but no binary. ( Here's the terminal log:
) |
As of today, SFML in Homebrew is already updated to version 2.5.1. I managed to build with this sequence:
And it produced a binary file. Also I think that |
This now builds and I'm able to run it with:
|
Remove note about homebrew not having the latest SFML as this has been addressed Add flags to `cmake` command inside build directory to fix missing `SFML/Graphics.hpp` HackerPoet#9 (comment)
I stumbled upon this via Reddit. Cool looking game!
First, I needed to also install cmake:
But I'm still having issues on the
cmake
command:Thanks for any help!
The text was updated successfully, but these errors were encountered: