Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error on running triangle: Received a SIGABRT: Aborted
#1
Edit: I've removed the attached zip file and sent it you you via e-mail instead as I wasn't sure if you'd be happy for the code to be hanging around on the forum.

Good day to you Brian,

Thanks for the great book - I'm a recent CS convert from a different discipline (audio) in games, and quite like the idea of SBCs, so your book is a perfect start!

I'm having a bit of trouble running the code for the first example, and was wondering if you might be able to help? The first error message I get is a thrown exception:

Received a SIGABRT: Aborted

The line in question is the following:

Code:
assert(state->surface != EGL_NO_SURFACE);


The VisualStudio (I'm running 2019, and a Pi 3 B+) output is this:

&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
GameProject1: GameProject1.cpp:229: void init_ogl(Target_State*, int, int): Assertion `state->surface != EGL_NO_SURFACE' failed.

I'm guessing this is going to be some pointer-related issue, though for the life of me I can't track it down.

I'd appreciate it if you could have a look at some point - I've attached my code in a zip file.
Reply


Messages In This Thread
Error on running triangle: Received a SIGABRT: Aborted - by Lawro - 07-17-2020, 07:54 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)