i followed these instructions :
http://vegastrike.sourceforge.net/wiki/ ... u_Linux%29
during "make" i got the following errors :
Code: Select all
objconv/mesher/to_OgreMesh.cpp:46: error: reference to 'map' is ambiguous
/usr/include/c++/4.4/bits/stl_map.h:86: error: candidates are: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
/usr/local/include/OGRE/OgrePrerequisites.h:497: error: template<class K, class V, class P, class A> struct Ogre::map
please help =)
ps : congrats on finishing the soundsystem =)
full error output :
Code: Select all
...
mv -f src/.deps/mesher-xml_support.Tpo src/.deps/mesher-xml_support.Po
g++ -DHAVE_CONFIG_H -I. -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -I/usr/include/python2.6 -DHAVE_PYTHON=1 -I./src -pthread -I/usr/local/include -I/usr/local/include/OGRE -I../../src -I../.. -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT objconv/mesher/Modules/mesher-XMesh_to_Ogre.o -MD -MP -MF objconv/mesher/Modules/.deps/mesher-XMesh_to_Ogre.Tpo -c -o objconv/mesher/Modules/mesher-XMesh_to_Ogre.o `test -f 'objconv/mesher/Modules/XMesh_to_Ogre.cpp' || echo './'`objconv/mesher/Modules/XMesh_to_Ogre.cpp
mv -f objconv/mesher/Modules/.deps/mesher-XMesh_to_Ogre.Tpo objconv/mesher/Modules/.deps/mesher-XMesh_to_Ogre.Po
g++ -DHAVE_CONFIG_H -I. -I../../src -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -I/usr/include/python2.6 -DHAVE_PYTHON=1 -I./src -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/mesh_xml-xml_support.o -MD -MP -MF src/.deps/mesh_xml-xml_support.Tpo -c -o src/mesh_xml-xml_support.o `test -f 'src/xml_support.cpp' || echo './'`src/xml_support.cpp
mv -f src/.deps/mesh_xml-xml_support.Tpo src/.deps/mesh_xml-xml_support.Po
g++ -DHAVE_CONFIG_H -I. -I../../src -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DHAVE_OGG -I/usr/include/python2.6 -DHAVE_PYTHON=1 -I./src -pipe -DNV_CUBE_MAP -O3 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT objconv/MeshParse/tempgen-template_generator.o -MD -MP -MF objconv/MeshParse/.deps/tempgen-template_generator.Tpo -c -o objconv/MeshParse/tempgen-template_generator.o `test -f 'objconv/MeshParse/template_generator.cpp' || echo './'`objconv/MeshParse/template_generator.cpp
objconv/mesher/to_OgreMesh.cpp:46: error: reference to 'map' is ambiguous
/usr/include/c++/4.4/bits/stl_map.h:86: error: candidates are: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
/usr/local/include/OGRE/OgrePrerequisites.h:497: error: template<class K, class V, class P, class A> struct Ogre::map
objconv/mesher/to_OgreMesh.cpp:46: error: 'map' has not been declared
objconv/mesher/to_OgreMesh.cpp:46: error: expected ',' or '...' before '<' token
objconv/mesher/to_OgreMesh.cpp: In function 'void replaceVars(std::string&, int)':
objconv/mesher/to_OgreMesh.cpp:57: error: reference to 'map' is ambiguous
/usr/include/c++/4.4/bits/stl_map.h:86: error: candidates are: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
/usr/local/include/OGRE/OgrePrerequisites.h:497: error: template<class K, class V, class P, class A> struct Ogre::map
objconv/mesher/to_OgreMesh.cpp:57: error: expected primary-expression before ',' token
objconv/mesher/to_OgreMesh.cpp:57: error: expected primary-expression before '>' token
objconv/mesher/to_OgreMesh.cpp:57: error: '::const_iterator' has not been declared
objconv/mesher/to_OgreMesh.cpp:57: error: expected ';' before 'it'
objconv/mesher/to_OgreMesh.cpp:58: error: 'it' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp:58: error: 'variables' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp: In function 'std::string getMaterialHash(const GFXMaterial&, bool, bool, bool, float, int, int, float)':
objconv/mesher/to_OgreMesh.cpp:121: warning: unknown conversion type character 'U' in format
objconv/mesher/to_OgreMesh.cpp:123: warning: unknown conversion type character 'U' in format
objconv/mesher/to_OgreMesh.cpp:125: warning: unknown conversion type character 'U' in format
objconv/mesher/to_OgreMesh.cpp:127: warning: unknown conversion type character 'U' in format
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:145: error: ISO C++ forbids declaration of 'vector' with no type
objconv/mesher/to_OgreMesh.cpp:145: error: expected ',' or '...' before '<' token
objconv/mesher/to_OgreMesh.cpp: In function 'std::string& operator+=(std::string&, int)':
objconv/mesher/to_OgreMesh.cpp:147: error: expected primary-expression before 'unsigned'
objconv/mesher/to_OgreMesh.cpp:147: error: expected ';' before 'unsigned'
objconv/mesher/to_OgreMesh.cpp:147: error: 'it' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp:147: error: 'ucarr' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:152: error: ISO C++ forbids declaration of 'vector' with no type
objconv/mesher/to_OgreMesh.cpp:152: error: expected ',' or '...' before '<' token
objconv/mesher/to_OgreMesh.cpp: In function 'std::string tostring(int)':
objconv/mesher/to_OgreMesh.cpp:155: error: 'ucarr' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp: In function 'std::string getMaterialHash(const XML&)':
objconv/mesher/to_OgreMesh.cpp:164: error: reference to 'vector' is ambiguous
/usr/include/c++/4.4/bits/stl_vector.h:170: error: candidates are: template<class _Tp, class _Alloc> class std::vector
/usr/local/include/OGRE/OgrePrerequisites.h:467: error: template<class T, class A> struct Ogre::vector
objconv/mesher/to_OgreMesh.cpp:164: error: expected primary-expression before '>' token
objconv/mesher/to_OgreMesh.cpp:164: error: '::size_type' has not been declared
objconv/mesher/to_OgreMesh.cpp:164: error: expected ';' before 'i'
objconv/mesher/to_OgreMesh.cpp:177: error: 'i' was not declared in this scope
objconv/mesher/to_OgreMesh.cpp:187: error: no match for 'operator+=' in 'hash += memfile->XML::detailtexture.textureholder::name'
/usr/include/c++/4.4/bits/basic_string.h:790: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/4.4/bits/basic_string.h:799: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/4.4/bits/basic_string.h:808: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
./src/gfx/xvector.h:169: note: Vector operator+=(Vector&, const Vector&)
./src/gfx/xvector.h:169: note: QVector operator+=(QVector&, const QVector&)
objconv/mesher/to_OgreMesh.cpp:145: note: std::string& operator+=(std::string&, int)
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:201: error: ISO C++ forbids declaration of 'map' with no type
objconv/mesher/to_OgreMesh.cpp:201: error: expected ';' before '<' token
objconv/mesher/to_OgreMesh.cpp:202: error: ISO C++ forbids declaration of 'set' with no type
objconv/mesher/to_OgreMesh.cpp:202: error: expected ';' before '<' token
objconv/mesher/to_OgreMesh.cpp:204: error: ISO C++ forbids declaration of 'vector' with no type
objconv/mesher/to_OgreMesh.cpp:204: error: expected ';' before '<' token
objconv/mesher/to_OgreMesh.cpp: In function 'void* OgreMeshConverter::Init(const char*, const char*)':
objconv/mesher/to_OgreMesh.cpp:309: error: 'struct outputContext' has no member named 'predefined_materials'
objconv/mesher/to_OgreMesh.cpp: At global scope:
objconv/mesher/to_OgreMesh.cpp:347: error: expected initializer before '<' token
objconv/mesher/to_OgreMesh.cpp:1186: error: expected '}' at end of input
make[1]: *** [objconv/mesher/mesher-to_OgreMesh.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
mv -f objconv/MeshParse/.deps/tempgen-template_generator.Tpo objconv/MeshParse/.deps/tempgen-template_generator.Po
make[1]: Verlasse Verzeichnis '/cavern/code/VegaStrike/vegastrike'
make: *** [all] Fehler 2