Go to Post Where does one get a henchman? I have a pretty good group of minions, but have always wanted a henchman. - IKE [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-01-2009, 03:46
koreabell koreabell is offline
Team 956 Safety Captain
FRC #0956 (Eagles)
Team Role: Programmer
 
Join Date: Sep 2008
Rookie Year: 2007
Location: Oregon
Posts: 24
koreabell is an unknown quantity at this point
compiling in windriver

i searched but i couldn't find answer to it yet, if there are some threads regarding my question already, please let me know

my question is that is there any way to find out an error in the code without downloading the code to cRio or using debugging tool(which requires connection with cRio)?

i tried to build with intentional error( missing semicolon and missing headerfile) and it worked, so i guess it's not compiling the code or detecting errors.

so i'm wondering if windriver workbench can detect code errors without connection with cRio, like other IDEs did before(command IDE to compile, if there are some errors, compile failure, if not, compile to download).
  #2   Spotlight this post!  
Unread 05-01-2009, 12:49
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: compiling in windriver

I had this problem and it was caused by me moving the workspace from the default. You need to make sure you used the default locations.

Program - C:\windriver
Workspace - C:\windriver\workspace
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #3   Spotlight this post!  
Unread 05-01-2009, 14:36
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: compiling in windriver

You can find syntax errors in the program by compiling it. You don't need a cRIO to do that. Just right-click on the project in the "Project Explorer" window and select, "Build Project". You should see any errors in the "Problems" or "Build Console" tabs at the bottom of the screen.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #4   Spotlight this post!  
Unread 05-01-2009, 15:26
koreabell koreabell is offline
Team 956 Safety Captain
FRC #0956 (Eagles)
Team Role: Programmer
 
Join Date: Sep 2008
Rookie Year: 2007
Location: Oregon
Posts: 24
koreabell is an unknown quantity at this point
Re: compiling in windriver

Quote:
Originally Posted by BradAMiller View Post
You can find syntax errors in the program by compiling it. You don't need a cRIO to do that. Just right-click on the project in the "Project Explorer" window and select, "Build Project". You should see any errors in the "Problems" or "Build Console" tabs at the bottom of the screen.

well, i did that bunch of times with intentional errors in the code but it'll still build/rebuild the project successfully with no errors.

i don't see any errors or warnings on "Problems" or "Build Console" tab

does anyone not get any errors or warnings other than me?
  #5   Spotlight this post!  
Unread 05-01-2009, 15:32
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: compiling in windriver

Quote:
Originally Posted by koreabell View Post
well, i did that bunch of times with intentional errors in the code but it'll still build/rebuild the project successfully with no errors.

i don't see any errors or warnings on "Problems" or "Build Console" tab

does anyone not get any errors or warnings other than me?
I could see that happening if you had multiple projects open and didn't know which was the active project. I would analyze the output window closely and make sure you are compiling the project you think you are. All else fails just right click on your project and choose close unrelated projects.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
Closed Thread


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 25-02-2009 18:38
WindRiver C++ Specific Keywords kyungjin C/C++ 8 01-02-2009 12:42
how to install windriver!! mole Programming 4 30-12-2008 12:52
windriver projects nickmagus Programming 4 01-12-2008 23:29


All times are GMT -5. The time now is 14:55.

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