Go to Post I don't know about the rest of you, but I do this to give kids an opportunity that I never had. - Jack Jones [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-02-2010, 19:18
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
simple problem; can't build example projects

Hey,
for some reason, I cannot build any of the example project except for the first one I created, the default robot code. When I right-click and build, it will show that it is building in the output below, but it seems to only create the directory, and stop there and show 'build successful'. When you look in the directory(projectname/debug/), all you see is a makefile and no binary files .o files, etc. How do I fix this? thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2010, 19:30
Kyledoo Kyledoo is offline
Registered User
FRC #2603
 
Join Date: Jan 2010
Location: Ohio
Posts: 24
Kyledoo is an unknown quantity at this point
Re: simple problem; can't build example projects

Quote:
Originally Posted by kennypu View Post
Hey,
for some reason, I cannot build any of the example project except for the first one I created, the default robot code. When I right-click and build, it will show that it is building in the output below, but it seems to only create the directory, and stop there and show 'build successful'. When you look in the directory(projectname/debug/), all you see is a makefile and no binary files .o files, etc. How do I fix this? thanks.
We had the same problem, have you tried different examples? Also, is everything updated on your PC?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2010, 21:15
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: simple problem; can't build example projects

Whenever this happens to me, and it happens almost every time I create a new instance of one of the sample projects, the problem magically goes away if I close and then reopen the project. I've seen a number posts where people closed Workbench altogether, and restarted it, to fix the problem. I've never had to do that.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2010, 21:18
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
Re: simple problem; can't build example projects

Quote:
Originally Posted by gvarndell View Post
Whenever this happens to me, and it happens almost every time I create a new instance of one of the sample projects, the problem magically goes away if I close and then reopen the project. I've seen a number posts where people closed Workbench altogether, and restarted it, to fix the problem. I've never had to do that.
I see.. Thats what it says in the C getting started guide as well, but I swear I've done that before (shutting down windriver and restarting, then rebuilding). I guess I will try again.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2010, 22:01
Kyledoo Kyledoo is offline
Registered User
FRC #2603
 
Join Date: Jan 2010
Location: Ohio
Posts: 24
Kyledoo is an unknown quantity at this point
Re: simple problem; can't build example projects

Haha, that reminds me of an engineering joke I got the other day..

There are four engineers traveling in a car; a mechanical engineer, a chemical engineer, an electrical engineer and a computer engineer. The car breaks down. “Sounds to me as if the pistons have seized. We’ll have to strip down the engine before we can get the car working again”, says the mechanical engineer. “Well”, says the chemical engineer, “it sounded to me as if the fuel might be contaminated. I think we should clear out the fuel system.” “I thought it might be a grounding problem”, says the electrical engineer, “or maybe a faulty plug lead.” They all turn to the computer engineer who has said nothing and say: “Well, what do you think?” “Ummm perhaps if we all get out of the car and get back in again?”
sorry about being off topic, i just thought I could lighten the mood a little
Reply With Quote
  #6   Spotlight this post!  
Unread 02-02-2010, 22:10
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
Re: simple problem; can't build example projects

Quote:
Originally Posted by Kyledoo View Post
Haha, that reminds me of an engineering joke I got the other day..

There are four engineers traveling in a car; a mechanical engineer, a chemical engineer, an electrical engineer and a computer engineer. The car breaks down. “Sounds to me as if the pistons have seized. We’ll have to strip down the engine before we can get the car working again”, says the mechanical engineer. “Well”, says the chemical engineer, “it sounded to me as if the fuel might be contaminated. I think we should clear out the fuel system.” “I thought it might be a grounding problem”, says the electrical engineer, “or maybe a faulty plug lead.” They all turn to the computer engineer who has said nothing and say: “Well, what do you think?” “Ummm perhaps if we all get out of the car and get back in again?”
sorry about being off topic, i just thought I could lighten the mood a little
lol, that was pretty cool. It is relevant though, since it is like turning off/on a device ;].
Reply With Quote
  #7   Spotlight this post!  
