Go to Post Or, to put it another way: It's a sport where you build your own athlete. - EricH [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 01-13-2009, 07:50 PM
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
WindRiver Errors

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?
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
Reply With Quote
  #2   Spotlight this post!  
Unread 01-14-2009, 09:36 AM
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
Re: WindRiver Errors

We are really stuck can no one help?
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
Reply With Quote
  #3   Spotlight this post!  
Unread 01-14-2009, 10:05 AM
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: WindRiver Errors

gcc is the GNU C Compiler.

It appears that WindRiver can't find the compiler that it is set to use. If you poke around in the compiler settings, maybe you can find a place to set a path to the compiler. If you don't know where the compiler is, you can do a search (winKey + f) for gcc to try and find it.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-14-2009, 10:11 AM
foemill's Avatar
foemill foemill is offline
What do you mean it's overweight?
AKA: Eric Miller
FRC #1270 (Red Dragons)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Cleveland, Ohio
Posts: 12
foemill is on a distinguished road
Re: WindRiver Errors

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 View Post
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?
Reply With Quote
  #5   Spotlight this post!  
Unread 01-14-2009, 02:49 PM
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
Re: WindRiver Errors

Okay for some reason I am now having trouble making a project, are there directions on making a project that isl inked to the compiler, because the read me files in the docs folder under the WindRiver folder are not helpful.
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
Reply With Quote
  #6   Spotlight this post!  
Unread 01-14-2009, 03:06 PM
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
Re: WindRiver Errors

also once the project is made how do you make a file in it, we are really confused, so any and all info on making this initial project, files ect.. would be extremely helpful!
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
Reply With Quote
  #7   Spotlight this post!  
Unread 01-14-2009, 03:21 PM
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 321
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: WindRiver Errors

Have you tried

File -> New -> Example

Then vxworks Downloadable kernel module sample project

Then select a template that starts with FRC?
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #8   Spotlight this post!  
Unread 03-04-2009, 08:32 PM
1308 1308 is offline
Registered User
FRC #1308
 
Join Date: Mar 2009
Location: Cleveland
Posts: 2
1308 is an unknown quantity at this point
Unhappy Re: WindRiver Errors

Hi I am having the same problem as ExarKun666. I even tried re-installing and I still get that error. I don't know what to do now.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windriver LAC McGurky C/C++ 12 02-25-2009 06:38 PM
WindRiver WPILib problems Dr Nick C/C++ 5 01-13-2009 04:17 PM
compiling in windriver koreabell Programming 4 01-05-2009 03:32 PM
windriver projects nickmagus Programming 4 12-01-2008 11:29 PM


All times are GMT -5. The time now is 10:07 AM.

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