Go to Post (The wheels) need to be green anodized, and then assembled with yellow anodized spinners. ... and then, on the spinners, you can etch "JVN is a dweeb". That would be cool. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-10-2006, 23:58
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 98
duane is an unknown quantity at this point
Send a message via AIM to duane
Question Eclipse Plugin Maintaineer?

Is there anyone still maintaining the Eclipse plugin for the mcc compiler?

I've tried installing it on several versions of Eclipse newer than the one specified in the documentation for the plugin, and it mcc still doesn't show up in the project list.

It would be nice to have the plugin updated for the latest Eclipse.

Is the plugin rev locked? That would be a drag.

...Duane
  #2   Spotlight this post!  
Unread 09-10-2006, 20:21
prograid's Avatar
prograid prograid is offline
Registered User
AKA: Ben Cherian
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2004
Location: San Jose
Posts: 80
prograid will become famous soon enough
Re: Eclipse Plugin Maintaineer?

Quote:
Originally Posted by duane
Is there anyone still maintaining the Eclipse plugin for the mcc compiler?

I've tried installing it on several versions of Eclipse newer than the one specified in the documentation for the plugin, and it mcc still doesn't show up in the project list.

It would be nice to have the plugin updated for the latest Eclipse.

Is the plugin rev locked? That would be a drag.

...Duane
Hey, thanks for letting me know.
That's odd. I haven't actually tried it with eclipse 3.2 and cdt 3.1, but there is no reason it shouldn't work. I'll look into it. I'm sure it works with eclipse 3.1 and cdt 3.0. If you're trying to use the cvs CDT (i.e, cdt 4) it most probably won't work, because it has a new project model.
I haven't had much time to work on the plug-in as of late.

Thanks for letting me know though.

Sorry to take this a little off topic, but do you are anyone else who uses eclipse think that adding a slightly improved editor would be nice. For example, rom would highlighted as a keyword, etc.
  #3   Spotlight this post!  
Unread 24-10-2006, 11:17
WizardOfAz's Avatar
WizardOfAz WizardOfAz is offline
Lead Mentor
AKA: Bill Bennett
FRC #1011 (CRUSH)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Tucson, AZ
Posts: 101
WizardOfAz will become famous soon enough
Send a message via AIM to WizardOfAz
Re: Eclipse Plugin Maintaineer?

Hi Ben
I've been silently hoping the eclipse threads would wake up again, glad to see some activity. I should have posted myself. But I want you to know the eclipse support is highly valued, at least by our team.

However, we have not been able to make it work properly since the changes were made for 2006 FRC. What you did is very attractive - the ability to simply switch among multiple compile targets. We have some code which can run on any of the RCs since 2004, and being able to build for any target is really useful.

So - if you or somebody is willing to pull together a start-to-finish instruction for setting up with eclipse, including access to the newest plugin, I'd like to try to get set up again. For the moment, we're back on MPLAB, and don't like it very much.

Thanks
Bill
  #4   Spotlight this post!  
Unread 24-10-2006, 12:44
prograid's Avatar
prograid prograid is offline
Registered User
AKA: Ben Cherian
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2004
Location: San Jose
Posts: 80
prograid will become famous soon enough
Re: Eclipse Plugin Maintaineer?

Quote:
Originally Posted by WizardOfAz
However, we have not been able to make it work properly since the changes were made for 2006 FRC. What you did is very attractive - the ability to simply switch among multiple compile targets. We have some code which can run on any of the RCs since 2004, and being able to build for any target is really useful.
Hi,

Before, I get to work writing a guide which would be completely useless to you, what sort of problems are you having. Are you not able to build two different hex files, or do the hex files, when loaded onto the robot controller not work?

Theoretically, what is supposed to happen is that when you have selected the "FRC Robot- 2006" configuration, there should be a folder in your project called "FRC Robot- 2006" (or something like that) with all the output of compilation for the 2006 . If you select the "FRC Robot- pre-2006" configuration, there should be a folder called "FRC Robot- pre-2006" with all the appropriate compiler output for the 2005 RC in there.
  #5   Spotlight this post!  