Unread 02-02-2010, 22:11
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: simple problem; can't build example projects

Quote:
Originally Posted by kennypu View Post
I see.. Thats what it says in the C getting started guide as well, but I swear I've done that before (shutting down windriver and restarting, then rebuilding). I guess I will try again.
Another thing that may help is to right-click the project then select Build Options->Clean Project in the context menu.
You shouldn't have to do any of this, but it is what it is.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
Reply With Quote
  #8   Spotlight this post!  
Unread 02-02-2010, 22:16
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: simple problem; can't build example projects

Quote:
Originally Posted by kennypu View Post
When I right-click and build
You know there's a Build Project and Rebuild Project in the context menu.
You should be using Rebuild.

Edit: Sorry, I didn't really catch that you typed "build" (as opposed to rebuild) when I read your first post.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
Reply With Quote
  #9   Spotlight this post!  
Unread 02-02-2010, 22:19
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
Re: simple problem; can't build example projects

Quote:
Originally Posted by gvarndell View Post
You know there's a Build Project and Rebuild Project in the context menu.
You should be using Rebuild.

Edit: Sorry, I didn't really catch that you typed "build" (as opposed to rebuild) when I read your first post.
hmm, my post didn't go.. anyways, yes I have tried cleaning then build, and rebuilding as well.
I will probably dedicate all of tomorrow to build other examples, and to get the joystick working
Reply With Quote
  #10   Spotlight this post!  
Unread 02-02-2010, 22:21
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: simple problem; can't build example projects

Quote:
Originally Posted by kennypu View Post
hmm, my post didn't go.. anyways, yes I have tried cleaning then build, and rebuilding as well.
I will probably dedicate all of tomorrow to build other examples, and to get the joystick working
If you want to zip up one of the problem projects and post the zip here, I'll take a look at it.
I have a way with these things once I can see actual files.
If not, have fun tomorrow.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
Reply With Quote
  #11   Spotlight this post!  
Unread 02-02-2010, 22:23
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
Re: simple problem; can't build example projects

Quote:
Originally Posted by gvarndell View Post
If you want to zip up one of the problem projects and post the zip here, I'll take a look at it.
I have a way with these things once I can see actual files.
If not, have fun tomorrow.
since I don't have access to the files right now, I will post it tomorrow and have fun tomorrow x]
Reply With Quote
  #12   Spotlight this post!  
Unread 02-02-2010, 22:47
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,112
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: simple problem; can't build example projects

Quote:
“Ummm perhaps if we all get out of the car and get back in again?”
"And be sure to close all the windows first."
Reply With Quote
  #13   Spotlight this post!  
Unread 03-02-2010, 15:04
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
Re: simple problem; can't build example projects

woow, fail on my part; looks like the computer engineer was right. I tried creating the project, closing windriver and restarting windriver, then building, and it worked. Thanks for the help guys . I will be posting another question though, but this one is solved. Thanks again.
Reply With Quote
  #14   Spotlight this post!  
Unread 03-02-2010, 21:21
tdidi tdidi is offline
Registered User
FRC #2619
 
Join Date: Jan 2010
Location: Midland, MI
Posts: 7
tdidi is an unknown quantity at this point
Re: simple problem; can't build example projects

curious, i've always just deleted the makefile and then build it again. I've found this forces Windriver to actually create everything it should.
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
simple build project error! Tds123 Programming 1 29-01-2010 16:51
Any students good with flash willing to undertake few simple projects for offseason? Ken Leung General Forum 1 16-10-2006 11:34
Post-Build Projects Mike General Forum 25 24-02-2005 20:08
Problem with Inventor's Projects jdiwnab Inventor 9 12-02-2005 10:21
Simple Autonomous Mode Example deltacoder1020 Programming 5 08-03-2004 20:22


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

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