rev 295 not compiling

Asked by brankooo

PLease not compiling debug and release mode

build/debug-default/swig/python_wrap.cc:151:20: error: Python.h: Adresár alebo súbor neexistuje
build/debug-default/swig/python_wrap.cc:3125:23: error: pythread.h: Adresár alebo súbor neexistuje
build/debug-default/swig/python_wrap.cc:3381:4: error: #error "This python version requires swig to be run with the '-classic' option"
build/debug-default/swig/python_wrap.cc:3385:3: error: #error "This python version requires swig to be run with the '-nomodern' option"
build/debug-default/swig/python_wrap.cc:3388:3: error: #error "This python version requires swig to be run with the '-nomodernargs' option"
build/debug-default/swig/python_wrap.cc:3391:3: error: #error "This python version requires swig to be run with the '-nofastunpack' option"
build/debug-default/swig/python_wrap.cc:782: error: ‘PyObject’ was not declared in this scope
build/debug-default/swig/python_wrap.cc:782: error: ‘str’ was not declared in this scope
build/debug-default/swig/python_wrap.cc:783: error: expected ‘,’ or ‘;’ before ‘{’ token
build/debug-default/swig/python_wrap.cc:806: error: expected initializer before ‘*’ token
build/debug-default/swig/python_wrap.cc:832: error: expected initializer before ‘*’ token
build/debug-default/swig/python_wrap.cc:886: error: expected initializer before ‘*’ token
build/debug-default/swig/python_wrap.cc:907: error: expected initializer before ‘*’ token
In file included from boost/boost/tr1/tr1/exception:25,
                 from /usr/include/c++/4.3/new:45,
                 from boost/boost/tr1/tr1/new:21,
                 from /usr/include/c++/4.3/ext/new_allocator.h:37,
                 from /usr/include/c++/4.3/x86_64-linux-gnu/bits/c++allocator.h:39,
                 from /usr/include/c++/4.3/bits/allocator.h:53,
                 from /usr/include/c++/4.3/string:48,
                 from boost/boost/tr1/tr1/string:18,
                 from ./adchpp/adchpp.h:107,
                 from build/debug-default/swig/python_wrap.cc:2692:
/usr/include/c++/4.3/exception:40: error: expected declaration before end of line
scons: *** [build/debug-default/swig/python_wrap.os] Error 1
scons: building terminated because of errors.

Info: uname -a Debian
Linux 2.6.32.2-x00r #1 SMP Tue Jan 5 08:24:39 CET 2010 x86_64 GNU/Linux

Info: swig -version
SWIG Version 1.3.36

Info: scons -version
SCons by Steven Knight et al.:s cript: v1.0.0.r3266

Info:python --version
Python 2.5.2

Question information

Language:
English Edit question
Status:
Answered
For:
ADCH++ Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Toast (swetoast-deactivatedaccount) said :
#1

seems you dont have the correct python version 2.6.x you could simply rem the python part from building in SConscript at line 130 or try getting your python upgraded to the correct version needed can be tricky however hope this helps.

Revision history for this message
brankooo (brankooo) said :
#2

Thank you it was a problem in Python, yet I want to ask how many users it can handle, tightened to 500 to 1000 User ?????

Can you help with this problem?

Provide an answer of your own, or ask brankooo for more information if necessary.

To post a message you must log in.