Hi, I'm trying to compile yade 1161 under Centos 5 and it ends with errors, see below. Any hints? Thanks, David Hrbáč
Packages: gcc-c++-4.1.1-52.el5.2 qt-3.3.6-20.el5 qt-devel-3.3.6-20.el5 extra/clump/pyade.cpp:17: error: expected initializer before '*' token extra/clump/pyade.cpp:18: error: expected constructor, destructor, or type conversion before '*' token extra/clump/pyade.cpp:19: error: expected constructor, destructor, or type conversion before '*' token extra/clump/pyade.cpp:20: error: expected constructor, destructor, or type conversion before '*' token extra/clump/pyade.cpp:21: error: expected constructor, destructor, or type conversion before '*' token extra/clump/pyade.cpp:22: error: expected constructor, destructor, or type conversion before '*' token extra/clump/pyade.cpp:23: error: expected constructor, destructor, or type conversion before '*' token extra/clump/pyade.cpp:24: error: expected constructor, destructor, or type conversion before '*' token extra/clump/pyade.cpp:25: error: expected constructor, destructor, or type conversion before '*' token extra/clump/pyade.cpp:26: error: expected constructor, destructor, or type conversion before '*' token extra/clump/pyade.cpp:51: error: expected initializer before '*' token extra/clump/PythonRecorder.hpp:24: error: ISO C++ forbids declaration of 'PyObject' with no type extra/clump/PythonRecorder.hpp:24: error: expected ';' before '*' token extra/clump/PythonRecorder.hpp:26: error: ISO C++ forbids declaration of 'PyObject' with no type extra/clump/PythonRecorder.hpp:26: error: expected ';' before '*' token extra/clump/PythonRecorder.cpp: In constructor 'PythonRecorder::PythonRecorder()': extra/clump/PythonRecorder.cpp:21: error: 'PyRun_SimpleString' was not declared in this scope extra/clump/PythonRecorder.cpp:35: error: 'compiledRunExprCall' was not declared in this scope extra/clump/PythonRecorder.cpp: In member function 'virtual void PythonRecorder::postProcessAttributes(bool)': extra/clump/PythonRecorder.cpp:48: error: 'PyRun_SimpleString' was not declared in this scope extra/clump/PythonRecorder.cpp:51: error: 'PyRun_SimpleString' was not declared in this scope extra/clump/PythonRecorder.cpp:55: error: 'compiledRunExprCall' was not declared in this scope extra/clump/PythonRecorder.cpp:55: error: 'Py_DECREF' was not declared in this scope extra/clump/PythonRecorder.cpp:62: error: 'PyRun_SimpleString' was not declared in this scope extra/clump/PythonRecorder.cpp:66: error: 'compiledRunExprCall' was not declared in this scope extra/clump/PythonRecorder.cpp:66: error: 'Py_single_input' was not declared in this scope extra/clump/PythonRecorder.cpp:66: error: 'Py_CompileString' was not declared in this scope extra/clump/PythonRecorder.cpp:68: error: 'PyObject' was not declared in this scope extra/clump/PythonRecorder.cpp:68: error: '__main__' was not declared in this scope extra/clump/PythonRecorder.cpp:68: error: 'PyImport_AddModule' was not declared in this scope extra/clump/PythonRecorder.cpp:69: error: 'mainDict' was not declared in this scope extra/clump/PythonRecorder.cpp:69: error: 'PyModule_GetDict' was not declared in this scope extra/clump/PythonRecorder.cpp: In member function 'virtual void PythonRecorder::action(Body*)': extra/clump/PythonRecorder.cpp:77: error: 'compiledRunExprCall' was not declared in this scope extra/clump/PythonRecorder.cpp:78: error: 'PyObject' was not declared in this scope extra/clump/PythonRecorder.cpp:78: error: 'res' was not declared in this scope extra/clump/PythonRecorder.cpp:78: error: 'PyCodeObject' was not declared in this scope extra/clump/PythonRecorder.cpp:78: error: expected primary-expression before ')' token extra/clump/PythonRecorder.cpp:78: error: 'mainDict' was not declared in this scope extra/clump/PythonRecorder.cpp:78: error: 'PyEval_EvalCode' was not declared in this scope extra/clump/PythonRecorder.cpp:79: error: 'Py_DECREF' was not declared in this scope scons: *** [/tmp/build-svn1161/extra/clump/pyade.os] Error 1 scons: *** [/tmp/build-svn1161/extra/clump/PythonRecorder.os] Error 1 extra/spherical-dem-simulator/SphericalDEMSimulator.cpp: In member function 'virtual void SphericalDEMSimulator::run(int)': extra/spherical-dem-simulator/SphericalDEMSimulator.cpp:108: warning: comparison between signed and unsigned integer expressions scons: building terminated because of errors. _______________________________________________ yade-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/yade-dev
