Hacker News new | ask | show | jobs
by diath 2309 days ago
It looks pretty interesting but unfortunately I'm unable to run the demo, getting a crash in glDrawElements which is sort of outside of my scope to address. As a side note the debug symbols flag doesn't get passed to individual C files so the binary ends up without debugging symbols (as a workaround I moved the -g3 flag to CC variable instead).
2 comments

Interesting. What distribution are you using? On Debian it has been working fine, however on macOS I also encounter the glDrawElements issue. Still working on that.
I'm on Arch running the latest proprietary nvidia drivers.
I am getting a Segmentation fault under Debian Stretch.
Likewise on Ubuntu 19.10. Running an NVIDIA GTX 950 on nvidia-driver-430 (proprietary).
Uh oh, what graphics card / driver are you using?
Not the OP, but it crashed with ubuntu 19.10 with a GTX1070 with the default ubuntu nvidia binary blob: i nvidia-driver-390 - NVIDIA driver metapackage

Maybe the code is incompatible with libglew2.1?

When I run: $ ./ecosim Segmentation fault (core dumped)

I see a window map for an instant before the seg fault.