Go to Post Here, and in general, avoid jumping to conclusions without research. This will serve you well in life. - DonRotolo [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 19-01-2012, 21:52
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Windriver Error 1

Hi, I was just trying to load last year's code onto this year's CRIO(II), and I got an "Error one when I try to build it. I can't download code until I build at least once. I am using Windriver 3.3 on Win & x64. I attached two screenshots.

Please, HELP!
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	63
Size:	77.0 KB
ID:	11463  Click image for larger version

Name:	Capture2.PNG
Views:	27
Size:	63.4 KB
ID:	11464  
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2012, 22:42
aeniug2's Avatar
aeniug2 aeniug2 is offline
Registered User
AKA: Joseph
FRC #2879 ("Orange Thunder")
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: St. Louis park
Posts: 150
aeniug2 will become famous soon enoughaeniug2 will become famous soon enough
Re: Windriver Error 1

Could it be an issue with the file path?
I know that by default the path to the .out file should be
like the one in meh video:
http://www.youtube.com/watch?v=9myCh...8fi7PHS94d4996

(skip to the useful parts, the beginning is useless).

AlSO, for reusing last years code, you could try opening a simpletemplate, and then just replacing all of its code with your own.
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2012, 00:24
cjlane1138 cjlane1138 is offline
Team 1138
FRC #1138 (Eagle Engineering)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Los Angeles
Posts: 88
cjlane1138 is an unknown quantity at this point
Re: Windriver Error 1

Did you copy last year's project into a new one while in WindRiver?
Reply With Quote
  #4   Spotlight this post!  
Unread 20-01-2012, 10:25
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Windriver Error 1

I don't use WindRiver tools or C++, so I'm not up on the details, but is the "PPC603" a clue?
Reply With Quote
  #5   Spotlight this post!  
Unread 20-01-2012, 14:41
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Windriver Error 1

Quote:
Originally Posted by aeniug2 View Post
Could it be an issue with the file path?
I know that by default the path to the .out file should be
like the one in meh video:
http://www.youtube.com/watch?v=9myCh...8fi7PHS94d4996

(skip to the useful parts, the beginning is useless).

AlSO, for reusing last years code, you could try opening a simpletemplate, and then just replacing all of its code with your own.
Nice vid, but not useful for me, because the issue is with building, and I can't continue until I do the first build.

Quote:
Originally Posted by cjlane1138 View Post
Did you copy last year's project into a new one while in WindRiver?
That is what I did. Any other ideas?
Reply With Quote
  #6   Spotlight this post!  
Unread 21-01-2012, 00:15
cjlane1138 cjlane1138 is offline
Team 1138
FRC #1138 (Eagle Engineering)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Los Angeles
Posts: 88
cjlane1138 is an unknown quantity at this point
Re: Windriver Error 1

Quote:
Originally Posted by Micah Chetrit View Post
Nice vid, but not useful for me, because the issue is with building, and I can't continue until I do the first build.



That is what I did. Any other ideas?
That is your issue. Once, in the side panel I rightclicked on my project, hit Copy, then clicked outside of it and pasted it as 2012_1.1

It turns out that when you do that, it uses the same build configuration as the old class, so it tries to get the .out from the old class instead of your new one.
Get it?

So what you have to do is do a simple copy paste inside of Windows Explorer (like My Documents or C:/ for example) and rename it through there. Then go to WindRiver and File->Import->Existing Projects->Find your workspace where you copied it and select it. Then it should work!

-Eagle Engineering 1138
Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2012, 18:56
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Windriver Error 1

Quote:
Originally Posted by cjlane1138 View Post
That is your issue. Once, in the side panel I rightclicked on my project, hit Copy, then clicked outside of it and pasted it as 2012_1.1

It turns out that when you do that, it uses the same build configuration as the old class, so it tries to get the .out from the old class instead of your new one.
Get it?

So what you have to do is do a simple copy paste inside of Windows Explorer (like My Documents or C:/ for example) and rename it through there. Then go to WindRiver and File->Import->Existing Projects->Find your workspace where you copied it and select it. Then it should work!

-Eagle Engineering 1138
Great,
but there is one small issue, I just have the code from last year, not the whole WR project. WR want a vxworks file, which I don't have. How do I get around that?

Thanks for all the help!
Reply With Quote
  #8   Spotlight this post!  
Unread 21-01-2012, 19:03
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Windriver Error 1

How about making things simpler, can you build one of the FRC Examples?
Reply With Quote
  #9   Spotlight this post!  
Unread 22-01-2012, 00:14
cjlane1138 cjlane1138 is offline
Team 1138
FRC #1138 (Eagle Engineering)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Los Angeles
Posts: 88
cjlane1138 is an unknown quantity at this point
Re: Windriver Error 1

Quote:
Originally Posted by Micah Chetrit View Post
Great,
but there is one small issue, I just have the code from last year, not the whole WR project. WR want a vxworks file, which I don't have. How do I get around that?

Thanks for all the help!
Make a new Example, rename it, replace MyRobot.cpp with last years. Then, (if you have any) place any other classes inside of the example. Make sure all of the code is up-to-date, then build.
__________________
Eagle Engineering 1138
Reply With Quote
  #10   Spotlight this post!  
Unread 23-01-2012, 11:54
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Windriver Error 1

Quote:
Originally Posted by RufflesRidge View Post
How about making things simpler, can you build one of the FRC Examples?
No, I can't. can build normal CPP files, but if I use any FRC examples, it gives me the error I showed.
Reply With Quote
  #11   Spotlight this post!  
Unread 23-01-2012, 13:23
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Windriver Error 1

I just looked through the WPILib Update installer script and it gave me an idea of something you could try:
Locate the following file and rename it to remove the ".hangs"

C:\WindRiver\gnu\3.4.4-vxworks-6.3\x86-win32\libexec\gcc\powerpc-wrs-vxworks\3.4.4\get_feature.hangs.exe
Reply With Quote
  #12   Spotlight this post!  
Unread 26-01-2012, 14:54
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Windriver Error 1

Thanks! it works! big help for me!!!
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 03:02.

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