![]() |
Re: New tool for C++ Programming for old cRIOs
i followed the steps that you provided and im still getting cc1plus.exe has stopped working and the error
mingw32-make: ***[src/robot.o] Error 1 if you have any ideas on how to fix this i would greatly appreciate it |
Re: New tool for C++ Programming for old cRIOs
Quote:
If you didn't try moving the workspace yet and re-creating the project files (make a new project entirely in the new workspace, then re-import your sources to it), I would strongly suggest trying that. If that does not work, can you provide more details about your computer system and eclipse version? |
Re: New tool for C++ Programming for old cRIOs
I moved the work space and it got rid of that error now there is a error with START_ROBOT_CLASS (SimpleRobotDemo); we noted it out and the 3 errors went away. All 3 are semantic errors for the same line.
|
Re: New tool for C++ Programming for old cRIOs
I have an Eclipse Luna with only Java support installed. So I added the C++ CDT via "Install New Software" from the luna cdt site. Then I installed the tool chain. Then I installed the Thunder cRio Tools. This all appeared to work correctly.
When I try to create a C++ project, under the shared library folder, there is no "FRC cRio Binary" option as described in the documentation. Also, the tool chain does not appear in the right hand window (at least not that I can identify...there are tool chains listed but no FRC specific name) if it is supposed to. |
Re: New tool for C++ Programming for old cRIOs
Quote:
|
Re: New tool for C++ Programming for old cRIOs
Yes, JDK 1.8 is installed. I found that if I look in Windows/Preferences/C++/New Project Wizard settings, I can see FRC cRio listed as a project type and the Thunder Rio tool chain is shown. I set this project type as the default.
However, when I try to create a new C++ project, the FRC cRio project type is not offered. I have reinstalled the tool chain, the plugin, the C++ CDT with no apparent problems but I still can't create a new C++ project as described by the documentation. |
Re: New tool for C++ Programming for old cRIOs
If you're not seeing the library configuration under shared libraries, than then Eclipse is not detecting the toolchain. There is a checkbox on that dialog which causes it to show all possible configurations. Check that and it should work.
|
Re: New tool for C++ Programming for old cRIOs
On luna, the box says "show project types and chains only if supported on the platform". If this box is checked, shared library does not show up. If I uncheck this box, shared library shows up, but the FRC cRIO Binary project and thunder toolchain do not show as options.
Again, I see FRC cRIO Binary and toolchain in the preferences settings for New C++ Project Wizard. Since I started with Java only Eclipse, and added the CDT afterwards, I only installed the basic CDT components. Maybe there is something on the optional CDT components list that I need to make this work...?... |
Re: New tool for C++ Programming for old cRIOs
Good news. I found the problem. When I added the C++ CDT to my existing Eclipse Java setup, I forgot to install the FRC C++ tools plug in. Thought I had done that but turns out not. All seems to be working for now.
|
Re: New tool for C++ Programming for old cRIOs
Oddly enough, this plugin worked fine for me without the FRC C++ plugin installed. I do have the Java one though.
I had a different problem, though. At first, I had issues with make, but I set it to use the internal builder by default, and it worked fine. Moreover, the commands that it tried to run as a post-build step (the ones that make, build, and link the constructors and destructors file) failed on the first step. It seems like eclipse was not honoring the pipe characters. I suspect that there may have been an issue with me having Git's included posix tools in my path, but thought that I tried removing them and it still failed. Then, I noticed that Eclipse seemed to be putting backslashes in front of every double quote. So, I tried executing the commands one-by-one in cmd, removing the backslashes, and they worked fine. I then moved them into a batch file, and they kept working fine. I then set it so that eclipse executed the batch file as a post-build step. The batch file is here. Did anyone else have this problem? |
Re: New tool for C++ Programming for old cRIOs
Quote:
In either event, I'm glad you got it working. For anyone reading the thread and planning to install Thunder cRIO tools, please be sure you are using the CDT-capable eclipse in the first place as described on the installation Wiki page. It will save you a lot of time and frustration. |
Re: New tool for C++ Programming for old cRIOs
Quote:
Quote:
If you can elaborate on the problem with the Thunder cRIO Tools builder I can look into it. |
Re: New tool for C++ Programming for old cRIOs
Quote:
|
Re: New tool for C++ Programming for old cRIOs
Quote:
They stem from the way the project is built up where Eclipse's build system tries (too) early to build the project, before the project has been fully configured internally with the toolset (which never invokes g++/gcc by those names). The error is recorded and never cleared. The toolset does attempt to clear out those errors and force an initial build when the project has completed all configuration though and in all my tests this works here (you'll see the error briefly upon creation of a new project, then it will go away as soon as the rebuild is done, about 20 seconds later on my personal and all our school machines). You should be able to select those errors in the list, right click, and delete them and they should not reappear. Also whilst I am here - we have not forgotten about the "space in workspace path" problem noted earlier in the thread. Just have not had time yet to address it. |
Re: New tool for C++ Programming for old cRIOs
My team and I were trying to use this today and when we went to download the code to the robot it said binary files not found any suggestions?
|
| All times are GMT -5. The time now is 12:18. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi