-1

我想用 clog 和 ppl 安装 gcc 4.6.2。我的系统中安装了这两个库。当我尝试做时./configure --enable-languages=c,c++ --with-ppl=/usr/lib --with-cloog=/usr/lib,我得到一个错误 Cannot find the directories "/usr/lib/lib" or "/usr/lib/include"所以,我尝试了./configure --enable-languages=c,c++ --with-ppl --with-cloog。在这种情况下,我得到Unable to find a usable ppl. 有人可以帮我吗?

4

1 回答 1

0

你不说你的系统是什么?您也没有说您检查了什么以确保您确实安装了库?所以,这里有一个可能是你的问题的常见问题。

假设你在 Linux 上,许多发行版的每个库都有两个包:

例如

  • libcoolstuff
  • libcoolstuff-dev

您只需要第一个包来运行使用它的程序,但您需要同时编译这些程序。

于 2012-02-02T14:55:21.293 回答