gcc is the GNU compiler used by the make process to compile your code. WindRiver obviously can't find it to run it. Make sure that gcc.exe exists on your system, then check your path statement in Windows. It should include the location of gcc.
This all should have been handled by the WindRiver installation. I would hate for you to resort to a re-install but if your installation got hosed you may need to do just that. You'll save time in the long run.
Quote:
Originally Posted by ExarKun666
I compiled the layout given here:
Code:
#include "WPILib.h"
class RobotDemo : public SimpleRobot
{
RobotDemo(void)
{
// put initialization code here
}
void Autonomous(void)
{
// put autonomous code here
}
void OperatorControl(void)
{
// put operator control code here
}
};
START_ROBOT_CLASS(RobotDemo);
and I am getting the following error:
Code:
C:\DOCUME~1\LCHS\LOCALS~1\Temp\make2565.sh: gcc: command not found
C:\WindRiver\workbench-3.0\x86-win32\bin\make.exe: *** [09_2429_v1/Debug/Objects/09_2429_v1/h/tool/common/defs.o] Error 127
Build Failed in Project '09_2429_v1' (Process Exit Value was 2): 2009-01-13 16:31:42 (Elapsed Time: 00:03)
What do I need to do to fix this, I dragged in the h folder and lib from the target folder, but its still not working, any suggestions?
|