View Full Version : C++ without using WindRiver?
cakeisajoke
02-09-2013, 17:46
Hello. Our robotics team has learned C++ recently. We would like to have our robot use C++ for next year. Our development computers are Mac, and I noticed that FIRST does not supply WindRiver for Mac. Is there a different (preferably free) IDE that we can use INSTEAD of WindRiver, or are the libraries only available in WindRiver?
Somebody has already found a way to compile C++ code for the cRIO with gcc here (http://www.chiefdelphi.com/forums/showthread.php?t=116921).
However, unless you are very familiar with this sort of thing, I'd recommend not using it. The problem is that if something goes wrong, and you don't know what it is, only a few people on Chief Delphi can help you. If it doesn't work while you're at competition, none of the FTA's can fix it for you. Using the gcc toolchain will take longer, and it will take a while to get used to. You'll need a computer that runs windows to image the cRIO and drive the robot, so why don't you put windriver on that?
cakeisajoke
02-09-2013, 18:30
Somebody has already found a way to compile C++ code for the cRIO with gcc here (http://www.chiefdelphi.com/forums/showthread.php?t=116921).
However, unless you are very familiar with this sort of thing, I'd recommend not using it. The problem is that if something goes wrong, and you don't know what it is, only a few people on Chief Delphi can help you. If it doesn't work while you're at competition, none of the FTA's can fix it for you. Using the gcc toolchain will take longer, and it will take a while to get used to. You'll need a computer that runs windows to image the cRIO and drive the robot, so why don't you put windriver on that?
The computer that we used to image our robot is our Classmate. Last year, we were programming in Java, and ran Netbeans on our Classmate. It was really slow, and we regret the decision of putting it on there. Over the summer, our school's technology class got Macs for programming our Arduinos (They could only get Windows 8, and Windows 8 doesn't work with the district's logon system, so they got Macs instead).
The project ucpp posted here: http://www.chiefdelphi.com/forums/showthread.php?t=110720 works with wine to run the compiler.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.