Linux: libfmodx64.so missing (runtime error)

Hey guys, just giving the Linux build a try, after some -devel installs I got it to build successfully. Now when I run the application, I get the following runtime error:

error while loading shared libraries: cocos2d/external/linux/x86-64/libs/libfmodex64.so: cannot open shared object file: No such file or directory

After copying the cocos2d/ folder into the bin/ the application runs successfully. Is this library supposed to be installed by something? should it already be somewhere on my system?

Btw, I used the v4-devel cocos2d-x branch for this.

This is a fresh install of OpenSUSE 13.2 (GNOME)

Thanks

Wow, I just saw that if you use FModEx in more than one game per year, or have at least $100K in ā€œcostsā€, then the entry level cost is $500 per platform, e.g. $500 for Android, $500 for iPhone, $500 for iPad if not a universal binary, $500 for Android Amazon, $500 for Window Phone, $500 for Android Google Play, etc., but capped at $15,000 and discounts are available…
http://www.fmod.org/sales/#Commercial

That is a pricey library to have in an open source game engine lurking to surprise an unsuspecting game developer :open_mouth:

Maybe that is why it vanished?

But it is free if you only publish one game per year that ā€˜costs’ less than $100K.

I’ve published about 130 games on 6 platforms (by their definition of platform) in the past 5 years. Glad I didn’t accidentally use FModEx and find out about it now :wink: But it does look like an awesome sound engine…

Does cocos2d-x still actually use this library on Linux?

Sorry, it does look like it is still in 3.7rc0, but the path I see is different than what you have in your error?

I am on Mac, so I did not run the linux setup… not sure if that would change the paths.

But the path in cocos2d-x 3.7rc0 does not match where your project thinks it should be.
FMod Ex is located here in 3.7rc0: cocos2d/external/linux-specific/fmod/prebuilt/64-bit/libfmodex64.so
Assuming that is the x86-64.

Edit:
Apology in advance for going on another tangent, but have you seen that the license fee is for FmodEx? http://www.fmod.org/sales/

I was surprised to see that there are libraries/code included in Cocos2d-x that require paying license fees.

1 Like

Seems like a good way to get into legal trouble!