<div dir="ltr">Hello everyone,<br><br>I am following the Wiki to set up a development environment, but compiling pgRouting is becoming a bit of a saga. Right now I am stuck with cmake unable to find Boost:<br><br>CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message):<br>
Unable to find the requested Boost libraries.<br><br> Boost version: 1.54.0<br><br> Boost include path: /usr/include<br><br> Could not find the following Boost libraries:<br><br> boost_thread<br> boost_system<br>
<br> No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the<br> directory containing Boost libraries or BOOST_ROOT to the location of<br> Boost.<br>Call Stack (most recent call first):<br> cmake/FindCGAL.cmake:42 (find_package)<br>
CMakeLists.txt:303 (find_package)<br><br>I am on Ubuntu 14.04. A few outputs from my system:<br><br>$ dpkg -l | grep boost<br>ii libboost-date-time1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 set of date-time libraries based on generic programming concepts<br>
ii libboost-dev 1.54.0.1ubuntu1 amd64 Boost C++ Libraries development files (default version)<br>ii libboost-graph-dev:amd64 1.54.0.1ubuntu1 amd64 generic graph components and algorithms in C++ (default version)<br>
ii libboost-graph1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 generic graph components and algorithms in C++<br>ii libboost-graph1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 generic graph components and algorithms in C++<br>
ii libboost-iostreams-dev:amd64 1.54.0.1ubuntu1 amd64 Boost.Iostreams Library development files (default version)<br>ii libboost-iostreams1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 Boost.Iostreams Library development files<br>
ii libboost-iostreams1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 Boost.Iostreams Library<br>ii libboost-regex1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 regular expression library for C++<br>
ii libboost-regex1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 regular expression library for C++<br>ii libboost-serialization1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 serialization library for C++<br>
ii libboost-serialization1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 serialization library for C++<br>ii libboost-system1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 Operating system (e.g. diagnostics support) library<br>
ii libboost-test1.54-dev:amd64 1.54.0-4ubuntu3.1 amd64 components for writing and executing test suites<br>ii libboost-test1.54.0:amd64 1.54.0-4ubuntu3.1 amd64 components for writing and executing test suites<br>
ii libboost-thread1.46.1 1.46.1-7ubuntu3 amd64 portable C++ multi-threading<br>ii libboost1.54-dev 1.54.0-4ubuntu3.1 amd64 Boost C++ Libraries development files<br>
<br>$ locate boost_thread<br>/usr/lib/libboost_thread.so.1.46.1<br><br>$ locate boost_system<br>/usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0<br><br>$ whereis boost<br>boost: /usr/include/boost<br><br>$ cat /etc/environment | grep BOOST<br>
BOOST_LIBRARYDIR="/usr/lib/x86_64-linux-gnu/:/usr/lib/"<br>BOOST_ROOT="/usr/include/boost"<br><br>Any ideas on why isn't cmake finding Boost? Thank you,<br><br>Luís<br></div>