【发布时间】:2011-06-17 02:42:00
【问题描述】:
当我尝试在 CodeBlocks 中运行 openFrameworks 示例 audioOutputExample 时,我收到以下错误:
在调试中:
ld 找不到 -openframeworksDebug
发布中:
ld 找不到 -openframeworks
我该如何解决这个问题?
更新 这就是我到目前为止尝试的原因:
制作
cd apps/examples/audioOutputExample/
make
[...]
编译完成
启动应用程序
光盘盒
./audioOutputExample
好的
cd bin
./audioOutputExample
./audioOutputExample: 出错时 加载共享库: libfmodex.so:无法打开共享 目标文件:没有这样的文件或目录
寻找 openframeworksDebug
sudo updatedb
[password]
locate openframeworksDebug
[一无所获]
ldconfig
ldconfig
/sbin/ldconfig.real: 无法创建 临时缓存文件 /etc/ld.so.cache~: 权限被拒绝
sudo ldconfig
[输入密码]
[很快结束,没有任何输出]
【问题讨论】:
-
@Gregory Hoerner :是的,我得到
ld config:/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied然后sudo ldconfig[输入密码]finishes with no output or errors
标签: codeblocks ld openframeworks