Unread 24-10-2006, 14:04
WizardOfAz's Avatar
WizardOfAz WizardOfAz is offline
Lead Mentor
AKA: Bill Bennett
FRC #1011 (CRUSH)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Tucson, AZ
Posts: 101
WizardOfAz will become famous soon enough
Send a message via AIM to WizardOfAz
Re: Eclipse Plugin Maintaineer?

Short answer is "can't build". Can you point me to, or send me a copy of, the most current plugin? Then I'll set up the environment from scratch and detail the steps and problems in another post for your comment.

Thanks
Bill

Quote:
Originally Posted by prograid
Hi,

Before, I get to work writing a guide which would be completely useless to you, what sort of problems are you having. Are you not able to build two different hex files, or do the hex files, when loaded onto the robot controller not work?

Theoretically, what is supposed to happen is that when you have selected the "FRC Robot- 2006" configuration, there should be a folder in your project called "FRC Robot- 2006" (or something like that) with all the output of compilation for the 2006 . If you select the "FRC Robot- pre-2006" configuration, there should be a folder called "FRC Robot- pre-2006" with all the appropriate compiler output for the 2005 RC in there.
  #6   Spotlight this post!  
Unread 24-10-2006, 16:22
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Eclipse Plugin Maintaineer?

I'm going to answer a lot of questions in one go.

1. 2006 compatible: I took prograid's plugin, added a lot more features to it, and used it for our team. The mod is in Subversion online, but you need a login to read it. (I'll go fix that some time.)

2. PIC C editor: I tried this at one point, but it is a much harder problem. This is partly because the toolchain only required XML, while the editor requires real Java code. The main problem is that the CDT provides no way to modify the language. This was compounded by the fact that it doesn't really have facilities to differentiate between dialects. (I've heard that newer versions of the CDT will help with this...)

Also included in this project was an error parser for the MCC18 output. Much, much simpler. (Except for Eclipse problems, it might be done.)

If interested, I'll make sure to post these publicly.
  #7   Spotlight this post!  
Unread 24-10-2006, 18:12
chris31 chris31 is offline
Team 2021 Captain
AKA: Chris Davidson
FRC #2021 (FA Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2006
Location: Atlanta, GA/ Fredericksburg,VA
Posts: 949
chris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond repute
Send a message via AIM to chris31
Re: Eclipse Plugin Maintaineer?

Quote:
Originally Posted by Astronouth7303
I'm going to answer a lot of questions in one go.

1. 2006 compatible: I took prograid's plugin, added a lot more features to it, and used it for our team. The mod is in Subversion online, but you need a login to read it. (I'll go fix that some time.)

2. PIC C editor: I tried this at one point, but it is a much harder problem. This is partly because the toolchain only required XML, while the editor requires real Java code. The main problem is that the CDT provides no way to modify the language. This was compounded by the fact that it doesn't really have facilities to differentiate between dialects. (I've heard that newer versions of the CDT will help with this...)

Also included in this project was an error parser for the MCC18 output. Much, much simpler. (Except for Eclipse problems, it might be done.)

If interested, I'll make sure to post these publicly.
Im interested, whenever you have time.

Fedora Core 6 released today. w00t.
  #8   Spotlight this post!  
Unread 24-10-2006, 19:15
WizardOfAz's Avatar
WizardOfAz WizardOfAz is offline
Lead Mentor
AKA: Bill Bennett
FRC #1011 (CRUSH)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Tucson, AZ
Posts: 101
WizardOfAz will become famous soon enough
Send a message via AIM to WizardOfAz
Re: Eclipse Plugin Maintaineer?

Yes, please, post whatever you're willing to post.

We used eclipse exclusively in 04-05 season, but have never got it under control again since the new plugin and the dual processor capability. I would really like to get tooled up for development in eclipse again this year before competition time sneaks up.

Thanks
Bill

Quote:
Originally Posted by Astronouth7303
I'm going to answer a lot of questions in one go.

1. 2006 compatible: I took prograid's plugin, added a lot more features to it, and used it for our team. The mod is in Subversion online, but you need a login to read it. (I'll go fix that some time.)

2. PIC C editor: I tried this at one point, but it is a much harder problem. This is partly because the toolchain only required XML, while the editor requires real Java code. The main problem is that the CDT provides no way to modify the language. This was compounded by the fact that it doesn't really have facilities to differentiate between dialects. (I've heard that newer versions of the CDT will help with this...)

