I was recently trying to get throttle code working for our robot and I was using the simple template, even without making any changes to the code It comes up with a build error without any location
the error reads
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [SimpleTemplate_partialImage/Debug/Objects/SimpleTemplate/MyRobot.o] Error 127
Build Failed in Project ‘SimpleTemplate’ (Process Exit Value was 2): 2010-01-23 13:28:58 (Elapsed Time: 00:00)
*note, the error comes up no matter what changes i do or do not make
A wild guess here.
Try closing and then reopening the project in Workbench.
After reopening, make sure you rebuild (not build) the project.
when i try to hit re-build, the selection is grayed out as well as all the other choices in that sub menu
Seems as though your project is hosed – or maybe your whole installation.
Have you been able to build any projects?
If so, can you create the project again (give it a different name)?
Nope, that means you have automatically build selected.
I had to ponder this a while just to get to the point where I think I understand what you’re saying.
You’re saying there’s an option somewhere which if selected means you can’t build or rebuild a project other than automatically?
If that’s correct, where is this option and what does one do to cause an automatic build of the project?
I know Workbench fairly well, don’t claim to know everything about it though, and I’d like to understand your reply.
When you save it builds.
look on page 9 of http://first.wpi.edu/Images/CMS/First/GettingStartedWithC.pdf
but disable it instead
I have to admit, I never knew that preference existed.
I can see where it might be useful to some folks.
In practice, I think one rarely wants the project to be built every time one saves a file – unless it’s a one source file project.
Nonetheless, useful feature or not, enabling it does not render me unable to rebuild projects by right-clicking the project and selecting rebuild-- I just tried it.