Login  Register

Re: Problem building python module

Posted by Luigi Ballabio-4 on Apr 16, 2002; 3:46am
URL: http://quantlib.414.s1.nabble.com/Problem-building-python-module-tp1984p1990.html

At 11:02 AM 4/16/02 +0200, Gerrit Van Dyk wrote:
>I am now trying to run "python2 setup.py build" but this returns a compile
>error complaining about limits that could not be found.
>The include statement is in /usr/local/include/ql/qldefines.hpp:146:22. This
>include just includes <limits>.

Gerrit,
         I'll give it a shot. First of all, please take a look inside
/usr/local/include/ql/config.hpp or wherever the QuantLib headers got
installed and tell me whether there is a line inside reading
#define HAVE_LIMITS 1
(note: LIMITS, not CLIMITS neither LIMITS_H)
Oh, and another piece of info: which gcc version are you running?

Later,
         Luigi