|
EXC_BAD_ACCESS (XCode on Mac 10.10) |
abkothman
Member #15,787
November 2014
|
For some reason, my program crashes while trying to run the line |
abkothman
Member #15,787
November 2014
|
Yup. 1 if(!al_init())
2 abortGame("Could not initialize Allegro.");
3 if(!al_install_keyboard())
4 abortGame("Could not install Keyboard.");
5 timer = al_create_timer(1.0/40);
6 if(!timer)
7 abortGame("Could not initialize Timer");
8 al_set_new_display_flags(ALLEGRO_WINDOWED);
9 display = al_create_display(WINDOW_WIDTH, WINDOW_HEIGHT);
10 if(!display)
11 abortGame("Could not initialize Window");
|
torhu
Member #2,727
September 2002
|
Looks a lot like the Yosemite bug that was just fixed in Allegro GIT... EDIT: This one http://sourceforge.net/p/alleg/allegro/ci/6a9549ebc95731813b002787cfd0dadb370cfcf5/ |
abkothman
Member #15,787
November 2014
|
Yes, this looks like it. Thank you! |
jmasterx
Member #11,410
October 2009
|
Someone should release 5.1.9 because 5.1.8 (and 5.0.10 I think for that matter) do not work on OSX 10.10, which is bad. Agui GUI API -> https://github.com/jmasterx/Agui |
abkothman
Member #15,787
November 2014
|
Yeah, that would be super useful. Anyway, I cloned the most recent git repository, installed allegro, and the issue went away. So that's nice at least. |
Elias
Member #358
May 2000
|
Thomas was going to create Windows and OSX VMs so we could get automated builds (which would make releases more useful as they could come with binaries). Of course then he had to fall in love and decide to marry -- |
Thomas Fjellstrom
Member #476
June 2000
|
Elias said: Of course then he had to fall in love and decide to marry I had planned to work on it while I was here in the Philippines, but I can't access that box. I think a firewall is enabled on it and ssh isn't "ALLOW"ed. The build server is still a goal. And I'm hoping in a week or so, I'll have more time again. But as of right now, I've got a wedding to plan/prepare, and work to do. -- |
|