|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
Re: Unable to build command based program
Looks like you added an include for CommandBase.h to your WPILib.h file on line 14
Line 14 is blank for me http://img.prntscr.com/img?url=http:...om/K6eKywP.png You shouldn't modify WPILib files in most cases. Remove the line, or reset your wpilib install by closing Eclipse, deleting %userprofile%\wpilib, then starting Eclipse again. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|