Go to Post So, FIRST is turning into the For the Inspiration of Science and Trains? That makes sense... Not a whole lot of re-branding will be needed.... - dqmot17 [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 01-11-2016, 10:49 PM
jtwilson jtwilson is offline
Registered User
FRC #1730 (Team Driven)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Lee's Summit MO
Posts: 3
jtwilson is an unknown quantity at this point
C++ Deploy not an option under "run as"

My team started installing the FRC 2016 updates to the driver station, toolchains, eclipse plugins etc. on our programming laptops and when we fired up eclipse, the C++ deploy function that is normally found under "run as" in eclipse (whether clicking the green arrow or right clicking the project folder) is simply not there. The only option is local application.

We can still create new Robot template projects and build them with the WPI library, so the plugins for eclipse are working.

We have tried uninstalling and re-installing both eclipse and the frc toolchains to no avail. We are running windows 7 and are connected to the robot via USB only with all wifi adapters off.

I have run out of ideas to fix this.

Has anyone seen a similar issue? Eclipse without a deploy function is about as useful as Microsoft Word with no save function.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-12-2016, 10:51 PM
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: C++ Deploy not an option under "run as"

This happened to us last year, so I don't remember the exact fix. Try playing with perspectives. In the upper right-hand corner of Eclipse, there is a button for "C/C++". Just to the left of it, is a button for "Open Perspective". Try switching to a different perspective and then back to C/C++. After switching back to C/C++, restart Eclipse.
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #3   Spotlight this post!  
Unread 01-13-2016, 12:52 AM
mhaeberli mhaeberli is offline
Registered User
FRC #3045
 
Join Date: Feb 2014
Location: Redwood City
Posts: 88
mhaeberli is on a distinguished road
Re: C++ Deploy not an option under "run as"

-What platform are you running on?
-We had this problem on a Macintosh-based platform when the wpilib settings weren't set correctly (or when they weren't persisted correctly) - a topic for another post.
Martin Haeberli
Mentor
FRC 3045, TigerBots
Reply With Quote
  #4   Spotlight this post!  
Unread 01-13-2016, 09:53 PM
jtwilson jtwilson is offline
Registered User
FRC #1730 (Team Driven)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Lee's Summit MO
Posts: 3
jtwilson is an unknown quantity at this point
Re: C++ Deploy not an option under "run as"

Quote:
Originally Posted by SuperBK View Post
This happened to us last year, so I don't remember the exact fix. Try playing with perspectives. In the upper right-hand corner of Eclipse, there is a button for "C/C++". Just to the left of it, is a button for "Open Perspective". Try switching to a different perspective and then back to C/C++. After switching back to C/C++, restart Eclipse.
This fixed it. Thanks!

We simply went under "window->perspectives->close all perspectives", then "window->perspectives->open perspective->other->C/C++", then restarted eclipse. Worked like a charm!

Last edited by jtwilson : 01-13-2016 at 09:59 PM.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-15-2016, 09:39 AM
mGeorgeXYZ mGeorgeXYZ is offline
Registered User
FRC #3397
 
Join Date: Jan 2016
Location: St Louis MO
Posts: 1
mGeorgeXYZ is an unknown quantity at this point
Re: C++ Deploy not an option under "run as"

I was experimenting with the java and C++ builds with the 2015 toolchain, and wanted to be able to switch between the two. After having C++ Deploy vanish several times and having to reinstall wpilib, and reading last year's thread on this topic, I found that I could preserve the C++ Deploy from disappearing (it seems to get wiped out when the java perspective is activated) by keeping a separate workspace for the my java and C++ projects. Then do File->Switch Workspace when you want to switch. I might have switched perspectives before switching workspace too, but not sure if that matters. Eclipse restarts but that's OK. Not sure if that is the only way; it worked for me.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-15-2016, 12:42 PM
Wyspar Wyspar is offline
Registered User
FRC #5132 (RoboClovers)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: żDe donde eres?
Posts: 20
Wyspar is an unknown quantity at this point
Re: C++ Deploy not an option under "run as"

I have this problem too with our eclipse with c++. It only shows it after i restart eclipse. I'll try these fixes.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-13-2016, 07:33 PM
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 152
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: C++ Deploy not an option under "run as"

It kinda sounds like the plugin isn't installed. There is a step in screensteps live wherein you use Help->Install Software and you paste in a URL and select the FRC Robot development

To check if it's installed at all (may still want to re-try installing it if you're having troubles), goto Help->Installation Details and see which items are listed. Mine has:
- C/C++ Development Tools SDK
- Eclipse IDE for C/C++ Developers
- Robot C++ Development

The Robot one is the plugin I'm thinking might be missing or mis-configured.

bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
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 09:13 AM.

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