|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Error when building. powerpc-wrs-vxworks-g++ error
Code:
'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 Last edited by Herbie_3633 : 06-03-2015 at 19:55. Reason: Added more info |
|
#2
|
||||
|
||||
|
Re: Error when building. powerpc-wrs-vxworks-g++ error
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".
|
|
#3
|
|||||
|
|||||
|
Re: Error when building. powerpc-wrs-vxworks-g++ error
It's a common problem with linux shells - unquoted or escaped spaces separate different arguments. Just add some quotes to the first -I argument:
Quote:
|
|
#4
|
||||
|
||||
|
Re: Error when building. powerpc-wrs-vxworks-g++ error
I am having the same problem. so I added the quotes, but as soon as I build, it immediately gets overwritten. I am editing subdir.mk, am I editing it in the wrong place? I don't quite understand how eclipses compiler works.
Thanks EDIT: I think I fixed the problem, I set the settings to not re-recreate the makefile, and it compiles without errors now. Last edited by teslalab2 : 22-04-2015 at 14:16. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|