Closed jackwherry closed 5 years ago
are you able to debug the problem - either grab a core dump, or attempt to step through line by line and find the line of code that causes the exception? You can also turn up the logging level with --log=DEBUG
which may help.
Thank you for the quick response. I’ll follow your suggestion to use the debug log option and will put it in GDB to see if I can find anything tomorrow when I have some more time.
oh I just looked at the log closer. It seems the game is having trouble loading its game data. Are they supposed to be in /home/pi
? Perhaps you need to provide a suitable CDOGS_DATA_DIR
when configuring the project with cmake.
Your most recent suggestion turned out to be correct! I was expecting the game to look in its parent directory (the repository) for data, but it looked in the home directory instead. When I moved all the data files to the home directory for a quick test, it worked perfectly (aside from being a little slow). Thanks again for your help!
Hardware: Raspberry Pi 2B OS: Raspbian (ARM build of Debian for Raspberry Pi devices)
I built this game successfully using the instructions provided in the wiki for Linux. All went well during the build process. However, when I attempted to run the game as per the instructions, a number of errors were printed to the console, finishing with a floating point exception.
Please tell me if I made a mistake building or running the game.
Console Messages: