cat log.out 08-05 10:51 PythonOgre.BuildModule INFO Building Source code for ogre 08-05 10:51 PythonOgre.BuildModule DEBUG Spawning 'python generate_code.py --usesystem' in '/home/koteko/pyogre-dev/python-ogre/code_generators/ogre' 08-05 10:52 PythonOgre.BuildModule WARNING Task Failed 08-05 10:52 PythonOgre.BuildModule DEBUG ***** : 08-05 10:52 PythonOgre.BuildModule DEBUG INFO Creating xml file "/home/koteko/pyogre-dev/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml" from source file "/home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre.h" ... pygccxml.cxx_parser: INFO Creating xml file "/home/koteko/pyogre-dev/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml" from source file "/home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre.h" ... INFO gccxml cmd: /usr/bin/gccxml -I"/home/koteko/pyogre-dev/python-ogre" -I"/home/koteko/pyogre-dev/python-ogre/code_generators/ogre" -I"/usr/include/boost" -I"/usr/include/OGRE" -I"/usr/include/OGRE/Property" -I"/usr/include/python2.7/" -D"OGRE_NONCLIENT_BUILD" -D"OGRE_GCC_VISIBILITY" -D"__PYTHONOGRE_BUILD_CODE" -D"HAVE_OGRE_BUILDSETTINGS_H" -D"__GCCXML__" -D"OGRE_VERSION_1.7.2" "/home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre.h" -fxml="/home/koteko/pyogre-dev/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml" pygccxml.cxx_parser: INFO gccxml cmd: /usr/bin/gccxml -I"/home/koteko/pyogre-dev/python-ogre" -I"/home/koteko/pyogre-dev/python-ogre/code_generators/ogre" -I"/usr/include/boost" -I"/usr/include/OGRE" -I"/usr/include/OGRE/Property" -I"/usr/include/python2.7/" -D"OGRE_NONCLIENT_BUILD" -D"OGRE_GCC_VISIBILITY" -D"__PYTHONOGRE_BUILD_CODE" -D"HAVE_OGRE_BUILDSETTINGS_H" -D"__GCCXML__" -D"OGRE_VERSION_1.7.2" "/home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre.h" -fxml="/home/koteko/pyogre-dev/python-ogre/code_generators/cache/ogre_1.7.2_cache.xml" Traceback (most recent call last): File "generate_code.py", line 1484, in generate_code() File "generate_code.py", line 1213, in generate_code , cflags=environment.ogre.cflags File "/usr/local/lib/python2.7/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 95, in __init__ , indexing_suite_version) File "/usr/local/lib/python2.7/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 138, in __parse_declarations decls = reader.read_files( files, compilation_mode ) File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/project_reader.py", line 217, in read_files return self.__parse_file_by_file(files) File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/project_reader.py", line 254, in __parse_file_by_file reader.create_xml_file( header, prj_file.cached_source_file ) File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/source_reader.py", line 179, in create_xml_file raise error pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while running GCC-XML: In file included from /usr/include/c++/4.5/vector:64, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre.h:7: /usr/include/c++/4.5/bits/stl_uninitialized.h: In function 'void std::__uninitialized_construct_range(_ForwardIterator, _ForwardIterator, _Tp&)': /usr/include/c++/4.5/bits/stl_uninitialized.h:230: error: a function call cannot appear in a constant-expression /usr/include/c++/4.5/bits/stl_uninitialized.h:230: error: template argument 1 is invalid /usr/include/c++/4.5/bits/stl_uninitialized.h:230: error: invalid type in declaration before '(' token /usr/include/c++/4.5/bits/stl_uninitialized.h:230: error: invalid use of qualified-name '::__ucr' In file included from /usr/include/c++/4.5/tr1/type_traits:47, from /usr/include/c++/4.5/tr1/unordered_map:39, from /usr/include/OGRE/OgreStdHeaders.h:40, from /usr/include/OGRE/OgrePrerequisites.h:411, from /usr/include/OGRE/Ogre.h:32, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre.h:11: /usr/include/c++/4.5/tr1_impl/type_traits: At global scope: /usr/include/c++/4.5/tr1_impl/type_traits:207: error: a function call cannot appear in a constant-expression /usr/include/c++/4.5/tr1_impl/type_traits:207: error: template argument 2 is invalid /usr/include/c++/4.5/tr1_impl/type_traits:213: error: a function call cannot appear in a constant-expression /usr/include/c++/4.5/tr1_impl/type_traits:213: error: template argument 2 is invalid /usr/include/c++/4.5/tr1_impl/type_traits:219: error: a function call cannot appear in a constant-expression /usr/include/c++/4.5/tr1_impl/type_traits:219: error: template argument 2 is invalid /usr/include/c++/4.5/tr1_impl/type_traits:226: error: expected nested-name-specifier before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:226: error: expected '>' before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:227: error: '_ArgTypes' was not declared in this scope /usr/include/c++/4.5/tr1_impl/type_traits:227: error: type/value mismatch at argument 1 in template parameter list for 'template struct std::tr1::is_function' /usr/include/c++/4.5/tr1_impl/type_traits:227: error: expected a type, got '(_Res)()' /usr/include/c++/4.5/tr1_impl/type_traits:229: error: expected nested-name-specifier before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:229: error: expected '>' before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:230: error: '_ArgTypes' was not declared in this scope /usr/include/c++/4.5/tr1_impl/type_traits:230: error: type/value mismatch at argument 1 in template parameter list for 'template struct std::tr1::is_function' /usr/include/c++/4.5/tr1_impl/type_traits:230: error: expected a type, got '(_Res)()' /usr/include/c++/4.5/tr1_impl/type_traits:232: error: expected nested-name-specifier before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:232: error: expected '>' before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:233: error: '_ArgTypes' was not declared in this scope /usr/include/c++/4.5/tr1_impl/type_traits:233: error: type/value mismatch at argument 1 in template parameter list for 'template struct std::tr1::is_function' /usr/include/c++/4.5/tr1_impl/type_traits:233: error: expected a type, got '(_Res)()' /usr/include/c++/4.5/tr1_impl/type_traits:235: error: expected nested-name-specifier before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:235: error: expected '>' before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:236: error: '_ArgTypes' was not declared in this scope /usr/include/c++/4.5/tr1_impl/type_traits:236: error: type/value mismatch at argument 1 in template parameter list for 'template struct std::tr1::is_function' /usr/include/c++/4.5/tr1_impl/type_traits:236: error: expected a type, got '(_Res)()' /usr/include/c++/4.5/tr1_impl/type_traits:238: error: expected nested-name-specifier before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:238: error: expected '>' before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:239: error: '_ArgTypes' was not declared in this scope /usr/include/c++/4.5/tr1_impl/type_traits:239: error: type/value mismatch at argument 1 in template parameter list for 'template struct std::tr1::is_function' /usr/include/c++/4.5/tr1_impl/type_traits:239: error: expected a type, got '(_Res)()' /usr/include/c++/4.5/tr1_impl/type_traits:241: error: expected nested-name-specifier before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:241: error: expected '>' before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:242: error: '_ArgTypes' was not declared in this scope /usr/include/c++/4.5/tr1_impl/type_traits:242: error: type/value mismatch at argument 1 in template parameter list for 'template struct std::tr1::is_function' /usr/include/c++/4.5/tr1_impl/type_traits:242: error: expected a type, got '(_Res)()' /usr/include/c++/4.5/tr1_impl/type_traits:244: error: expected nested-name-specifier before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:244: error: expected '>' before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:245: error: '_ArgTypes' was not declared in this scope /usr/include/c++/4.5/tr1_impl/type_traits:245: error: type/value mismatch at argument 1 in template parameter list for 'template struct std::tr1::is_function' /usr/include/c++/4.5/tr1_impl/type_traits:245: error: expected a type, got '(_Res)()' /usr/include/c++/4.5/tr1_impl/type_traits:247: error: expected nested-name-specifier before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:247: error: expected '>' before '...' token /usr/include/c++/4.5/tr1_impl/type_traits:248: error: '_ArgTypes' was not declared in this scope /usr/include/c++/4.5/tr1_impl/type_traits:248: error: type/value mismatch at argument 1 in template parameter list for 'template struct std::tr1::is_function' /usr/include/c++/4.5/tr1_impl/type_traits:248: error: expected a type, got '(_Res)()' /usr/include/c++/4.5/tr1_impl/type_traits:333: error: a function call cannot appear in a constant-expression /usr/include/c++/4.5/tr1_impl/type_traits:333: error: template argument 2 is invalid /usr/include/c++/4.5/tr1_impl/type_traits:339: error: a function call cannot appear in a constant-expression /usr/include/c++/4.5/tr1_impl/type_traits:339: error: template argument 2 is invalid /usr/include/c++/4.5/tr1_impl/type_traits:345: error: a function call cannot appear in a constant-expression /usr/include/c++/4.5/tr1_impl/type_traits:345: error: template argument 2 is invalid In file included from /usr/include/c++/4.5/tr1/unordered_map:39, from /usr/include/OGRE/OgreStdHeaders.h:40, from /usr/include/OGRE/OgrePrerequisites.h:411, from /usr/include/OGRE/Ogre.h:32, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre.h:11: /usr/include/c++/4.5/tr1/type_traits:147: error: expected primary-expression before ',' token /usr/include/c++/4.5/tr1/type_traits:147: error: expected primary-expression before ')' token /usr/include/c++/4.5/tr1/type_traits:147: error: a function call cannot appear in a constant-expression /usr/include/c++/4.5/tr1/type_traits:241: error: requested alignment is not a constant In file included from /usr/include/OGRE/OgreStdHeaders.h:64, from /usr/include/OGRE/OgrePrerequisites.h:411, from /usr/include/OGRE/Ogre.h:32, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/./python_ogre_include_OGRE.h:24, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre_masterlist.h:11, from /home/koteko/pyogre-dev/python-ogre/code_generators/ogre/python_ogre.h:11: /usr/include/c++/4.5/iomanip: In function 'std::_Resetiosflags std::resetiosflags(std::_Ios_Fmtflags)': /usr/include/c++/4.5/iomanip:64: error: expected primary-expression before '{' token /usr/include/c++/4.5/iomanip:64: error: expected ';' before '{' token /usr/include/c++/4.5/iomanip:64: error: expected `;' before '}' token /usr/include/c++/4.5/iomanip: In function 'std::_Setiosflags std::setiosflags(std::_Ios_Fmtflags)': /usr/include/c++/4.5/iomanip:94: error: expected primary-expression before '{' token /usr/include/c++/4.5/iomanip:94: error: expected ';' before '{' token /usr/include/c++/4.5/iomanip:94: error: expected `;' before '}' token /usr/include/c++/4.5/iomanip: In function 'std::_Setbase std::setbase(int)': /usr/include/c++/4.5/iomanip:125: error: expected primary-expression before '{' token /usr/include/c++/4.5/iomanip:125: error: expected ';' before '{' token /usr/include/c++/4.5/iomanip:125: error: expected `;' before '}' token /usr/include/c++/4.5/iomanip: In function 'std::_Setfill<_CharT> std::setfill(_CharT)': /usr/include/c++/4.5/iomanip:163: error: expected primary-expression before '{' token /usr/include/c++/4.5/iomanip:163: error: expected ';' before '{' token /usr/include/c++/4.5/iomanip:163: error: expected `;' before '}' token /usr/include/c++/4.5/iomanip: In function 'std::_Setprecision std::setprecision(int)': /usr/include/c++/4.5/iomanip:193: error: expected primary-expression before '{' token /usr/include/c++/4.5/iomanip:193: error: expected ';' before '{' token /usr/include/c++/4.5/iomanip:193: error: expected `;' before '}' token /usr/include/c++/4.5/iomanip: In function 'std::_Setw std::setw(int)': /usr/include/c++/4.5/iomanip:223: error: expected primary-expression before '{' token /usr/include/c++/4.5/iomanip:223: error: expected ';' before '{' token /usr/include/c++/4.5/iomanip:223: error: expected `;' before '}' token