C++ Install Issue - Compilers not found...

Hello,

I’ve done a clean install of the build environment setup for C++ on Windows using the screen steps. When I attempt to generate a sample robot project I two things occur that aren’t right.

First I never get the prompt asking me to enter my team number.

The second is I get a number of build errors complaining about the C++ compilers not being found, see below. Prior to installing Eclipse I downloaded and installed the FRC-2016 Windows Toolchain 4.9.3.msi. I then installed Eclipse and installed the plugins using the online site. Everything installed without any errors. I figure I must have missed a step somewhere. Can someone point out what I have done wrong here?

Thanks,
Rob

Description Resource Path Location Type
Program “arm-frc-linux-gnueabi-g++” not found in PATH Getting Started Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Program “arm-frc-linux-gnueabi-g++” not found in PATH Test Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Program “arm-frc-linux-gnueabi-gcc” not found in PATH Getting Started Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Program “arm-frc-linux-gnueabi-gcc” not found in PATH Test Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Program “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\cl” not found in PATH Getting Started Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Program “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\cl” not found in PATH Test Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Program “g++” not found in PATH Preferences, C++/Build/Settings/Discovery, [CDT GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Program “gcc” not found in PATH Preferences, C++/Build/Settings/Discovery, [CDT GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Program “gcc” not found in PATH Getting Started Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Program “gcc” not found in PATH Test Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem

If you didn’t delete the USERS\wpilib folder your team number setting persisted from the previous install.

Can someone point out what I have done wrong here?

Assumed that the errors are a problem. Can you build a program?

No I can’t build the sample Robot project that I generated from the project wizard. I get the errors complaining about g++ and gcc not found on the path. Twice now I have deleted eclipse and uninstalled the toolchain msi and reinstalled but I’ve gotten no where.

Having the same exact issues. Running Windows 10, if that would make a difference.

g++ and gcc not found on the path are not actual errors. Your code should still build and deploy just fine. If you want to remove the errors, the easiest way is to install some gcc (like MinGW) and put it on your path. We use the arm-frc-linux-gnueabi- prefixed compilers, but eclipse likes to have vanilla gcc available as well.

Where is the toolchain supposed to install? I never got prompted for a location for the software and it installed to backup drive attached to a USB port on my system (I:\frc). :eek:

I moved the frc folder to where I wanted it, edited the project properties to match, and the error messages disappeared. I am running Windows 10.

FWIW,

Bob

The installer installs on the drive you run it from. This means that you need to run it from the same drive that eclipse is installed on. That might be @rsaccone’s issue.

Also, double check that [eclipse drive]:\frc is on your PATH environment variable.

I never had the msi file on my backup drive on which it installed. There must be something else in the installation script. I did do multiple installs and uninstalls initially, when I couldn’t figure where the software had installed. That may have affected its action.

Good advice. This is what solved the issue for me and would probably solve the issue for @rsaccone

Thanks,

Bob