Go to Post So if you were a rookie team in this division what would you do? Watch.Experience.Learn. - dodar [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2016, 10:45
rsaccone rsaccone is offline
Registered User
FRC #3950
 
Join Date: Feb 2013
Location: Glen Head, NY
Posts: 23
rsaccone is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2016, 11:29
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: C++ Install Issue - Compilers not found...

Quote:
Originally Posted by rsaccone View Post
First I never get the prompt asking me to enter my team number.
If you didn't delete the USERS\wpilib folder your team number setting persisted from the previous install.

Quote:
Can someone point out what I have done wrong here?
Assumed that the errors are a problem. Can you build a program?
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2016, 11:57
rsaccone rsaccone is offline
Registered User
FRC #3950
 
Join Date: Feb 2013
Location: Glen Head, NY
Posts: 23
rsaccone is an unknown quantity at this point
Re: C++ Install Issue - Compilers not found...

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.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2016, 22:54
RaskorTheWise RaskorTheWise is offline
Registered User
AKA: Noah Gersh
FRC #2551 (Penguin Empire)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Novato, CA
Posts: 8
RaskorTheWise is an unknown quantity at this point
Re: C++ Install Issue - Compilers not found...

Having the same exact issues. Running Windows 10, if that would make a difference.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-01-2016, 08:58
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 147
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2016, 00:48
vettenoir's Avatar
vettenoir vettenoir is offline
Registered User
AKA: Bob Hedrick
FRC #5885 (WiredCats)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2016
Location: LaSalle, Ontario
Posts: 2
vettenoir is an unknown quantity at this point
Re: C++ Install Issue - Compilers not found...

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).

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
Reply With Quote
  #7   Spotlight this post!  
Unread 17-01-2016, 01:16
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 361
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: C++ Install Issue - Compilers not found...

Quote:
Originally Posted by vettenoir View Post
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).

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.
Reply With Quote
  #8   Spotlight this post!  
Unread 17-01-2016, 12:49
vettenoir's Avatar
vettenoir vettenoir is offline
Registered User
AKA: Bob Hedrick
FRC #5885 (WiredCats)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2016
Location: LaSalle, Ontario
Posts: 2
vettenoir is an unknown quantity at this point
Re: C++ Install Issue - Compilers not found...

Quote:
Originally Posted by euhlmann View Post
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.
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.

Quote:
Originally Posted by euhlmann View Post
Also, double check that [eclipse drive]:\frc is on your PATH environment variable.
Good advice. This is what solved the issue for me and would probably solve the issue for @rsaccone

Thanks,

Bob
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi