Go to Post Like my programming class teacher has said multiple times: "Stop complaining on reddit about your code not compiling and actually fix it". - [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 02-20-2011, 12:00 PM
Rosemount2606 Rosemount2606 is offline
Registered User
FRC #2606
 
Join Date: Jan 2011
Location: Rosemount
Posts: 23
Rosemount2606 is an unknown quantity at this point
.out file not building!

We have been using windriver fine this whole season, when suddenly, our .out files stopped getting updated. No matter how many times we rebuilt the code, or restarted windriver, they still won't build. Has anybody else had this problem, and how did you fix it?

Thanks in advance for any help!
Reply With Quote
  #2   Spotlight this post!  
Unread 02-20-2011, 12:38 PM
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: .out file not building!

have you changed the name of your code

ex. simple_robot -> 2011_team_3038

if so you have to open windriver go to windows on the top menu bar, preferences, first deployment and make sure you file path is directing to the write .out file
Reply With Quote
  #3   Spotlight this post!  
Unread 02-20-2011, 12:42 PM
Rosemount2606 Rosemount2606 is offline
Registered User
FRC #2606
 
Join Date: Jan 2011
Location: Rosemount
Posts: 23
Rosemount2606 is an unknown quantity at this point
Re: .out file not building!

no, we haven't changed the name of the code, and the .out file path is correct. When building, it doesn't update the .out file. The only solution we have seen is to restart windriver. The very first day of the build season that solved the problem, and it hasn't come up since. Now it isn't working.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-20-2011, 01:40 PM
Rosemount2606 Rosemount2606 is offline
Registered User
FRC #2606
 
Join Date: Jan 2011
Location: Rosemount
Posts: 23
Rosemount2606 is an unknown quantity at this point
Re: .out file not building!

ok... we have found a solution, but uncovered more problems.

first, we build the project. It does not create the .out file.

To solve this, we then rebuild the project (actually using "rebuild") and it then correctly updates the .out file.

When we deploy the code, it appears as if it is being deployed properly. The transferring file bar goes all the way across. There are no errors at this point.

At this point, we reboot the robot. We have tried doing this both via the classmate rebooting the crio, and a manual reboot of the robot by resetting its power.

Then, we reestablish comms with the robot, only to see that the new code is not on the robot.

We have tried re-imaging the robot, and then repeating the above steps, all of them working fine. Now, instead of still having the same old code on the robot, we have no code on the robot. We are unable to get any code onto the robot.

We have tried deploying code from another computer as well, and it didn't solve the problem.

Before re-imaging the crio, we tried undeploying code from the robot, but it would not work.

We are using windriver.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-20-2011, 01:53 PM
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: .out file not building!

you have to go to preferences and fine the path to your .out file

read this
Reply With Quote
  #6   Spotlight this post!  
Unread 02-20-2011, 02:03 PM
Rosemount2606 Rosemount2606 is offline
Registered User
FRC #2606
 
Join Date: Jan 2011
Location: Rosemount
Posts: 23
Rosemount2606 is an unknown quantity at this point
Re: .out file not building!

Quote:
Originally Posted by tomy View Post
you have to go to preferences and fine the path to your .out file
We said that we did that in our post above. We double checked it, and the path is properly set.


Quote:
Originally Posted by tomy View Post
read this
We followed that guide, and everything that it said to do, we have already done and tried multiple times. We have also gone through this and we still haven't come across a solution to our problem.
Reply With Quote
  #7   Spotlight this post!  
Unread 02-20-2011, 02:09 PM
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: .out file not building!

when you build are you getting any errors?
Reply With Quote
  #8   Spotlight this post!  
Unread 02-20-2011, 02:11 PM
Rosemount2606 Rosemount2606 is offline
Registered User
FRC #2606
 
Join Date: Jan 2011
Location: Rosemount
Posts: 23
Rosemount2606 is an unknown quantity at this point
Re: .out file not building!

negative, ghostrider.

Quote:
Originally Posted by Rosemount2606 View Post
When we deploy the code, it appears as if it is being deployed properly. The transferring file bar goes all the way across. There are no errors at this point.

Last edited by Rosemount2606 : 02-20-2011 at 02:19 PM.
Reply With Quote
  #9   Spotlight this post!  
Unread 02-20-2011, 02:14 PM
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: .out file not building!

ok so you build it and you get no errors right?

so what is the problem?
Reply With Quote
  #10   Spotlight this post!  
Unread 02-20-2011, 02:15 PM
Rosemount2606 Rosemount2606 is offline
Registered User
FRC #2606
 
Join Date: Jan 2011
Location: Rosemount
Posts: 23
Rosemount2606 is an unknown quantity at this point
Re: .out file not building!

yes, we get no errors. We don't know what the problem is. We are wondering if somebody does, and can help us resolve it.
Reply With Quote
  #11   Spotlight this post!  
Unread 02-20-2011, 02:16 PM
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: .out file not building!

can you deploy it to the robot?
Reply With Quote
  #12   Spotlight this post!  
Unread 02-20-2011, 02:17 PM
Rosemount2606 Rosemount2606 is offline
Registered User
FRC #2606
 
Join Date: Jan 2011
Location: Rosemount
Posts: 23
Rosemount2606 is an unknown quantity at this point
Re: .out file not building!

yes

Quote:
Originally Posted by Rosemount2606 View Post
When we deploy the code, it appears as if it is being deployed properly. The transferring file bar goes all the way across. There are no errors at this point.
Reply With Quote
  #13   Spotlight this post!  
Unread 02-20-2011, 02:18 PM
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: .out file not building!

so then what is the problem??????
Reply With Quote
  #14   Spotlight this post!  
Unread 02-20-2011, 02:19 PM
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 490
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: .out file not building!

are you changing something in the wpilib that is not changing when you download it to the robot or what is wrong
Reply With Quote
  #15   Spotlight this post!  
Unread 02-20-2011, 02:23 PM
Rosemount2606 Rosemount2606 is offline
Registered User
FRC #2606
 
Join Date: Jan 2011
Location: Rosemount
Posts: 23
Rosemount2606 is an unknown quantity at this point
Re: .out file not building!

Quote:
Originally Posted by tomy View Post
are you changing something in the wpilib that is not changing when you download it to the robot or what is wrong
we are not changing it
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


All times are GMT -5. The time now is 09:27 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