Date: Sat, 30 Dec 2006 13:33:29 +0100 From: hans@lambermont.dyndns.org (Hans Lambermont) To: freebsd-questions@freebsd.org Subject: Compiling Blender with Python2.4 woes Message-ID: <20061230123329.GK2989@leia.lambermont.dyndns.org>
next in thread | raw e-mail | index | archive | help
Hi, I'm the Blender platform maintainer for FreeBSD, however I do not maintain ports/graphics/blender anymore. Blender (with gameengine enabled) compiles fine against python2.3, but when using python2.4 or python2.5 compilation fails in a manner that I cannot resolve. It boils down to something that is not Blender related anymore. A file consisting of just 3 includes : #include <vector> #include "Python.h" #include <iostream> fails to compile (g++ -I/usr/local/include/python2.4 testfile.cpp) with : In file included from /usr/include/c++/3.4/ios:48, from /usr/include/c++/3.4/ostream:45, from /usr/include/c++/3.4/iostream:45, from testfile.cpp:3: /usr/include/c++/3.4/bits/localefwd.h:58:34: macro "isspace" passed 2 arguments, but takes just 1 In file included from /usr/include/c++/3.4/ios:48, from /usr/include/c++/3.4/ostream:45, from /usr/include/c++/3.4/iostream:45, from testfile.cpp:3: /usr/include/c++/3.4/bits/localefwd.h:58: error: `std::isspace' declared as an `inline' variable /usr/include/c++/3.4/bits/localefwd.h:58: error: template declaration of `bool std::isspace' /usr/include/c++/3.4/bits/localefwd.h:70:34: macro "isupper" passed 2 arguments, but takes just 1 etc. This is tested with 5.4-RELEASE and 6.1-RELEASE. Any help in resolving this is appreciated. regards, Hans Lambermont
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061230123329.GK2989>