Go to Post You can admire machines, but you don't really love them... This program has enabled me to make a difference that I believe is good for the future of humans on this planet. - MooreteP [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
  #16   Spotlight this post!  
Unread 03-02-2015, 23:07
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 116
King Nerd III is an unknown quantity at this point
Re: Eclipse is being a butt

Quote:
Originally Posted by Alan Anderson View Post
Do you mean they didn't actually "install" it on their computers, but just copied files from yours? I wouldn't be very confident in that working. You should always follow the directions in http://wpilib.screenstepslive.com/s/...eclipse-c-java when setting up a computer for C++ robot programming.
Well I don't see how it differs. Installing from the download is downloading a zipped file and then dragging the folder into program files. How in the world is copying that folder to a jumpdrive and then to another computer any different?
Reply With Quote
  #17   Spotlight this post!  
Unread 03-02-2015, 23:11
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 116
King Nerd III is an unknown quantity at this point
Re: Eclipse is being a butt

Quote:
Originally Posted by JohnSmooth42 View Post
I don't understand why people say Eclipse is so bad, windriver was literally Eclipse with stickers. Everyone keeps saying Visual Studio is so great, which I don't understand either. I think I'll just stick with emacs and gcc
Windriver still gives me nightmares and makes me weep with sadness over having to use it. Eclipse is better, but it's still unstable and has some major problems. Visual Studio on the other hand just works. If you haven't tried it, I suggest you do! Link: http://www.visualstudio.com/en-us/ne...munity-vs.aspx
Reply With Quote
  #18   Spotlight this post!  
Unread 03-02-2015, 23:25
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Eclipse is being a butt

Quote:
Originally Posted by King Nerd III View Post
Windriver still gives me nightmares and makes me weep with sadness over having to use it. Eclipse is better, but it's still unstable and has some major problems. Visual Studio on the other hand just works. If you haven't tried it, I suggest you do! Link: http://www.visualstudio.com/en-us/ne...munity-vs.aspx
Wind River is a company, not a product. The operating system is "VxWorks" and were are now using much the same compiler. Wind River's "Workbench" is a customized version of Eclipse. Now were are using Eclipse but also modified by FIRST with some plug-ins.

Neither Wind River, FIRST, Eclipse or FSF had anything to do with mangling your headers. Someone probably accidentally deleted the method name - happens to everyone now and then.

Visual Studio is not (though it can be painfully modified) by default for cross development. Using Eclipse under Linux for cross development is the choice for many professionals. Personally I would not touch Visual Studio with a ten foot pole - every other version is way too buggy and I don't write PC apps.
__________________
Fast, cheap or working - pick any two!
Reply With Quote
  #19   Spotlight this post!  
Unread 03-02-2015, 23:44
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 116
King Nerd III is an unknown quantity at this point
Re: Eclipse is being a butt

Quote:
Originally Posted by wireties View Post
Wind River is a company, not a product. The operating system is "VxWorks" and were are now using much the same compiler. Wind River's "Workbench" is a customized version of Eclipse. Now were are using Eclipse but also modified by FIRST with some plug-ins.

Neither Wind River, FIRST, Eclipse or FSF had anything to do with mangling your headers. Someone probably accidentally deleted the method name - happens to everyone now and then.

Visual Studio is not (though it can be painfully modified) by default for cross development. Using Eclipse under Linux for cross development is the choice for many professionals. Personally I would not touch Visual Studio with a ten foot pole - every other version is way too buggy and I don't write PC apps.
The very fact that eclipse doesn't clear out old errors and I have to manually delete them for my program to compile correctly raises many red flags for me. Visual Studio has worked perfectly for me, and I've never had as terrible of a problem as it throwing ghosts errors at me, like eclipse, for example the other day I had the line:
double speed = 0.5;
and got and error that said (not exact quote) "incompatible types, int to double"
My point is, Eclipse hasn't been stable at all for me, and I would rather have a tool I know works and trust (Visual Studio) than a tool that has not worked so far. I can't even import a project into a workspace, for crying out loud!
Reply With Quote
  #20   Spotlight this post!  
Unread 04-02-2015, 00:24
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: Eclipse is being a butt

Quote:
Originally Posted by King Nerd III View Post
Well I don't see how it differs. Installing from the download is downloading a zipped file and then dragging the folder into program files. How in the world is copying that folder to a jumpdrive and then to another computer any different?
Running the C++ Toolchains installer isn't the same thing as unzipping a file. If you didn't do that, it might explain a lot of the problems you've been encountering.
Reply With Quote
  #21   Spotlight this post!  
