# Linker error when using std::chrono::high\_resolution\_clock::now()

**URL:** <https://forums.unrealengine.com/t/linker-error-when-using-std-now/1230119>\
**Category:** C++\
**Tags:** linker-error, unreal-engine, UE5, CPP, question\
**Created:** [July 15, 2023, 7:15pm UTC](https://forums.unrealengine.com/t/linker-error-when-using-std-now/1230119 "2023-07-15T19:15:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HytaIe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HytaIe](https://forums.unrealengine.com/u/HytaIe)\
**Post date:** [July 15, 2023, 7:15pm UTC](https://forums.unrealengine.com/t/linker-error-when-using-std-now/1230119/1 "2023-07-15T19:15:51Z")

</div>

I wanted to make use of time\_point in my game, but when I call std::chrono::high\_resolution\_clock::now() I get a LNK2019 error, namely:

> unresolved external symbol \_Query\_perf\_counter referenced in function…  
> **and**  
> unresolved external symbol \_Query\_perf\_frequency referenced in function…

I am very new to Unreal Engine and have no clue on how to fix this.

I hope someone can help, please let me know if anymore information is needed!
