Error when building. powerpc-wrs-vxworks-g++ error

'Invoking: Thunder cRIO Tools C++ Compiler'
powerpc-wrs-vxworks-g++ -DCPU=PPC603 -DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -IC:\Users\My Dell\Desktop\Eclipse Projects\2015 practice robot\include -I"C:\Program Files (x86)\FRC_Toolchain\mingw\powerpc-wrs-vxworks\wind_base\/../include/WPILib" -O0 -g3 -Wall -c -fmessage-length=0 -mcpu=603 -mstrict-align -mlongcall -MMD -MP -MF"src/robot.d" -MT"src/robot.d" -o "src/robot.o" "../src/robot.cpp"
powerpc-wrs-vxworks-g++: error: Dell\Desktop\Eclipse: No such file or directory
powerpc-wrs-vxworks-g++: error: Projects\2015: No such file or directory
powerpc-wrs-vxworks-g++: error: practice: No such file or directory
powerpc-wrs-vxworks-g++: error: robot\include: No such file or directory
mingw32-make: *** [src/robot.o] Error 1

This is the error message I get when building. Dell\Desktop\Eclipse I think is referring to the place where I originally installed eclipse but I have moved it to program files. Thunder CRio tools is the name of the plugin I am trying to build the project with. I am able to build a project as a WPILIB deploy. I have also tried re-installing the toolchains.

You need quotes around the argument to -I like the one provided by the FRC plugins. For example, -IC:\Users\My Dell\Desktop\Eclipse Projects\2015 practice robot\include should be -I"C:\Users\My Dell\Desktop\Eclipse Projects\2015 practice robot\include".

It’s a common problem with linux shells - unquoted or escaped spaces separate different arguments. Just add some quotes to the first -I argument:

You’ll probably have to make this change in your include arguments in Eclipse.

I am having the same problem. so I added the quotes, but as soon as I build, it immediately gets overwritten. I am editing, am I editing it in the wrong place? I don’t quite understand how eclipses compiler works.


EDIT: I think I fixed the problem, I set the settings to not re-recreate the makefile, and it compiles without errors now.