-
Notifications
You must be signed in to change notification settings - Fork 28
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
Installation error on mac #9
Comments
I installed SDL, SDLimage etc with brew and when I run
I get the following error:
|
@asandroq: You were able to set the game up on macOS. |
Yes, I got the exact same error. I tried several things but in the end I worked around it by editing |
Thank you @asandroq for the quick response. @nikivazou:
|
@asandroq's solution worked, thanks! |
@nikivazou @asandroq Should anything be changed in any package? Either SDL-* or haskanoid? |
Also, could we turn this into a change to the |
@nikivazou What exactly did you do? Could you briefly write what worked so that we can, at least, add it as instructions? Were you able to install haskanoid and run it, or just run the command to install sdl? |
💡 My MacOS version is 10.14.6 (Mojave) and I was able to compile with the below instructions:
/** The application's main() function must be called with C linkage,
* and should be declared like this:
* @code
* #ifdef __cplusplus
* extern "C"
* #endif
* int main(int argc, char *argv[])
* {
* }
* @endcode
*/
// #define main SDL_main 🔖 Note: I also tried installing with the additional flag
|
💡 My MacOS version is 10.15.7 (Catalina) and I was able to compile with the below instructions:
/** The application's main() function must be called with C linkage,
* and should be declared like this:
* @code
* #ifdef __cplusplus
* extern "C"
* #endif
* int main(int argc, char *argv[])
* {
* }
* @endcode
*/
// #define main SDL_main
❌ The app has a bug, the ball gets out of the game and doesn't come back. |
Great news that you were able to install it! Quick question: would you be able to send a PR updating the installation instructions for Mac, and we can open the issue about the ball separately? (seems unrelated to the fact that you are on mac). |
Following the below steps
errors with
The text was updated successfully, but these errors were encountered: