lkesteloot / alice

Website documenting a hardware project from the 1990s.
http://lkesteloot.github.io/alice/
Apache License 2.0
74 stars 9 forks source link

Arena no longer compiles #45

Closed lkesteloot closed 7 years ago

lkesteloot commented 7 years ago

M_PI seems to be defined in math.h, which is included by hardware_events.c, but it still gives this error:

../libgl/hardware_events.c:108:38: error: ‘M_PI’ undeclared (first use in this function)
      value = theta_x_smoothed / (2 * M_PI) * 3600;

Note that hardware_events.c is included in logo and compiles fine there. Removing the flag -std=c99 from the Arena Makefile results in successful compilation. I didn't check that change in because I didn't know why it was there.

bradgrantham commented 7 years ago

Compiles.