# Help with "Compilation Error"

**URL:** <https://crucible.hubbe.net/t/help-with-compilation-error/2818>\
**Category:** Padawan Area\
**Created:** [January 13, 2023, 11:14am UTC](https://crucible.hubbe.net/t/help-with-compilation-error/2818 "2023-01-13T11:14:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DarthSaiyan](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/darthsaiyan/32/3215_2.png) [@DarthSaiyan](https://crucible.hubbe.net/u/DarthSaiyan)\
**Post date:** [January 13, 2023, 11:14am UTC](https://crucible.hubbe.net/t/help-with-compilation-error/2818/1 "2023-01-13T11:14:04Z")

</div>

> Compilation error: cannot convert ‘StyleFactory\*’ to ‘const char\*’ in initialization

[Pastebin](https://pastebin.com/3nRe1N74)

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [January 13, 2023, 12:45pm UTC](https://crucible.hubbe.net/t/help-with-compilation-error/2818/2 "2023-01-13T12:45:38Z")

</div>

Post your config as well, you have a syntax error in one or more presets.

---

<div class="post-metadata">

**Author:** ![DarthSaiyan](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/darthsaiyan/32/3215_2.png) [@DarthSaiyan](https://crucible.hubbe.net/u/DarthSaiyan)\
**Post date:** [January 13, 2023, 2:30pm UTC](https://crucible.hubbe.net/t/help-with-compilation-error/2818/3 "2023-01-13T14:30:24Z")

</div>

[Config](https://pastebin.com/eh4PHFaW)

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [January 13, 2023, 2:53pm UTC](https://crucible.hubbe.net/t/help-with-compilation-error/2818/4 "2023-01-13T14:53:11Z")

</div>

You are missing the track at line 153

All presets need to be in the following syntax:

```auto
{ "font;common", "font/tracks/track.wav",
StylePtr<...>(),
"name"
},

```

if you don’t want a track you still need to account for it with empty quotation marks like so:

```auto
{ "font;common", "",
StylePtr<...>(),
"name"
},

```

You should also remove this at line 29, it doesn’t belong and no idea why installers keep putting it there.

```auto
#include "../sound/sound_library.h"

```

---

<div class="post-metadata">

**Author:** ![DarthSaiyan](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/darthsaiyan/32/3215_2.png) [@DarthSaiyan](https://crucible.hubbe.net/u/DarthSaiyan)\
**Post date:** [January 13, 2023, 3:31pm UTC](https://crucible.hubbe.net/t/help-with-compilation-error/2818/5 "2023-01-13T15:31:33Z")

</div>

Fantastic! Everything is working as it should again, thank you so much!

---

<div class="post-metadata">

**Author:** ![Fett263](https://crucible.hubbe.net/user_avatar/crucible.hubbe.net/fett263/32/214_2.png) [@Fett263](https://crucible.hubbe.net/u/Fett263)\
**Post date:** [January 13, 2023, 3:50pm UTC](https://crucible.hubbe.net/t/help-with-compilation-error/2818/6 "2023-01-13T15:50:27Z")

</div>

You’re welcome.
