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
Crash on OSX on start #6
Comments
Program works as expected when the craft executable is run with the CWD as the root of the project:
A fix would probably be to check if the files that it's trying to access exist before continuing. |
To provide more information, it's the load_png_texture function that uses and frees the image even if it could not be loaded. Backtrace:
See: https://github.com/fogleman/Craft/blob/7e2497d87440ffd3a914076b842f972a2117771b/util.c#L580-582 And after this, the load_shader function has the same problems. Backtrace:
See: Line 68 in 7e2497d
(Maybe there are more issues, but I have not checked it further) |
The problem is that the program search the files in the local dir. My patch fix this problem and enable you to install "craft" where you want. |
Update backlog.md with daniels tasks
DS_2_3 (Doxy standards) and DS_2_4 (gitignore update)
Issued this command to build:
A window is drawn on the screen for a split second, then:
OS Version: Mac OS X 10.9
The text was updated successfully, but these errors were encountered: