# Building Issues: RTOSdemo for PIC18F

**URL:** <https://forums.freertos.org/t/building-issues-rtosdemo-for-pic18f/3281>\
**Category:** Kernel\
**Created:** [September 30, 2010, 10:19am UTC](https://forums.freertos.org/t/building-issues-rtosdemo-for-pic18f/3281 "2010-09-30T10:19:12Z")\
**Posts on this page:** 3\
**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:** [September 30, 2010, 10:19am UTC](https://forums.freertos.org/t/building-issues-rtosdemo-for-pic18f/3281/1 "2010-09-30T10:19:12Z")

</div>

**[rve26](https://sourceforge.net/u/rve26/)** wrote on [Thursday, September 30, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/931dccd6/#29ef):

Hi there.

Again, I’m new to this whole rtos concepts. I’m using MPLAB v8.56, trying to build the rtosdemo for the PIC18F (18F452 to be exact.)

## The following error is found:

## Debug build of project `C:\FreeRTOS\Demo\PIC18\_MPLAB\rtosdemo1.mcp’ started. Preprocessor symbol `\_\_DEBUG’ is defined. Thu Sep 30 12:10:40 2010

## Clean: Deleting intermediary and output files. Clean: Deleted file “C:\FreeRTOS\Demo\PIC18\_MPLAB\rtosdemo1.mcs”. Clean: Done. Couldn’t locate build tool.&nbsp; Check tool locations.

## Debug build of project `C:\FreeRTOS\Demo\PIC18\_MPLAB\rtosdemo1.mcp’ failed. Preprocessor symbol `\_\_DEBUG’ is defined. Thu Sep 30 12:10:40 2010

## BUILD FAILED

What am I doing wrong? What must I do to rectify this?  
Appreciate any answer

thanks

---

<div class="post-metadata">

**Author:** ![richard-damon](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/richard-damon/32/38_2.png) [@richard-damon](https://forums.freertos.org/u/richard-damon)\
**Post date:** [September 30, 2010, 12:08pm UTC](https://forums.freertos.org/t/building-issues-rtosdemo-for-pic18f/3281/2 "2010-09-30T12:08:54Z")

</div>

**[richard\_damon](https://sourceforge.net/u/richard_damon/)** wrote on [Thursday, September 30, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/931dccd6/#480a):

That sounds like you don’t have MPLAB installed right. Did you install the C compiler too? (It isn’t part of the base MPLAB download). The other possibility is that I think MPLAB stores tool location in the individual project, so if you are grabbing a sample project, they may need to be updated if your install didn’t put them in the standard places.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 1, 2010, 8:21am UTC](https://forums.freertos.org/t/building-issues-rtosdemo-for-pic18f/3281/3 "2010-10-01T08:21:39Z")

</div>

**[rve26](https://sourceforge.net/u/rve26/)** wrote on [Friday, October 01, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/931dccd6/#9d2a):

Thank you, Richard

I finally got it working. I downloaded the C-compiler for 18F, installed it and it works. Feeling a bit stupid, but anyhow, that’s how one learn.
