# Emscripten link errors

**URL:** https://qa.fmod.com/t/emscripten-link-errors/20127
**Category:** FMOD Engine
**Tags:** html5, cpp
**Created:** [April 17, 2023, 7:57pm UTC](https://qa.fmod.com/t/emscripten-link-errors/20127 "2023-04-17T19:57:40Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![rwkay](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@rwkay](https://qa.fmod.com/u/rwkay)
#### Post date: [April 26, 2023, 9:17am UTC](https://qa.fmod.com/t/emscripten-link-errors/20127/4 "2023-04-26T09:17:09Z")

</div>

We have to compile FMOD into the shared object library and not into the executable as the GameMaker executable is precompiled and only shared objects can be used as extensions.

We cannot compile FMOD into each version of GameMaker as then every GM game would have to agree to the FMOD agreement and then they would be subject to licensing (technically even if they did or did not use FMOD within the code)

Russell

---

_[View the full topic](https://qa.fmod.com/t/emscripten-link-errors/20127)._
