# rtos demo include files 

**URL:** <https://forums.freertos.org/t/rtos-demo-include-files/5548>\
**Category:** Kernel\
**Created:** [May 16, 2011, 2:52pm UTC](https://forums.freertos.org/t/rtos-demo-include-files/5548 "2011-05-16T14:52:28Z")\
**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:** [May 16, 2011, 2:52pm UTC](https://forums.freertos.org/t/rtos-demo-include-files/5548/1 "2011-05-16T14:52:28Z")

</div>

**[alkhafaaf](https://sourceforge.net/u/alkhafaaf/)** wrote on [Monday, May 16, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/f84741c3/#077b):

Hi Richard/Gents  
I am trying to build and run the (WIN32-MingW) example under&nbsp; \FreeRTOS\Demo\WIN32-MingW&nbsp; using eclipse  
I have set all the paths and have manualy copied the file portmacro.h in the project directory  
when I build it recognized all the included header files but gives me all the below errors \*\*  
ERRO**RS  
undefined reference to `vStartBlockingQueueTasks’ main.c /RTOSDemo line 123 C/C++ Problem  
undefined reference to `vStartGenericQueueTasks’ main.c /RTOSDemo line 127 C/C++ Problem  
undefined reference to `vStartIntegerMathTasks’ main.c /RTOSDemo line 126 C/C++ Problem  
undefined reference to `vStartMathTasks’ main.c /RTOSDemo line 129 C/C++ Problem  
undefined reference to `vStartPolledQueueTasks’ main.c /RTOSDemo line 125 C/C++ Problem  
undefined reference to `vStartQueuePeekTasks’ main.c /RTOSDemo line 128 C/C++ Problem  
undefined reference to `vStartRecursiveMutexTasks’ main.c /RTOSDemo line 130 C/C++ Problem  
undefined reference to `vStartSemaphoreTasks’ main.c /RTOSDemo line 124 C/C++ Problem  
undefined reference to `vTaskDelayUntil’ main.c /RTOSDemo line 156 C/C++ Problem  
undefined reference to `vTaskStartScheduler’ main.c /RTOSDemo line 133 C/C++ Problem  
undefined reference to `xAreBlockingQueuesStillRunning’ main.c /RTOSDemo line 171 C/C++ Problem  
undefined reference to `xAreGenericQueueTasksStillRunning’ main.c /RTOSDemo line 163 C/C++ Problem  
undefined reference to `xAreIntegerMathsTaskStillRunning’ main.c /RTOSDemo line 159 C/C++ Problem  
undefined reference to `xAreMathsTaskStillRunning’ main.c /RTOSDemo line 183 C/C++ Problem  
undefined reference to `xArePollingQueuesStillRunning’ main.c /RTOSDemo line 179 C/C++ Problem  
undefined reference to `xAreQueuePeekTasksStillRunning’ main.c /RTOSDemo line 167 C/C++ Problem  
undefined reference to `xAreRecursiveMutexTasksStillRunning’ main.c /RTOSDemo line 187 C/C++ Problem  
undefined reference to `xAreSemaphoreTasksStillRunning’ main.c /RTOSDemo line 175 C/C++ Problem  
undefined reference to `xTaskGenericCreate’ main.c /RTOSDemo line 120 C/C++ Problem  
undefined reference to `xTaskGetTickCount’ main.c /RTOSDemo line 151 C/C++ Problem  
undefined reference to `xTaskGetTickCount’ main.c /RTOSDemo line 194 C/C++ Problem**

WARNI\*\*NGS

Description Resource Path Location Type  
Invalid project path: Include path not found (RTOSDemo\DemoTasks\include). RTOSDemo pathentry Path Entry Problem  
Invalid project path: Include path not found (RTOSDemo\FreeRTOS\include). RTOSDemo pathentry Path Entry Problem  
Invalid project path: Include path not found (RTOSDemo\FreeRTOS\portable\MSVC-MingW). RTOSDemo pathentry Path Entry Problem

---

<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:** [May 16, 2011, 2:59pm UTC](https://forums.freertos.org/t/rtos-demo-include-files/5548/2 "2011-05-16T14:59:49Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Monday, May 16, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/f84741c3/#6649):

It is just not finding (and therefore not building) the source files that, by default, are outside of the project directory.

Did you run the file FreeRTOS\Demo\WIN32-MingW\CreateProjectDirectoryStructure.bat before doing anything else?&nbsp; You should need to manually copy any files after the batch file has been run.

Read the “Preparing the Eclipse project” section of the following page:  
[http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html](http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.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:** [May 16, 2011, 3:07pm UTC](https://forums.freertos.org/t/rtos-demo-include-files/5548/3 "2011-05-16T15:07:28Z")

</div>

**[alkhafaaf](https://sourceforge.net/u/alkhafaaf/)** wrote on [Monday, May 16, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/f84741c3/#5238):

cheers Richard

the batch file was the key, I ran that and re-imported the project again and its fine  
many thanks……