Also included in this project was an error parser for the MCC18 output. Much, much simpler. (Except for Eclipse problems, it might be done.)

If interested, I'll make sure to post these publicly.
  #9   Spotlight this post!  
Unread 24-10-2006, 22:03
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 471
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: Eclipse Plugin Maintaineer?

Quote:
Originally Posted by Astronouth7303
1. 2006 compatible: I took prograid's plugin, added a lot more features to it, and used it for our team. The mod is in Subversion online, but you need a login to read it. (I'll go fix that some time.)
Please count me in on the list of people that are interested in seeing the above!

Quote:
Originally Posted by Astronouth7303
Also included in this project was an error parser for the MCC18 output. Much, much simpler. (Except for Eclipse problems, it might be done.)
I'm also very interested in the error parser. Coincidentally, I've been working on getting our Eclipse environment to be more "turnkey" while putting our code into Subversion. Just today I've been having troubles with two completely clean installations of Eclipse for FIRST builds. Both installations have resulted in the error parser not displaying any of the mcc18 error output in the "Problems" tab. Without the error parser working, one of the biggest benefits of Eclipse is unusable.

I am using the following configuration:
Eclipse 3.2.1
CDT 3.1.1
C18 Tools 2.0.1 (from prograid / Team 254 site)
Subclipse 1.0.3

Any suggestions on getting the error parser to work would be greatly appreciated!

--ken
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
  #10   Spotlight this post!  
Unread 24-10-2006, 22:17
prograid's Avatar
prograid prograid is offline
Registered User
AKA: Ben Cherian
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2004
Location: San Jose
Posts: 80
prograid will become famous soon enough
Re: Eclipse Plugin Maintaineer?

Wow, lots of replies in one day!

I would like to see the changes Astronouth7303 has made as well. Are they just changing the builder to Cygwin/MSYS make and removing the unnecessary error parsers, e.g. GLD, etc.

As for your problem with the error parser, go to the project properties for your project and select C/C++ Build, then look through the tabs until you see the one with a list of error parsers. Make sure that the one with GCCError in the name is checked. If you want to be safe, just check all of them. By the way, I'd suggest using the development branch of Subclipse, which is supposed to be better integrate with eclipse 3.2.

As for the PIC C editor, what I planned on doing was actually distributing the entire CDT with a modified C source editor, which would add the appropriate keywords. I just haven't had the time to look through the source.

An MCC error parser would be nice, since MPLINK errors currently don't show up in problems. However, compiler errors seem fine for me currently when using the GCC error parser.

I'll try to put an updated version in the update site this week along with some instructions.

I'll change it to use MSYS/Cygwin rather that mingw32-make. If this would cause problems for any of you, let me know.

Last edited by prograid : 24-10-2006 at 22:21. Reason: forgot something...
  #11   Spotlight this post!  
Unread 24-10-2006, 23:19
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 471
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: Eclipse Plugin Maintaineer?

Quote:
Originally Posted by prograid
... changing the builder to Cygwin/MSYS make ...
I'll change it to use MSYS/Cygwin rather that mingw32-make. If this would cause problems for any of you, let me know.
Personally, I'd prefer to stick with mingw32-make as that can be used with the installation of only the one application; I'd rather not have to install all of cygwin if possible.

Quote:
As for your problem with the error parser, go to the project properties for your project and select C/C++ Build, then look through the tabs until you see the one with a list of error parsers. Make sure that the one with GCCError in the name is checked. ...
I've tried that but haven't yet met with success. I'll try making a new project from scratch with mcc18 to see if a "Hello World" program works okay; another programmer on our team reported seeing the parser problems previously when importing old code into a new project. I'm hoping that starting from scratch may fix it...

--ken
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
  #12   Spotlight this post!  
Unread 25-10-2006, 10:59
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 471
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: Eclipse Plugin Maintaineer?

