Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Windriver Error 1 (http://www.chiefdelphi.com/forums/showthread.php?t=100683)

Micah Chetrit 19-01-2012 21:52

Windriver Error 1
 
2 Attachment(s)
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!

aeniug2 19-01-2012 22:42

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.

cjlane1138 20-01-2012 00:24

Re: Windriver Error 1
 
Did you copy last year's project into a new one while in WindRiver?

Alan Anderson 20-01-2012 10:25

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?

Micah Chetrit 20-01-2012 14:41

Re: Windriver Error 1
 
Quote:

Originally Posted by aeniug2 (Post 1109468)
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 (Post 1109541)
Did you copy last year's project into a new one while in WindRiver?

That is what I did. Any other ideas?

cjlane1138 21-01-2012 00:15

Re: Windriver Error 1
 
Quote:

Originally Posted by Micah Chetrit (Post 1109825)
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

Micah Chetrit 21-01-2012 18:56

Re: Windriver Error 1
 
Quote:

Originally Posted by cjlane1138 (Post 1110266)
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!

RufflesRidge 21-01-2012 19:03

Re: Windriver Error 1
 
How about making things simpler, can you build one of the FRC Examples?

cjlane1138 22-01-2012 00:14

Re: Windriver Error 1
 
Quote:

Originally Posted by Micah Chetrit (Post 1110743)
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.

Micah Chetrit 23-01-2012 11:54

Re: Windriver Error 1
 
Quote:

Originally Posted by RufflesRidge (Post 1110746)
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.

RufflesRidge 23-01-2012 13:23

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

Micah Chetrit 26-01-2012 14:54

Re: Windriver Error 1
 
Thanks! it works! big help for me!!!


All times are GMT -5. The time now is 12:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi