![]() |
Build Error
Been a while since I used C++. I searched the threads with you search option and didn't find any similar errors. Can someone please tell me in plain English what
"Couldn't locate build tool. Check tool locations. BUILD FAILED: Sat Jan 22 11:47:46 2005" means. Then tell me how to fix it, cause I have no idea what I'm doing. |
Re: Build Error
Have you installed the compiler? Remember that you need both the compiler and the IDE to compile your code. If you have, go to Project->Build->Project in the menu bar of the IDE, and make sure that all the paths are correct.
|
Re: Build Error
Re-installed everything in correct order (according to other team members) and am now getting new errors, any updates to the code I should know about, I'll copy the entire message:
"Clean: Deleting intermediary and output files. Clean: Deleted file "H:\C Programming\EDU_Default_02-16-04\EduCode\ifi_utilities.o". Clean: Deleted file "H:\C Programming\EDU_Default_02-16-04\EduCode\main.o". Clean: Deleted file "H:\C Programming\EDU_Default_02-16-04\EduCode\printf_lib.o". Clean: Deleted file "H:\C Programming\EDU_Default_02-16-04\EduCode\ifi_startup.o". Clean: Deleted file "H:\C Programming\EDU_Default_02-16-04\EduCode\user_routines_fast.o". Clean: Done. Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_utilities.c" -fo="ifi_utilities.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "printf_lib.c" -fo="printf_lib.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- File 'printf_lib.o' could not write COFF symbol table. Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "ifi_startup.c" -fo="ifi_startup.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines_fast.c" -fo="user_routines_fast.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_routines.c" -fo="user_routines.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- H:\C Programming\EDU_Default_02-16-04\EduCode\ifi_picdefs.h:1083:Error: syntax error Halting build on first failure as requested. BUILD FAILED: Sat Jan 22 13:27:28 2005" Fun, fun, fun. I wish I understood what it was trying to tell me. |
Re: Build Error
Well that last message it gave you I think means that there was a syntax error in your program on line 1083 of ifi_picdefs.h. It looks like you are trying to write code for the edubot which I have never done, so thats about all I can tell you.
|
Re: Build Error
Quote:
|
Re: Build Error
Quote:
|
Re: Build Error
Got new code, the default runs fine, now I get to kill it. Thanks everyone.
|
Re: Build Error
I have a little doubt...
I can't compile cause the linker don't find the <stdio.h> (1) :ahh: and if I get a <stdio.h> from a common compiler, the linker asks for more two files *.h (2)... and even if I get this two files, then the compiler says that there's a syntax error (3) on the line 174 of <stdio.h> (4)... anyone knows what i could do? screens: (1) Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\main.o" is out of date. Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066 Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.o" is out of date. Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_SerialDrv.c" -fo="user_SerialDrv.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066 R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.c:30: unable to locate 'stdio.h' error 1 spawning c:\mcc18\bin\cpp18 Halting build on first failure as requested. BUILD FAILED: Tue Jan 25 08:51:30 2005 (2) Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\main.o" is out of date. Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "main.c" -fo="main.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066 Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.o" is out of date. Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_SerialDrv.c" -fo="user_SerialDrv.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066 C:\mcc18\h\stdio.h:13: unable to locate '_defs.h' C:\mcc18\h\stdio.h:17: unable to locate '_nfile.h' error 1 spawning c:\mcc18\bin\cpp18 Halting build on first failure as requested. BUILD FAILED: Tue Jan 25 09:13:02 2005 (3) Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\main.o" is up to date. Make: The target "R:\FIRST 2005\Programação\2005 code\frc-code-1-12-2005v2.4\FrcCode2005v2.4\user_SerialDrv.o" is out of date. Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_SerialDrv.c" -fo="user_SerialDrv.o" /i"C:\mcc18\h" -D_FRC_BOARD -D_USE_CMU_CAMERA -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066 C:\mcc18\h\stdio.h:174:Error: syntax error Halting build on first failure as requested. BUILD FAILED: Tue Jan 25 09:13:52 2005 (4) this is the line 174 from <stdio.h> char _FAR *_Cdecl _FARFUNC strerror(int __errnum); |
Re: Build Error
Quote:
|
Re: Build Error
Capenga, you are storing your code in a path that is longer then the 60 something characters that the compiler allows. You need to move it to a shorter path, such as: R:\FrcCode2005v2.4
You also need to revert whatever you did to stdio.h, like jgannon said. |
Re: Build Error
Quote:
|
Re: Build Error
I recieved this error message when building...I didn't want to create another thread, so I'm posting it here...
Code:
Error - could not find definition of symbol 'getLeftEncoder' in file 'C:\...Robotics\CODE\00_code4\user_routines_fast.o'. |
Re: Build Error
Quote:
|
Re: Build Error
We got it figured out, Thanks.
|
| All times are GMT -5. The time now is 02:48. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi