Log in

View Full Version : Error in Simple Template


xionphoenix
23-01-2010, 13:29
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)

Location Unknown:confused:
*note, the error comes up no matter what changes i do or do not make
please help
thx
:D

gvarndell
23-01-2010, 13:36
A wild guess here.
Try closing and then reopening the project in Workbench.
After reopening, make sure you rebuild (not build) the project.

xionphoenix
23-01-2010, 13:41
when i try to hit re-build, the selection is grayed out as well as all the other choices in that sub menu

gvarndell
23-01-2010, 13:45
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)?

byteit101
27-01-2010, 15:18
Seems as though your project is hosed -- or maybe your whole installation.

Nope, that means you have automatically build selected.

gvarndell
27-01-2010, 16:38
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.

byteit101
27-01-2010, 18:48
When you save it builds.
look on page 9 of http://first.wpi.edu/Images/CMS/First/GettingStartedWithC.pdf
but disable it instead

gvarndell
27-01-2010, 19:21
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.