配置libgraph:即使安装了SDL_Image,也找不到它

时间:2016-02-18 14:27:38

标签: linux sdl sdl-image

我必须在我的Crunchbang(Debian / 7.7)系统中安装libgraph(1.0.1) 当然,在此之前你有一些依赖。已成功从源下载并安装SDL_Image。我用SDL头文件编译了一个C ++程序,以便完美地测试它 但是,在运行./configure时,它仍然会抛出:

checking SDL  ==>  SDL_image library... configure: error: *** 
: *** SDL_image not found

安装了SDL和SDL_image软件包。

devesh@crunchbang:~/downloads/libgraph-1.0.1$ dpkg --get-selections | grep sdl
libsdl-image1.2:amd64               install
libsdl1.2-dev                       install
libsdl1.2debian:amd64               install
libsdl1.2debian:i386                install  

从其他问题来看,SDL_image文件可能位于不同的目录中,而不是默认的'那些。但是检测到了SDL,并且它们安装在同一个地方。 问题是什么?

1 个答案:

答案 0 :(得分:0)

只需查看libgraph目录中的README文件即可:

You need to have the following installed : 
SDL-x.x.x.rpm               -- the main SDL library
SDL-devel-x.x.x.rpm         -- the developer package
SDL_image-x.x.x.rpm         -- image library for fonts
SDL_image-devel-x.x.x.rpm   -- image library developer 

我安装了 libsdl1.2-dev voila
检测到 SDL_Image 只是偶然发现了另一堆未安装的软件包:-P。 ( guile ,什么不是) 但是手头有问题! 感谢

相关问题