# Nintendo Switch linker error on build

**URL:** https://qa.fmod.com/t/nintendo-switch-linker-error-on-build/16183
**Category:** Unity
**Tags:** switch
**Created:** [September 16, 2020, 3:38am UTC](https://qa.fmod.com/t/nintendo-switch-linker-error-on-build/16183 "2020-09-16T03:38:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![samanabo](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@samanabo](https://qa.fmod.com/u/samanabo)
#### Post date: [September 16, 2020, 3:38am UTC](https://qa.fmod.com/t/nintendo-switch-linker-error-on-build/16183/1 "2020-09-16T03:38:28Z")

</div>

I’m running Unity 2019.4.8f1, FMOD Studio/Integration 2.01.04 and the Nintendo Switch SDK 10.4.1 and when building the game I get a few errors from the linker:

`error: undefined reference to 'FMOD5_System_GetCPUUsageEx'`

If I comment out lines 1205-1208 and lines 1555-1556 of fmod.cs the build is able to finish. These are both references to `GetCpuUsageEx()`.

Is this a mistake in the current version of the FMOD Unity Integration, or am I doing something wrong to get these errors initially? What is the best way to proceed?

---

<div class="post-metadata">

### Author: ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)
#### Post date: [September 17, 2020, 12:58am UTC](https://qa.fmod.com/t/nintendo-switch-linker-error-on-build/16183/2 "2020-09-17T00:58:39Z")

</div>

Thanks for bringing this to our attention, this is a bug in our latest release that will be corrected in our next release. The workaround you have suggested will work fine with no side affects. Anyone else in a similar situation should do the same until we can get an updated build out.
