sdl-config在MacOS 10.6(Snow Leopard)上的哪里安装 [英] Where is sdl-config installed on MacOS 10.6 (Snow Leopard)

查看:85
本文介绍了sdl-config在MacOS 10.6(Snow Leopard)上的哪里安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装 SDL

After installing SDL and SDL-devel in MacOS X 10.6 (Snow Leopard), trying to configure some source code that requires SDL yields:

checking for sdl-config... no
checking for SDL - version >= 1.2.0... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL version 1.2.0 not found!

有人知道在哪里可以找到sdl-config吗?我想我可以从源代码构建SDL,但是当存在预先构建的软件包时,为什么我必须这样做?

Does anyone know where to find sdl-config? I guess I can build SDL from source, but why should I have to, when there exist pre-built packages?

推荐答案

我遇到了完全相同的问题.

I had the exact same problem.

我发现sdl-config安装在两个位置:

I found out that sdl-config was installed in two locations:

  • /sw/bin/sdl-config

  • /opt/local/bin/sdl-config

在位于/sw/bin的那个中,我将前缀更改为/opt/local,然后它起作用了.

In the one located in /sw/bin I changed the prefix to /opt/local — then it worked.

这篇关于sdl-config在MacOS 10.6(Snow Leopard)上的哪里安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