2014-12-08 21 views
1

我試圖安裝graphtool 2.2.35,我安裝了所有必需的庫並驗證它正在工作。 然而,當我運行./configure然後我得到了以下錯誤:在Graphtool中爲CGAL配置錯誤

檢查: : :

Using python version: 2.7.5 
=========================== 
checking for boostlib >= 1.53.0... yes 
checking whether the Boost::Python library is available... yes 
checking for exit in -lboost_python... yes 
checking whether the Boost::Iostreams library is available... yes 
checking for exit in -lboost_iostreams... no 
checking for exit in -lboost_iostreams... (cached) no 
checking for exit in -lboost_iostreams-mt... no 
checking for exit in -lboost_iostreams-mt-py2.5... no 
checking whether the Boost::Regex library is available... yes 
checking for exit in -lboost_regex... yes 
checking whether the Boost::Graph library is available... yes 
checking for exit in -lboost_graph... yes 
checking for main in -lCGAL... no 
checking whether to cgal debbuging with valgrind...... no 
checking python module: numpy... yes 
checking for /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h... yes 
checking python module: scipy... yes 
checking /usr/lib64/python2.7/site-packages/scipy/weave/scxx/object.h usability... yes 
checking /usr/lib64/python2.7/site-packages/scipy/weave/scxx/object.h presence... yes 
checking for /usr/lib64/python2.7/site-packages/scipy/weave/scxx/object.h... yes 
checking expat.h usability... yes 
checking expat.h presence... yes 
checking for expat.h... yes 
checking CGAL/version.h usability... no 
checking CGAL/version.h presence... no 
checking for CGAL/version.h... no 
configure: error: CGAL headers not found 

我使用Linux CentOS的7 GCC 4.8 升壓1_57_.0 Pyhton 2.7。 5 CGAL 3.5 GMP 6

請幫我一下嗎?我已經花費了很多時間了,不知道運氣好不好。如果您在使用Ubuntu你在這方面的幫助將非常理解

+0

顯然是沒有找到CGAL。你說你有CGAL 3.5。你究竟如何安裝它以及在哪裏? – 2014-12-08 09:51:11

+0

感謝您的回覆,它在錯誤的目錄中,我在/ usr/include中拷貝CGAL文件夾 – user3356568 2014-12-09 02:48:58

回答

5

,嘗試:

sudo apt-get install libcgal-dev 
+0

您能否在本文中添加一些細節? OP爲什麼要使用這個命令?影響是什麼?它與問題陳述有何關係? – 2015-05-04 04:02:54