完美解决cocos2d libfmod.so.6: cannot open shared object file问题
2016-11-07 16:19
471 查看
wang@wang:~/srccomputer/cocos2d-x-3.13.1/build/linux-build/bin/cpp-tests$ ./cpp-tests
./cpp-tests: error while loading shared libraries: libfmod.so.6: cannot open shared object file: No such file or directory
执行此错误的时候报告如上错误,
需要的libfmod.so.6在coco2d-x-3.13的external的子目录中,进行如下操作:
My total solution:
1) copy
sudo cp <COCOS FOLDER LOCATION>/external/linux-specific/fmod/prebuilt/64-bit/libfmod.so /usr/local/lib/
sudo cp <COCOS FOLDER LOCATION>/external/linux-specific/fmod/prebuilt/64-bit/libfmodL.so /usr/local/lib/
2) create symbolic link in /usr/local/lib/
先进入/usr/local/lib目录下,敲下面一行命令就会关联库。
ln -s libfmod.so libfmod.so.6
3) run ./install-deps-linux again
4)wang@wang:~/srccomputer/cocos2d-x-3.13.1/build/linux-build/bin/cpp-tests$ ./cpp-tests
终端会有相对应的输出:
Ready for GLSL
Ready for OpenGL 2.0
Console: listening on 0.0.0.0 : 5678
[TestController]Begin traverse TestList:
[TestController] Begin traverse TestSuite:1:Node: Scene3D
[TestController] Run test:Scene3DTestScene.
[TestController] Begin traverse TestSuite:2:ActionManager
[TestController] Run test:CrashTest.
[TestController] Run test:LogicTest.
[TestController] Run test:PauseTest.
[TestController] Run test:StopActionTe
图形界面:
是不是看起来很nice,那就开始cocos2d开发吧!
./cpp-tests: error while loading shared libraries: libfmod.so.6: cannot open shared object file: No such file or directory
执行此错误的时候报告如上错误,
需要的libfmod.so.6在coco2d-x-3.13的external的子目录中,进行如下操作:
My total solution:
1) copy
sudo cp <COCOS FOLDER LOCATION>/external/linux-specific/fmod/prebuilt/64-bit/libfmod.so /usr/local/lib/
sudo cp <COCOS FOLDER LOCATION>/external/linux-specific/fmod/prebuilt/64-bit/libfmodL.so /usr/local/lib/
2) create symbolic link in /usr/local/lib/
先进入/usr/local/lib目录下,敲下面一行命令就会关联库。
ln -s libfmod.so libfmod.so.6
3) run ./install-deps-linux again
4)wang@wang:~/srccomputer/cocos2d-x-3.13.1/build/linux-build/bin/cpp-tests$ ./cpp-tests
终端会有相对应的输出:
Ready for GLSL
Ready for OpenGL 2.0
Console: listening on 0.0.0.0 : 5678
[TestController]Begin traverse TestList:
[TestController] Begin traverse TestSuite:1:Node: Scene3D
[TestController] Run test:Scene3DTestScene.
[TestController] Begin traverse TestSuite:2:ActionManager
[TestController] Run test:CrashTest.
[TestController] Run test:LogicTest.
[TestController] Run test:PauseTest.
[TestController] Run test:StopActionTe
图形界面:
是不是看起来很nice,那就开始cocos2d开发吧!
相关文章推荐
- cannot open shared object file 问题的解决
- error while loading shared libraries: libopencv_highgui.so.3.0: cannot open shared object file问题解决
- 解决Linux: error while loading shared libraries: ...: cannot open shared object file: No such file or directory 类似问题
- (转)解决Linux:cannot open shared object file: No such file or directory 类似问题
- 解决 libstdc++.so.5: cannot open shared object file: No such file or directory 问题
- libc.so.6: cannot open shared object file: No such file or diretory 问题解决
- ubuntu解决libstdc++.so.6: cannot open shared object file: No such file or directory:问题
- 解决 libstdc++.so.5: cannot open shared object file: No such file or directory 问题
- 解决命令启动Android模拟器出现lib64OpenglRender.so: cannot open shared object file问题
- cannot open shared object file问题解决办法
- cannot open shared object file: No such file or directory 的问题解决
- fedora20 执行 arm-linux-gcc 出现 libz.so.1: cannot open shared object file问题解决方案
- libreadline.so.6: cannot open shared object file 问题解决办法
- linux上运行程序问题,提示cannot open shared object file错误的解决办法
- libstdc++.so.6: cannot open shared object file: No such file or directory的问题
- 解决error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No su
- error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: 的解决办法
- 错误解决error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
- 解决error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No su
- ORACLE RAC之libpthread.so.0: cannot open shared object file解决方法