Quote:
Originally Posted by prograid
As for your problem with the error parser, go to the project properties for your project and select C/C++ Build, then look through the tabs until you see the one with a list of error parsers. Make sure that the one with GCCError in the name is checked. If you want to be safe, just check all of them.
Quote:
Originally Posted by Ken Streeter
I've tried that but haven't yet met with success. I'll try making a new project from scratch with mcc18 to see if a "Hello World" program works okay; another programmer on our team reported seeing the parser problems previously when importing old code into a new project. I'm hoping that starting from scratch may fix it...
I tried tweaking the error parsers settings within the IDE to lots of different configurations (all set, only C/C++ set, only make and C/C++ set, etc.) in attempts to get the error / warning message parsing to function. None of my attempts work. The only errors that show up are the "make" errors -- none of the line-specific errors show up in the "Problems" tab. I tried this both with our working Robot code and also with a "Hello World" program and had the same results in both cases. I was trying this with the newest compilation toolset I could find:
  • Eclipse 3.2.1
  • CDT 3.1.1
  • MCC18 2.0.1 (from Team 254)
Since I had not been seeing this problem before doing toolset upgrades, I decided to try an older toolset. An older toolset works just fine! Here is the toolset that worked for me:
  • Eclipse 3.1.2
  • CDT 3.0.2
  • MCC18 1.2.0 (from Team 254)
I tried determining which of the above changes was responsible for my problem, but haven't had time to try all of the combinations. I speculate that the problem may actually be due to an interplay between different pieces of the toolset, rather than being caused solely by one of the new components.

If anybody has been able to get error message parsing working correctly with the newer toolset I list above, I'd be glad to hear about it! At this point, however, I think our team is likely to proceed for our fall term software training with the above toolset that we have working, since we are likely to need to upgrade for the build season anyway.

--ken
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
  #13   Spotlight this post!  
Unread 26-10-2006, 16:16
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Eclipse Plugin Maintaineer?

It almost sounds like we need a SourceForge project for this, or something...

As for the update to the CDT, I think we may be able to maintain a "patch" (technical term) for it.

When I make the page, the plugins will be at http://www.astro73.com/eclipse/.

As a note, I have been developing on Eclipse 3.1.

Quote:
Originally Posted by Ken Streeter
Personally, I'd prefer to stick with mingw32-make as that can be used with the installation of only the one application; I'd rather not have to install all of cygwin if possible.
The problem is that MinGW turns flags like "/d" into "d:\". I believe a win32-native version of GNU Make will surfice, though. (eg, http://unxutils.sourceforge.net/)
  #14   Spotlight this post!  
Unread 27-10-2006, 18:00
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Eclipse Plugin Maintaineer?

Ok, the plugin projects in their current state are online. Again, it's http://www.astro73.com/eclipse/.
  #15   Spotlight this post!  
Unread 29-10-2006, 16:11
WizardOfAz's Avatar
WizardOfAz WizardOfAz is offline
Lead Mentor
AKA: Bill Bennett
FRC #1011 (CRUSH)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Tucson, AZ
Posts: 101
WizardOfAz will become famous soon enough
Send a message via AIM to WizardOfAz
Re: Eclipse Plugin Maintaineer?

Quote:
Originally Posted by Astronouth7303
Ok, the plugin projects in their current state are online. Again, it's http://www.astro73.com/eclipse/.
Thanks. I have a working eclipse environment again. I followed the setup guidelines from the white paper, with these additions/changes/notes:
- eclipse 3.2.1
- CDT from http://download.eclipse.org/tools/cdt/releases/callisto
- unzipped the zip from your link above to eclipse/plugins instead of using jar from white paper
- changed make command in properties/build settings to mingw32-make
- set windows system MCC_INCLUDE environment var to c:\mcc18\h
- set library search path in properties/tool setting/mplink/linker infomation to c:\mcc18\lib (how about a MCC_LIB env var for this?)

I did not figure out how to make mingw32-make the make command in some way global to all projects. It would be convenient to do this.

Thanks for this tool. It's good to be back on eclipse.
Closed Thread


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
using eclipse dasRatsel Programming 82 02-01-2006 13:20
Eclipse with CDT Nis Programming 2 15-06-2005 09:31
Lego 3dsmax plugin? Ian Curtis 3D Animation and Competition 4 03-04-2005 18:59
Text Plugin for Inventor 5 sanddrag Inventor 1 20-01-2004 22:11
inventor plugin Lev 3D Animation and Competition 0 05-01-2003 22:53


All times are GMT -5. The time now is 06:19.

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