Windows上的SDL_gfx用于Haskell SDL-gfx库?

时间:2014-02-23 01:33:20

标签: haskell sdl ghc cabal

尝试在Windows上安装SDL-gfx库,并在配置中遇到问题:

Resolving dependencies...
Configuring SDL-gfx-0.6.0...
checking for sdl-config... /usr/bin/sdl-config
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for SDL_initFramerate in -lSDL_gfx... no
configure: error: *** SDL_gfx lib not found! Get SDL_gfx from
http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/

链接已损坏,但我从http://www.ferzkopp.net/joomla/content/view/19/14/获得了tar并查看了内容。这是一个头文件,c文件等的抓包。我不知道在哪里放这些,以便SDL-gfx的配置识别它们。为了好玩,我还抓住了一些预编译的dll和头文件,但我不知道在哪里放这些。

任何人都知道我应该把这些文件放到哪里使它们起作用?

我与SDL有过类似的挣扎,但我最终找到了一个带有“include”和“lib”目录的SDL下载,并将它们添加到我的.cabal / config中的extra-include-dirs和extra-lib-dirs中。 ..但我不知道SDL_gfx是什么“包含”和什么是“lib”。

0 个答案:

没有答案