# C++ Link issue with XTimerCreate

**URL:** <https://forums.freertos.org/t/c-link-issue-with-xtimercreate/3927>\
**Category:** Kernel\
**Created:** [October 10, 2012, 2:20pm UTC](https://forums.freertos.org/t/c-link-issue-with-xtimercreate/3927 "2012-10-10T14:20:49Z")\
**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:** [October 10, 2012, 2:20pm UTC](https://forums.freertos.org/t/c-link-issue-with-xtimercreate/3927/1 "2012-10-10T14:20:49Z")

</div>

**[ldobkin](https://sourceforge.net/u/ldobkin/)** wrote on [Wednesday, October 10, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/aeac848c/#64b9):

I am programming in C++ using FreeRTOS. I am running into the linking issue (see below):

Linking  
Error: no definition for “xTimerCreate”&nbsp;  
Error while running Linker

Total number of errors: 1  
Total number of warnings: 0

Other function calls xTaskCreate, xTimerCreate, etc., are linking fine.

Please advise.

Thank you,  
Larry

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 10, 2012, 2:25pm UTC](https://forums.freertos.org/t/c-link-issue-with-xtimercreate/3927/2 "2012-10-10T14:25:51Z")

</div>

**[ldobkin](https://sourceforge.net/u/ldobkin/)** wrote on [Wednesday, October 10, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/aeac848c/#2a47):

Correction:

Other function calls xTaskCreate, xQueueCreate, etc., are linking fine.

---

<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:** [October 10, 2012, 2:29pm UTC](https://forums.freertos.org/t/c-link-issue-with-xtimercreate/3927/3 "2012-10-10T14:29:48Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, October 10, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/aeac848c/#3848):

Do you have configUSE\_TIMERS set to 1 in FreeRTOSConfig.h?

Regards.
