Go to Post 71, sponsored by Beatty, was breaking the box apart--not just thinking outside it. - Kevin Ray [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 06-02-2011, 17:50
Deflect Deflect is offline
Registered User
AKA: Michael Lee
FRC #2976 (Spartabots)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Sammamish
Posts: 2
Deflect is an unknown quantity at this point
Using Windriver to compile a normal program?

I'm somewhat rusty in C++, and want to test the flow of logic in some parts of my code. Is it possible to use Windriver to create a normal c++ program that I can test without a robot?
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2011, 03:33
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Using Windriver to compile a normal program?

Quote:
Originally Posted by Deflect View Post
I'm somewhat rusty in C++, and want to test the flow of logic in some parts of my code. Is it possible to use Windriver to create a normal c++ program that I can test without a robot?
No. You should use something like DJGPP on Windows or gcc if you have a Linux machine.

-Joe
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2011, 09:29
davidalln's Avatar
davidalln davidalln is offline
World's Worst Coder
AKA: David Allen
FRC #2415 (The Westminster Wiredcats)
Team Role: Programmer
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Atlanta, GA
Posts: 108
davidalln is on a distinguished road
Send a message via AIM to davidalln
Re: Using Windriver to compile a normal program?

Quote:
Originally Posted by jhersh View Post
No. You should use something like DJGPP on Windows or gcc if you have a Linux machine.

-Joe
Or, if you're rusty in C++ and want a full IDE to practice, try Code::Blocks or Dev C++. They are very simple to work with.

(both of these programs by default use gcc as a compiler I believe, but they provide a much friendlier interface)
__________________
SANTOSH ANDREW DECKER RICK WYNNIE SEAN DEREK MATT
(alamo (semis), p'tree (CHAMPS!), nc (CHAMPS!), newton (quarters))


Best four years of my life. Thanks to everyone who made it happen.

Last edited by davidalln : 08-02-2011 at 09:32.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2011, 09:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,098
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Using Windriver to compile a normal program?

Quote:
Originally Posted by jhersh View Post
You should use something like DJGPP on Windows
OpenWatcom

Borland C++ 5.5

MS Visual Studio 2010 Express

Cygwin


all free


Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2011, 14:43
Deflect Deflect is offline
Registered User
AKA: Michael Lee
FRC #2976 (Spartabots)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Sammamish
Posts: 2
Deflect is an unknown quantity at this point
Re: Using Windriver to compile a normal program?

Aw, it kind of sucks that Windriver isn't multipurpose, but then again, that's not really what it was designed for, I suppose.

Thanks for the suggestions - I'll try them out.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2011, 14:25
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Using Windriver to compile a normal program?

Quote:
Originally Posted by Ether View Post
^ /basicxman approves of this message.

I prefer a Linux development environment, so an alternative option might be running a VM.
Reply With Quote
  #7   Spotlight this post!  
Unread 12-02-2011, 20:31
PatrickS's Avatar
PatrickS PatrickS is offline
I get my code from /dev/null
FRC #1742 (Shockwave)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Oklahoma City
Posts: 21
PatrickS is an unknown quantity at this point
Re: Using Windriver to compile a normal program?

Quote:
Originally Posted by basicxman View Post
^ /basicxman approves of this message.

I prefer a Linux development environment, so an alternative option might be running a VM.
I find developing on Linux much easier. Got to love gcc and Vim
Reply With Quote
  #8   Spotlight this post!  
Unread 12-02-2011, 22:42
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Using Windriver to compile a normal program?

Quote:
Originally Posted by PatrickS View Post
I find developing on Linux much easier. Got to love gcc and Vim
Vimmmmmmmmmmmmmmmmmmmmmmmm. <geeks-out>
Reply With Quote
  #9   Spotlight this post!  
Unread 12-02-2011, 22:54
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 83
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: Using Windriver to compile a normal program?

Vim?

Said in my best Homer Simpson "donut" impression:
emacs <ahhhhhhhh>

Let the flame wares begin.
__________________
Michael Andrews
Team #281 Programming Mentor
Reply With Quote
  #10   Spotlight this post!  
Unread 12-02-2011, 22:54
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Using Windriver to compile a normal program?

Quote:
Originally Posted by mandrews281 View Post
Vim?

Said in my best Homer Simpson "donut" impression:
emacs <ahhhhhhhh>

Let the flame wares begin.
Somebody needs to close this thread right now.
Reply With Quote
  #11   Spotlight this post!  
Unread 13-02-2011, 17:56
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Using Windriver to compile a normal program?

OP: You can if you mess around with the makefile

mandrews281 and basicxman: Why use those when you have nano, gedit, and the butterfly?
Reply With Quote
  #12   Spotlight this post!  
Unread 13-02-2011, 23:10
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Using Windriver to compile a normal program?

Quote:
Originally Posted by Robototes2412 View Post
mandrews281 and basicxman: Why use those when you have nano, gedit, and the butterfly?
You're kidding right? D:
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:08.

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