List Info

Thread: Compiling Blender with Python2.4 woes




Compiling Blender with Python2.4 woes
user name
2006-12-30 12:33:29
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
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )