Hacker News new | ask | show | jobs
by rvz 2309 days ago
Very cool! However, I don't see why this has to be so specific for Linux from when by judging from the libraries used it can be also compiled for MingW, macOS, Free/Open/NetBSD, QNX and even surprising Haiku.

But a very interesting project nevertheless.

1 comments

Currently having difficulties getting it running on macOS, and gdb doesn't seem to play nice with Catalina
Doesn't work on ubuntu 19.10 either.

gcc -c main.c gcc -g3 logger.o quadtree.o graphics.o utils.o agents.o input.o main.o -o ecosim -lGL -lm -lglfw -lGLEW $ ./ecosim Segmentation fault (core dumped)

Try LLDB; Apple keeps breaking GDB.