Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-02-12 13:05:51


Hi Uli,

Since your system does not have the <limits> header file, you will need to
define BOOST_NO_LIMITS. This should have already been defined in
boost/config.hpp. What compiler/OS are you using?

On Mon, 12 Feb 2001, Uli Baier wrote:

ubaier> Hi!
ubaier>
ubaier> I have to do a homework concerning some ggcl/boost algorithms. I have
ubaier> downloaded some *.cpp exapmles from the site (for examples the bfs.cpp
ubaier> and the bellman_ford.cpp file) and now I have a problem to compile
ubaier> these files. It seems to me, like there is a file missing named
ubaier> 'limit'.
ubaier> This is the error message:
ubaier> In file included from /usr/include/boost/concept_check.hpp:14,
ubaier> from /usr/include/boost/property_map.hpp:13,
ubaier> from /usr/include/boost/graph/adjacency_list.hpp:47,
ubaier> from prim.cpp:55:
ubaier> /usr/include/boost/pending/limits.hpp:403:18: limits: Datei oder Verzeichnis nicht gefunden
ubaier> In file included from /usr/include/boost/counting_iterator.hpp:49,
ubaier> from /usr/include/boost/pending/integer_range.hpp:15,
ubaier> from /usr/include/boost/graph/detail/adjacency_list.hpp:34,
ubaier> from /usr/include/boost/graph/adjacency_list.hpp:293,
ubaier> from prim.cpp:55:
ubaier> /usr/include/boost/detail/numeric_traits.hpp:69:20: limits: Datei oder Verzeichnis nicht gefunden
ubaier> In file included from /usr/include/boost/pending/integer_range.hpp:15,
ubaier> from /usr/include/boost/graph/detail/adjacency_list.hpp:34,
ubaier> from /usr/include/boost/graph/adjacency_list.hpp:293,
ubaier> from prim.cpp:55:
ubaier> /usr/include/boost/counting_iterator.hpp:52:20: limits: Datei oder Verzeichnis nicht gefundenq
ubaier>
ubaier> I've tried the limit.h file from my Linux, but it doesn't really work. Could' you
ubaier> help me or give me a hint, to compile these samplefiles?
ubaier>
ubaier> Thanx a lot,
ubaier> Uli
ubaier>
ubaier>
ubaier>

----------------------------------------------------------------------
 Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906
----------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk