[pgrouting-dev] Optimal Meeting Point (OMP)

Luís de Sousa luis.a.de.sousa at gmail.com
Fri Jul 18 01:06:25 PDT 2014


Thank you Daniel, it is compiling now. I was missing one of the boost dev
libraries.

Cheers,

Luís


On 17 July 2014 11:09, Daniel Kastl <daniel at georepublic.de> wrote:

> Hi Louis,
>
> A few weeks ago I wrote down this memo:
> https://gist.github.com/dkastl/11376623
>
> I don't know it's still working but it should. It contains all the
> packages you need to build pgRouting on Ubuntu 14.04
>
> Let me know, if something doesn't work anymore.
>
> Daniel
>
>
> On Thu, Jul 17, 2014 at 9:59 AM, Luís de Sousa <luis.a.de.sousa at gmail.com>
> wrote:
>
>> Hello everyone,
>>
>> 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:
>>
>> CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131
>> (message):
>>   Unable to find the requested Boost libraries.
>>
>>   Boost version: 1.54.0
>>
>>   Boost include path: /usr/include
>>
>>   Could not find the following Boost libraries:
>>
>>           boost_thread
>>           boost_system
>>
>>   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to
>> the
>>   directory containing Boost libraries or BOOST_ROOT to the location of
>>   Boost.
>> Call Stack (most recent call first):
>>   cmake/FindCGAL.cmake:42 (find_package)
>>   CMakeLists.txt:303 (find_package)
>>
>> I am on Ubuntu 14.04. A few outputs from my system:
>>
>> $ dpkg -l | grep boost
>> ii  libboost-date-time1.54.0:amd64
>> 1.54.0-4ubuntu3.1                                   amd64        set of
>> date-time libraries based on generic programming concepts
>> ii  libboost-dev
>> 1.54.0.1ubuntu1                                     amd64        Boost C++
>> Libraries development files (default version)
>> ii  libboost-graph-dev:amd64
>> 1.54.0.1ubuntu1                                     amd64        generic
>> graph components and algorithms in C++ (default version)
>> ii  libboost-graph1.54-dev:amd64
>> 1.54.0-4ubuntu3.1                                   amd64        generic
>> graph components and algorithms in C++
>> ii  libboost-graph1.54.0:amd64
>> 1.54.0-4ubuntu3.1                                   amd64        generic
>> graph components and algorithms in C++
>> ii  libboost-iostreams-dev:amd64
>> 1.54.0.1ubuntu1                                     amd64
>> Boost.Iostreams Library development files (default version)
>> ii  libboost-iostreams1.54-dev:amd64
>> 1.54.0-4ubuntu3.1                                   amd64
>> Boost.Iostreams Library development files
>> ii  libboost-iostreams1.54.0:amd64
>> 1.54.0-4ubuntu3.1                                   amd64
>> Boost.Iostreams Library
>> ii  libboost-regex1.54-dev:amd64
>> 1.54.0-4ubuntu3.1                                   amd64        regular
>> expression library for C++
>> ii  libboost-regex1.54.0:amd64
>> 1.54.0-4ubuntu3.1                                   amd64        regular
>> expression library for C++
>> ii  libboost-serialization1.54-dev:amd64
>> 1.54.0-4ubuntu3.1                                   amd64
>> serialization library for C++
>> ii  libboost-serialization1.54.0:amd64
>> 1.54.0-4ubuntu3.1                                   amd64
>> serialization library for C++
>> ii  libboost-system1.54.0:amd64
>> 1.54.0-4ubuntu3.1                                   amd64        Operating
>> system (e.g. diagnostics support) library
>> ii  libboost-test1.54-dev:amd64
>> 1.54.0-4ubuntu3.1                                   amd64        components
>> for writing and executing test suites
>> ii  libboost-test1.54.0:amd64
>> 1.54.0-4ubuntu3.1                                   amd64        components
>> for writing and executing test suites
>> ii  libboost-thread1.46.1
>> 1.46.1-7ubuntu3                                     amd64        portable
>> C++ multi-threading
>> ii  libboost1.54-dev
>> 1.54.0-4ubuntu3.1                                   amd64        Boost C++
>> Libraries development files
>>
>> $ locate boost_thread
>> /usr/lib/libboost_thread.so.1.46.1
>>
>> $ locate boost_system
>> /usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0
>>
>> $ whereis boost
>> boost: /usr/include/boost
>>
>> $ cat /etc/environment | grep BOOST
>> BOOST_LIBRARYDIR="/usr/lib/x86_64-linux-gnu/:/usr/lib/"
>> BOOST_ROOT="/usr/include/boost"
>>
>> Any ideas on why isn't cmake finding Boost? Thank you,
>>
>> Luís
>>
>> _______________________________________________
>> pgrouting-dev mailing list
>> pgrouting-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>>
>
>
>
> --
> Georepublic UG & Georepublic Japan
> eMail: daniel.kastl at georepublic.de
> Web: http://georepublic.info
>
> _______________________________________________
> pgrouting-dev mailing list
> pgrouting-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20140718/31790bb5/attachment.html>


More information about the pgrouting-dev mailing list