View Single Post
  #1   Spotlight this post!  
Unread 05-05-2016, 19:24
Oldgoer Oldgoer is offline
Registered User
FRC #3814
Team Role: Mentor
 
Join Date: Mar 2016
Rookie Year: 2015
Location: Kentucky
Posts: 3
Oldgoer is an unknown quantity at this point
Unable to build command based program

Our team is moving towards a new command based program for our future robots and are having an issue that makes no sense. when we attempt to build ANY command based program (including a new unaltered void project) we get a fatal error:

Info: Internal Builder is used for build
arm-frc-linux-gnueabi-g++ -std=c++1y "-IC:\\Users\\PiBotics/wpilib/cpp/current/include" "-IC:\\Users\\PiBotics\\workspace\\null command based\\src" -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\OI.o" "..\\src\\OI.cpp"
In file included from ..\src\OI.h:4:0,
from ..\src\OI.cpp:1:
C:\Users\PiBotics/wpilib/cpp/current/include/WPILib.h:14:28: fatal error: ../CommandBase.h: No such file or directory
#include "../CommandBase.h"
^
compilation terminated.

I am unable to see why this error is occurring. it looks like it is pointing to not finding the CommandBase.h file which is clearly in the src folder of the project project
Reply With Quote