dalerank / Akhenaten

Pharaoh (1999, open source engine)
GNU Affero General Public License v3.0
205 stars 12 forks source link

Can't open/load new game on macOS #152

Closed jlsmith-hep closed 3 days ago

jlsmith-hep commented 4 months ago

Bug: After building and running, I can create a family/save, but game crashes when I attempt to begin the game

OS/Machine: macOS 14.5, MacBook Pro M2 Pro

Build: from eae08e3, on macOS using VS Code, CMake, clang++ 15.0.0, c++17, using external SDL2 libraries from brew. SDL2: 2.30.4, SDL2 Mixer: 2.8.0

Crash:

Screenshot 2024-06-27 at 10 11 30
dalerank commented 4 months ago

Thanks, look asap

jlsmith-hep commented 4 months ago

Hi, as of the latest commit (89ecd53ad0ca79ceeea462f33a88498b915432f5) this bug still exists. I can now get to the scenario page, but the bug happens when I click "to the city".

image image
dalerank commented 4 months ago

Got it, let me think what happens. Can you show log here?

jlsmith-hep commented 4 months ago

log.txt

Thanks! My background is more in data science and AI using C++ so unfortunately I don't know where to start with this error, but in general I am willing to help debug errors and contribute to this project

dalerank commented 4 months ago

All figures registered with one scheme figures::model_t<figure_immigrant> immigrant_m; an s->func it a list of simple structures s->next s->next->next s->next->next->next etc so it need to understand why this scheme not works on mac cause it works on win, linux and android

dalerank commented 4 months ago

Or I will get macbook on next week and try to debug it local

jlsmith-hep commented 4 months ago

I'll see if I can find some time to look at it , maybe in a week for me. It could be many things, this is also ARM rather than x86.