Unread 04-02-2015, 00:28
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 116
King Nerd III is an unknown quantity at this point
Re: Eclipse is being a butt

Quote:
Originally Posted by Alan Anderson View Post
Do you mean they didn't actually "install" it on their computers, but just copied files from yours? I wouldn't be very confident in that working. You should always follow the directions in http://wpilib.screenstepslive.com/s/...eclipse-c-java when setting up a computer for C++ robot programming.
Tool chain was still installed like the tutorial says. I just said I copied over eclipse, because you can't download it over the school wifi. I am pretty sure I know how to correctly install eclipse, from a jumpdrive, as I have done it many times because of the amount of times I have had to remove it and reinstall it... so I am pretty sure the errors were not caused by not downloading a new copy everytime.
Reply With Quote
  #22   Spotlight this post!  
Unread 04-02-2015, 01:05
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Eclipse is being a butt

Quote:
Originally Posted by King Nerd III View Post
The very fact that eclipse doesn't clear out old errors and I have to manually delete them for my program to compile correctly raises many red flags for me. Visual Studio has worked perfectly for me, and I've never had as terrible of a problem as it throwing ghosts errors at me, like eclipse, for example the other day I had the line:
double speed = 0.5;
and got and error that said (not exact quote) "incompatible types, int to double"
My point is, Eclipse hasn't been stable at all for me, and I would rather have a tool I know works and trust (Visual Studio) than a tool that has not worked so far. I can't even import a project into a workspace, for crying out loud!
The errors are coming from the compiler, not from Eclipse. Eclipse is just an application framework. With respect, I think you need to read the manuals and more carefully follow the install instructions or you are never going to finish. This environment and cross development in general is more complex than simple VS projects. FYI - I import projects into Eclipse and export projects out of Eclipse every day. Many of the things you say are simply not the case. Our team has had 5 different students install and use Eclipse without problems and I'm developing under Linux. I'm not an Eclipse lover (hate the editor) but it is working as advertised.
__________________
Fast, cheap or working - pick any two!

Last edited by wireties : 04-02-2015 at 01:06. Reason: spelling
Reply With Quote
  #23   Spotlight this post!  
Unread 04-02-2015, 09:49
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 116
King Nerd III is an unknown quantity at this point
Re: Eclipse is being a butt

Quote:
Originally Posted by wireties View Post
The errors are coming from the compiler, not from Eclipse. Eclipse is just an application framework. With respect, I think you need to read the manuals and more carefully follow the install instructions or you are never going to finish. This environment and cross development in general is more complex than simple VS projects. FYI - I import projects into Eclipse and export projects out of Eclipse every day. Many of the things you say are simply not the case. Our team has had 5 different students install and use Eclipse without problems and I'm developing under Linux. I'm not an Eclipse lover (hate the editor) but it is working as advertised.
When ever either my mentor, my under-propgrammers, or I try to import a project it'll say import done, but there is no project in the project explorer! It's annoying as we have to then create a new project and replace all the files in it with our project files.
Reply With Quote
  #24   Spotlight this post!  
Unread 08-02-2015, 19:04
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Eclipse is being a butt

Quote:
Originally Posted by King Nerd III View Post
When ever either my mentor, my under-propgrammers, or I try to import a project it'll say import done, but there is no project in the project explorer! It's annoying as we have to then create a new project and replace all the files in it with our project files.
Export the project as an general->archive and import as an general->archive. That seems to work best for us.
__________________
Fast, cheap or working - pick any two!
Reply With Quote
  #25   Spotlight this post!  
Unread 09-02-2015, 09:43
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 116
King Nerd III is an unknown quantity at this point
Re: Eclipse is being a butt

Quote:
Originally Posted by wireties View Post
Export the project as an general->archive and import as an general->archive. That seems to work best for us.
We'll try that. We're still having problems with Eclipse, so currently I've taken to writing everything in Visual Studio and then importing it into Eclipse to run on the robot. That's what's been working the best for us.
Reply With Quote
  #26   Spotlight this post!  
Unread 14-02-2015, 07:56
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Eclipse is being a butt

I've seen your posts in several forums and there is a definite (and worrisome) theme. You are having troubles that few others experience (as in zero) and coming up with solutions that don't make much sense whilst disregarding advice from some very sharp engineers. Perhaps it is time to be honest with yourself and your team and get some help from a local mentor. We have 4 students (2 new to FRC) and myself using Eclipse/C++ and a custom software design and are having no problems. I can see your team getting to your first competition and failing miserably when running wireless hooked up to the field. And then it is too late - be humble, get some help while you still can.
__________________
Fast, cheap or working - pick any two!
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 14:51.

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