# How to compile the example API?

**URL:** <https://qa.fmod.com/t/how-to-compile-the-example-api/13011>\
**Category:** FMOD Studio\
**Created:** [March 2, 2017, 1:01pm UTC](https://qa.fmod.com/t/how-to-compile-the-example-api/13011 "2017-03-02T13:01:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vancymoon](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@vancymoon](https://qa.fmod.com/u/vancymoon)\
**Post date:** [March 2, 2017, 1:01pm UTC](https://qa.fmod.com/t/how-to-compile-the-example-api/13011/1 "2017-03-02T13:01:03Z")

</div>

Hi everyone,

I’m a starter and I use Clion on OSX Sierre.

I want to build one of the examples (3D Example) so I add the _cpp .h .hpp_ files to the project and build, but failed.  
It is said:

> ld: symbol(s) not found for architecture x86\_64 clang: error: linker  
> command failed with exit code 1 (use -v to see invocation) make[2]:  
> \*\*\* [3d] Error 1 make[1]: \*\*\* [CMakeFiles/3d.dir/all] Error 2 make: \*\*\* [all] Error 2

Could anyone tell me what I could to to build the example?

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [March 6, 2017, 3:20am UTC](https://qa.fmod.com/t/how-to-compile-the-example-api/13011/2 "2017-03-06T03:20:31Z")

</div>

This might be helpful :

[https://www.fmod.org/questions/question/fmod-on-linux-on-clion/](https://www.fmod.org/questions/question/fmod-on-linux-on-clion/)

---

<div class="post-metadata">

**Author:** ![vancymoon](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@vancymoon](https://qa.fmod.com/u/vancymoon)\
**Post date:** [March 7, 2017, 2:01pm UTC](https://qa.fmod.com/t/how-to-compile-the-example-api/13011/3 "2017-03-07T14:01:42Z")

</div>

> [@](#):
>
> This might be helpful :
> 
> [https://www.fmod.org/questions/question/fmod-on-linux-on-clion/](https://www.fmod.org/questions/question/fmod-on-linux-on-clion/)

Then thanks a lot! Answers on that page should resolve my problem.
