hexhex / core

DLVHEX solver: core system and plugin API
http://www.kr.tuwien.ac.at/research/systems/dlvhex/
GNU Lesser General Public License v2.1
24 stars 8 forks source link

configure: error: cannot find boost/graph/adjacency_list.hpp #36

Open hmqq opened 2 years ago

hmqq commented 2 years ago

Hi, I am building dlvhex and when doing "./configure --enable-python --with-boost=/usr/include/" i got this error. How can i solve it? I have boost version 1.71. checking boost/graph/adjacency_list.hpp usability... no checking boost/graph/adjacency_list.hpp presence... yes configure: WARNING: boost/graph/adjacency_list.hpp: present but cannot be compiled configure: WARNING: boost/graph/adjacency_list.hpp: check for missing prerequisite headers? configure: WARNING: boost/graph/adjacency_list.hpp: see the Autoconf documentation configure: WARNING: boost/graph/adjacency_list.hpp: section "Present But Cannot Be Compiled" configure: WARNING: boost/graph/adjacency_list.hpp: proceeding with the compiler's result configure: WARNING: ## ------------------------------------------------- ## configure: WARNING: ## Report this to dlvhex-devel@lists.sourceforge.net ## configure: WARNING: ## ------------------------------------------------- ## checking for boost/graph/adjacency_list.hpp... no configure: error: cannot find boost/graph/adjacency_list.hpp

peschue commented 2 years ago

I am sorry your boost version might be too high. 1.55.0 is the version that is specified as requirement. Much higher versions might work, but the higher the version the more likely that it will not work.