# Compile Problem

**URL:** <https://forums.freertos.org/t/compile-problem/1758>\
**Category:** Kernel\
**Created:** [February 18, 2009, 1:15pm UTC](https://forums.freertos.org/t/compile-problem/1758 "2009-02-18T13:15:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 18, 2009, 1:15pm UTC](https://forums.freertos.org/t/compile-problem/1758/1 "2009-02-18T13:15:19Z")

</div>

**[e135193](https://sourceforge.net/u/e135193/)** wrote on [Wednesday, February 18, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/4e9e6c99/#a0dd):

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

----------------------------------------------------------------------  
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.&nbsp; 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

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 18, 2009, 1:26pm UTC](https://forums.freertos.org/t/compile-problem/1758/2 "2009-02-18T13:26:07Z")

</div>

**[picmeup](https://sourceforge.net/u/picmeup/)** wrote on [Wednesday, February 18, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/4e9e6c99/#a0dd/7bba):

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.
