-
Notifications
You must be signed in to change notification settings - Fork 9
Installation: Linux
Start by downloading the FMOD Studio binaries from FMOD.org. You need to register and accept the license terms. http://www.fmod.org/download/
Extract the tar.gz file (version 1.07.00 when this text was written, fmodstudioapi10700linux.tar.gz) with this command:
tar zvxf fmodstudioapi10700linux.tar.gz
Navigate into the folder that was just extracted
cd fmodstudioapi10700linux
and execute these commands
cp api/lowlevel/lib/armhf/libfmod*.so.7.* /usr/local/lib/
cp api/studio/lib/armhf/libfmodstudio*.so.7.* /usr/local/lib/
ldconfig
Note that armhf is the platform name for Raspberry Pi, change to your platform (arm, armhf, x86, x86_64). Also if the version is different then obviously change the 7 in the filename as well.
To easily map between normal and logging version of FMOD, plus map to the correct version, you should create a SupersonicSound.dll.config text file in your binary folder with this content (for version 6, update as needed):
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<dllmap dll="fmod" target="libfmod.so.7" />
<dllmap dll="fmodstudio" target="libfmodstudio.so.7" />
<!-- <dllmap dll="fmod" target="libfmodL.so.7" />
<dllmap dll="fmodstudio" target="libfmodstudioL.so.7" />-->
</configuration>
You can comment out the mapping to the Logging versions as needed and re-run your application.