[pgrouting-users] Boost CHAR_BIT Error

Inde Brasil mailing at indebrasil.com
Tue Apr 14 16:39:35 EDT 2009


Steve,

You're right. This workaround worked fine.

Thanks.

2009/4/14 Stephen Woodbridge <woodbri at swoodbridge.com>

> Just added workaround to the ticket:
>
> http://pgrouting.postlbs.org/ticket/138#comment:4
>
> -Steve
>
> Inde Brasil wrote:
>
>> Guys,
>>
>> I'm installing PgRouting in a Debian Lenny box. I ran cmake command
>> successfully but when i execute make command i get this:
>>
>> [ 16%] Building CXX object core/src/CMakeFiles/routing.dir/boost_wrapper.o
>> In file included from /usr/include/c++/4.3/ext/hash_set:64,
>>                 from /usr/include/boost/graph/adjacency_list.hpp:22,
>>                 from /usr/local/pgrouting/core/src/boost_wrapper.cpp:25:
>> /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning
>> This file includes at least one deprecated or antiquated header which may be
>> removed without further notice at a future date. Please use a non-deprecated
>> interface with equivalent functionality instead. For a listing of
>> replacement headers and interfaces, consult the file backward_warning.h. To
>> disable this warning use -Wno-deprecated.
>> In file included from
>> /usr/include/boost/graph/dijkstra_shortest_paths.hpp:19,
>>                 from /usr/local/pgrouting/core/src/boost_wrapper.cpp:26:
>> /usr/include/boost/pending/relaxed_heap.hpp: In member function ‘size_t
>> boost::relaxed_heap<IndexedType, Compare, ID>::log_base_2(size_t)’:
>> /usr/include/boost/pending/relaxed_heap.hpp:101: error: ‘CHAR_BIT’ was not
>> declared in this scope
>> make[2]: ** [core/src/CMakeFiles/routing.dir/boost_wrapper.o] Erro 1
>> make[1]: ** [core/src/CMakeFiles/routing.dir/all] Erro 2
>> make: ** [all] Erro 2
>>
>> I found some references about this problem (
>> http://pgrouting.postlbs.org/ticket/138), but no solution.
>>
>> My boost version is 1.34.1-14.
>>
>> Could you help me ?
>>
>> Thanks so far.
>>
>> --
>> Tadeu Granemann - INDE Brasil
>> http://www.indebrasil.com
>> contato at indebrasil.com <mailto:contato at indebrasil.com>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Pgrouting-users mailing list
>> Pgrouting-users at lists.postlbs.org
>> http://lists.postlbs.org/mailman/listinfo/pgrouting-users
>>
>
>


-- 
Tadeu Granemann - INDE Brasil
http://www.indebrasil.com
contato at indebrasil.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20090414/3b7b0da8/attachment.html


More information about the Pgrouting-users mailing list