purduesigbots / pros-atom

Main plugin for supporting PROS development in Atom
http://atom.io/packages/pros
Mozilla Public License 2.0
11 stars 9 forks source link

Make failure: "stdlib.h: No such file..." in Arch Linux #41

Closed benbroce closed 7 years ago

benbroce commented 7 years ago

Actual Behavior:

pros make and make in terminal at the project root or building in Atom yields:

CC -I../include -I../src opcontrol.c In file included from ../include/main.h:46:0, from opcontrol.c:1: ../include/API.h:25:20: fatal error: stdlib.h: No such file or directory ^ compilation terminated. make[1]: *** [Makefile:44: ../bin/opcontrol.o] Error 1 make: *** [Makefile:44: src] Error 2

System information:

Operating System: (Manjaro [Arch] Linux)

Atom Version: (1.15.0)

Plugin Version: (0.6.9)

edjubuh commented 7 years ago

How did you install PROS?

benbroce commented 7 years ago

Via the arch easy-install script. Would you recommend a re-install? Something else?

Edit: Just downloaded & ran the latest script to verify that everything is up to date - same problem. Edit: Same occurs with blank or example projects.

BottomNotch commented 7 years ago

oops, the arch install script doesn't install newlib. run sudo pacman -S arm-none-eabi-newlib and you should be good to go.

benbroce commented 7 years ago

Thanks! You guys are awesome!