How to compile the example API?


(Dongming) #1

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?


(Andrew Scott) #2

This might be helpful :

https://www.fmod.org/questions/question/fmod-on-linux-on-clion/


(Dongming) #3

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