Compile Problem

e135193 wrote on Wednesday, February 18, 2009:

I have a problem with compiling PIC18 demo files. Could anyone can help me ? 

----------------------------------------------------------------------
Release build of project `G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Demo\PIC18_MPLAB\rtosdemo1.mcp’ started.
Wed Feb 18 14:59:47 2009
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Source\tasks.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Source\queue.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Source\list.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Source\portable\MPLAB\PIC18F\port.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Demo\Common\Minimal\PollQ.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Demo\PIC18_MPLAB\main1.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Demo\PIC18_MPLAB\ParTest\ParTest.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Demo\PIC18_MPLAB\serial\serial.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Demo\Common\Minimal\integer.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Source\portable\MemMang\heap_1.o”.
Clean: Deleted file “G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Demo\PIC18_MPLAB\rtosdemo1.mcs”.
Clean: Done.
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “tasks.c” -fo=“tasks.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “queue.c” -fo=“queue.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “list.c” -fo=“list.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “port.c” -fo=“port.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “PollQ.c” -fo=“PollQ.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “main1.c” -fo=“main1.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “ParTest.c” -fo=“ParTest.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “serial.c” -fo=“serial.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “integer.c” -fo=“integer.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Executing: “C:\MCC18\bin\mcc18.exe” -p=18F452 /i"." -I".\include" -I"…\include" -I"…\…\include" -I"…\…\…\include" -I"…\…\Source\include" -I"…\…\…\Source\include" -I"…\Demo\PIC18_MPLAB" -I"…\…\…\Demo\PIC18_MPLAB" -I"…\…\…\…\Demo\PIC18_MPLAB" -I"C:\Devtools\Microchip\MCC18\h" -I"…\Common\include" -I"…\…\Common\include" “heap_1.c” -fo=“heap_1.o” -w3 -DMPLAB_PIC18F_PORT -Ls -Opa- -nw 2074 -nw 2066
Couldn’t locate build tool.  Check tool locations.
----------------------------------------------------------------------
Release build of project `G:\elek\RTOS\FreeRTOS_V5.1.2\FreeRTOS\Demo\PIC18_MPLAB\rtosdemo1.mcp’ failed.
Wed Feb 18 14:59:50 2009
----------------------------------------------------------------------
BUILD FAILED

picmeup wrote on Wednesday, February 18, 2009:

MPLAB saves the path to tools in the project. It looks like the path is wong in your project. You can set the paths through the MPLAB menu.