# Trying to get Quartz in a C++ class creating linker errors.

**URL:** <https://forums.unrealengine.com/t/trying-to-get-quartz-in-a-c-class-creating-linker-errors/821401>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [March 25, 2023, 2:25pm UTC](https://forums.unrealengine.com/t/trying-to-get-quartz-in-a-c-class-creating-linker-errors/821401 "2023-03-25T14:25:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [March 25, 2023, 7:09pm UTC](https://forums.unrealengine.com/t/trying-to-get-quartz-in-a-c-class-creating-linker-errors/821401/2 "2023-03-25T19:09:40Z")

</div>

> [@teawalsh1](#):
>
> `Quartz`

Have you included the [AudioMixer](https://docs.unrealengine.com/5.1/en-US/API/Runtime/AudioMixer/) module in you build file?  
It’s the module required for quartz to work

> **[UQuartzSubsystem](https://docs.unrealengine.com/5.1/en-US/API/Runtime/AudioMixer/Quartz/UQuartzSubsystem/)**

```auto
PublicDependencyModuleNames.AddRange(new string[] { ... "AudioMixer" })

```

The staff also tackled a problem with quartz not long ago it might help

> [@Unable to Setup Quartz in C++?](https://forums.unrealengine.com/t/unable-to-setup-quartz-in-c/631787/2):
>
> What engine version are you on? There is a lot of work I’ve done coming out in 5.1 to make managing Quartz from C++ a bit easier. Can you tell where you are crashing with a debugger attached? Something inside of the UClockHandle::SetBeatsPerMinute() function is null. With a debugger attached, you could see what it invalid. Might be worth to mention that I’m still fairly new to C++. If you aren’t running with a debugger attached, this is the first thing I’d figure out. It will make life…

---

_[View the full topic](https://forums.unrealengine.com/t/trying-to-get-quartz-in-a-c-class-creating-linker-errors/821401)._
