@mozartalouis wrote:
I recently changed my laptops OS to Ubuntu because I really like using Linux and CLion on Ubuntu to develop my cocos game. The only reason I waited so long is because the new Audio Engine wasn't supported on Linux yet. I read that on cocos2d-x 3.10 it was now supported but no matter what I do, I cannot run my project on Linux. I keep getting this error:
/bin/debug/linux/MyGame: error while loading shared libraries: libfmod.so.6: cannot open shared object file: No such file or directory
I even tried making a new project and it will build, but as soon as I try to use the new Audio engine, it won't run. My project heavily relies on the new Audio Engine so it would be difficult to switch back to SimpleAudioEngine. It run everywhere else but Linux.
I find the lib here:
cocos2d/external/linux-specific/fmod/prebuilt/64-bit/libfmod.so
I use the command:
cocos run -p linux
.I need to install libfmod somewhere since it indicates that it's not found?
Also I am aware of the cost of fmod and I'm really only using it so i can develop on Linux, but I don't intend to release on Linux.
Thanks.
Posts: 1
Participants: 1