On Wed, Dec 29, 2010 at 3:15 PM, Christopher Schmidt <mr.chr.schmidt@online.de> wrote:

It's Python. Out-of-the-box Python 2.7 pyconfig.h on Windows defines
hypot as _hypot which subsequently cripples the declaration of hypot in
<math.h> and ultimately breaks the using declaration in <cmath> .

A simple fix is to include <cmath> before including <boost/python.hpp> .
Other than that, you may try configuring python yourself via autoreconf.

BTW. nice project. Keep up the good work!

-Christopher

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users


That worked! Thanks to both of you for the the help.