MacOS 10.6 (Snow Leopard) 上的 sdl-config 安装在哪里

2024-03-08

安装后SDL http://www.libsdl.org/release/SDL-1.2.14.dmg and SDL-开发 http://www.libsdl.org/release/SDL-devel-1.2.14-extras.dmg在 MacOS X 10.6 (Snow Leopard) 中,尝试配置一些需要 SDL 的源代码会产生:

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,但是当存在预构建的包时,为什么我必须这样做呢?


您可以使用 macports 安装 libsdl 或 libsdl-devel (v1.2 或 v1.3)

http://www.macports.org/ http://www.macports.org/

安装 macports 后安装 libsdl 类型port install libsdl

它将在 /opt/local/bin 安装 sdl-config

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

MacOS 10.6 (Snow Leopard) 上的 sdl-config 安装在哪里 的相关文章

随机推荐