|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Toolchain Installation on Mac OS X
Hi,
I was attempting to install the FRC 2016 Toolchain on Mac OS X, and, though it seemed to install correctly, when I attempt to compile any code, it gives me the following error: Code:
wpilib/cpp/current/include/Base.h:65:18: fatal error: atomic: No such file or directory
#include <atomic>
^
|
|
#2
|
||||
|
||||
|
Re: Toolchain Installation on Mac OS X
Have you previously used Homebrew (e.g. brew install [package]) or installed gcc in some other manner?
One of the students on our team was able to install the 2016 tool chain and get it working with out any problems. When I tried I ran into the same problem you are having. I use Homebrew and the thing that seems suspicious is that the project is referencing some Homebrew include paths. I spent a couple of hours messing around with it and then gave up. |
|
#3
|
|||
|
|||
|
Re: Toolchain Installation on Mac OS X
Quote:
UPDATE: I fixed it! It turns out that it was a problem with homebrew's gcc, as you suggested. I ran a Code:
brew uninstall gcc Note: uninstalling the homebrew gcc gave me this error, confirming the FRC toolchains had used it: Code:
Error: Permission denied - /usr/local/Cellar/gcc/4.9.2_1/lib/gcc/arm-frc-linux-gnueabi/4.9.3/crt begin.o Code:
sudo brew uninstall --force gcc Last edited by vigneshv : 14-02-2016 at 00:32. |
|
#4
|
||||
|
||||
|
Re: Toolchain Installation on Mac OS X
This worked great. Thanks for passing it on.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|