View Single Post
  #1   Spotlight this post!  
Unread 11-02-2015, 00:29
s-taylor s-taylor is offline
Scott Taylor
FRC #1735 (Green Reapers)
Team Role: Mentor
 
Join Date: Feb 2014
Rookie Year: 2014
Location: Auburn, MA
Posts: 22
s-taylor has a spectacular aura abouts-taylor has a spectacular aura about
Java code getting g++/gcc errors in Eclipse from c++ scanner?

I had an error-free code base earlier today.
I finally got around to GIT-ifying the repo (Thanks, GitHub!), and after re-importing the git clone into Eclipse, the auto-scanning "Problems" tab suddenly started reporting a C++ related *error* condition:

Program "arm-frc-linux-gnueabi-g++" not found in PATH

with reported location being:
Project Properties, C++ Preprocessor Include.../Providers, [CDT Cross GCC Built-in Compiler Settings] options

I dug around in the Project Properties, and there are plenty of Java references but nothing even remotely related to c++, and certainly nothing with the hierarchy specified in the Location string.

I'm not sure what I could have done to cause this, and it doesn't seem to prevent the java code from compiling to the point of deployment (I have no robot access today).... but it worries me, especially since it is an error condition that might prevent something from being deployed tomorrow!

Anyway... how did this c++ scanning end up in my java-only project? I did accidentally click on 'c++' in RobotBuilder sometime in the last couple of days and had to go into the project and delete out the c++ files; it's possible something is left hanging behind I suppose. I looked in the build.xml and don't see anything.

Before I go reverting back to earlier pre-git versions and trying to diff/reconstruct a large number of changes... any suggestions?

Thanks...
-Scott