# Compilation Issue - Student trying to learn FreeRTOS kindly help.

**URL:** <https://forums.freertos.org/t/compilation-issue-student-trying-to-learn-freertos-kindly-help/3661>\
**Category:** Kernel\
**Created:** [December 20, 2014, 12:24pm UTC](https://forums.freertos.org/t/compilation-issue-student-trying-to-learn-freertos-kindly-help/3661 "2014-12-20T12:24:21Z")\
**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:** [December 20, 2014, 12:24pm UTC](https://forums.freertos.org/t/compilation-issue-student-trying-to-learn-freertos-kindly-help/3661/1 "2014-12-20T12:24:21Z")

</div>

**[johnsmith010185](https://sourceforge.net/u/johnsmith010185/)** wrote on [Saturday, December 20, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/a103c8d6/#645d):

Compilation fails with the following message

make[1]: \*\*\* [.build-conf] Error 2  
make: \*\*\* [.build-impl] Error 2

“C:\Program Files (x86)\Microchip\xc32\v1.34\bin\xc32-gcc.exe” -g -x c -c -mprocessor=32MX795F512L -fomit-frame-pointer -DMPLAB\_PIC32MX\_PORT -I… “-I…/…/Drivers FreeRTOS Micros-Designs/include” -I…/…/…/Microchip/Include -I…/…/Microchip/Include -I…/…/include -I…/…/FreeRTOS/Source/include -I…/…/FreeRTOS/Source/portable/MPLAB/PIC32MX “-I…/…/…/Proyectos C32/Proyectos FreeRTOS/FreeRTOS/Source/include” “-I…/…/…/Proyectos C32/Proyectos FreeRTOS/Microchip/Include” -I. -Wall -MMD -MF build/default/production/\_ext/1242730511/port.o.d -o build/default/production/\_ext/1242730511/port.o “…/…/…/Proyectos C32/Proyectos FreeRTOS/FreeRTOS/Source/portable/MPLAB/PIC32MX/port.c”

make[2]: Leaving directory ‘C:/Proyectos FreeRTOS C32/FreeRTOS Example/PrimerEjemplo.X’  
nbproject/Makefile-default.mk:78: recipe for target ‘.build-conf’ failed  
make[1]: Leaving directory ‘C:/Proyectos FreeRTOS C32/FreeRTOS Example/PrimerEjemplo.X’  
nbproject/Makefile-impl.mk:39: recipe for target ‘.build-impl’ failed

Tried few things based on a google search and couldn’t get it working. Using MPLAB X & xc32 compiler. Would like to get it working on a pic32 starter kit.

I’m totally newbie to rtos(also embedded programming) and request help in resolving this issue.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [December 20, 2014, 4:08pm UTC](https://forums.freertos.org/t/compilation-issue-student-trying-to-learn-freertos-kindly-help/3661/2 "2014-12-20T16:08:02Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Saturday, December 20, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/a103c8d6/#aca0):

This does not look like an RTOS problem, it is a build problem. I would suggest starting with the MPLAB X project that is provided in the official FreeRTOS .zip file download, then adapting that for your needs. I think there is a build configuration that targets a starter kit.

[http://www.freertos.org/port\_PIC32\_MIPS\_MK4.html](http://www.freertos.org/port_PIC32_MIPS_MK4.html)  
[http://www.freertos.org/PIC32MZ\_RTOS\_MIPS\_M14K.html](http://www.freertos.org/PIC32MZ_RTOS_MIPS_M14K.html)  
[http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html](http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html)

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 20, 2014, 5:53pm UTC](https://forums.freertos.org/t/compilation-issue-student-trying-to-learn-freertos-kindly-help/3661/3 "2014-12-20T17:53:23Z")

</div>

**[johnsmith010185](https://sourceforge.net/u/johnsmith010185/)** wrote on [Saturday, December 20, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/a103c8d6/#bbfa):

Many Thanks.
