Boost logo

Boost :

From: Clemens Frey (frey_at_[hidden])
Date: 2000-12-21 07:02:00


Hallo everyone,

I am trying to get the boost libraries to work
on my Linux-machine. I wanted to compile the
random_demo.cpp file, but just got the following
messages:

gcc -v -idirafter boost_1_19_0 random_demo.cpp

Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)
 /usr/lib/gcc-lib/i386-linux/2.95.2/cpp -lang-c++ -v -D__GNUC__=2
-D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix
-D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix
-D__linux -Asystem(posix) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386)
-Di386 -D__i386 -D__i386__ -idirafter boost_1_19_0 random_demo.cpp
/tmp/cchjIBKw.ii
GNU CPP version 2.95.2 20000220 (Debian GNU/Linux) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc-lib/i386-linux/2.95.2/../../../../include/g++-3
 /usr/lib/gcc-lib/i386-linux/2.95.2/include
 /usr/include
 boost_1_19_0
End of search list.
The following default directories have been omitted from the search
path:
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/2.95.2/../../../../i386-linux/include
End of omitted list.
In file included from random_demo.cpp:21:
boost_1_19_0/boost/random.hpp:39: limits: No such file or directory
In file included from boost_1_19_0/boost/random.hpp:51,
                 from random_demo.cpp:21:
boost_1_19_0/boost/integer_traits.hpp:21: limits: No such file or
directory

On the Compiler Status table for Linux/x86 there is a short comment
that "A hand-crafted <limits> Standard header has been applied to
all configurations." ---

What shall I do ?

Thanks for help

Clemens

------------------------------------------------------------
Clemens Frey
Darmstadt University of Technology
Mathematical Institute, AG 10
Schloßgartenstraße 7
D-64289 Darmstadt (Germany)

phone: +49(0)6151/16-4706
  fax: +49(0)6151/16-4011
email: frey_at_[hidden]
  www: http://www.mathematik.tu-darmstadt.de/~frey/
------------------------------------------------------------


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