Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm looking for the instructions on how to install FMOD.

I want to do extra credit for my computer graphics assignment - sound effects. A teammate wants me to go with something simple, and he suggested that I use FMOD Ex. (If you guys can think of something better, do suggest it, but so far FMOD looks more promising compared to SDL, OpenAL, etc.)

Right now I'm having a really hard time finding the instructions for installing the latest version of FMOD (audio content creation tool) on Linux Ubuntu 12.04 LTS (32-bit) so that I can use it in g++ with OpenGL. I checked out this YouTube video: http://www.youtube.com/watch?v=avGxNkiAS9g, but it's for Windows. Then, there is a Ubuntu Forums thread which redirected me to this page: https://wiki.debian.org/FMOD, and it has some dated instructions. I've downloaded FMOD Ex v. 4.44.24, which I believe is the latest version. Now I'm looking at eight files:

libfmodex.so; libfmodex64.so; libfmodex64-4.44.24.so; libfmodex-4.44.24.so;

libfmodexL.so; libfmodexL64.so; libfmodexL64-4.44.24.so; libfmodexL-4.44.24.so

... not knowing what to do. I've looked everywhere I could think of: StackOverflow, here, YouTube, Google, ... and came up with zilch.

Please help. Thanks in advance.

share|improve this question

2 Answers 2

It looks like you already unpacked the .tar.gz file, so look in the Documentation directory.

The document Getting started with FMOD for Linux.pdf says:

Installation

Link the following library into your project:

  • Use api/lib/libfmodex.so to use the FMOD Ex API.
share|improve this answer
    
Would you recommend using export in .bashrc or just copy that file to /usr/local/lib ? –  Andrey Nov 2 '13 at 3:10
    
There's no one way to do this. /usr/local/lib/fmodex/api... is good or /usr/local/share/fmodex/api.... You may still need to use .bashrc to export it to PATH –  chaskes Nov 2 '13 at 3:18
    
Little research has shown that using LD_LIBRARY is not recommended, but do you think that export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib should be enough? –  Andrey Nov 2 '13 at 4:14
    
Yes, that works fine but then you can also just put the api... in your home. I've read to that sometimes it's simpler to just put -I and -L options hard-coded into a project makefile template. But this is all personal preference stuff. here's a good explanation of ld_library_path...btw, we shouldn't get into chat or new questions in comments. also, if this solved your install prob, please mark as accepted ;) –  chaskes Nov 2 '13 at 4:31
up vote 0 down vote accepted

A thank you to Nikos C. on StackOverflow and to chaskes on Ubuntu Forums.

This have helped: http://stackoverflow.com/questions/19738213/where-or-what-are-the-instructions-for-installing-fmod-ex-for-linux-to-use-in-g

I guess that all I really had to do was to type in the following in the terminal:

cd /usr/local/include/
sudo mkdir fmodex
sudo cp ~/fmodapi44424linux/api/lib/* /usr/local/lib/
sudo cp ~/fmodapi44424linux/api/inc/* /usr/local/include/fmodex
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.