Jump to content
  • 0

[ 95%] Building make: *** [all] Error


zhidadiyu zhi
 Share

Question

 

How to do this? help me!

[ 95%] Building CXX object src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:0,
                 from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28,
                 from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29,
                 from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35,
                 from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32,
                 from /home/mangos/one/src/server/src/game/pchdef.h:29:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h: In instantiation of ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Creature; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:111:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Creature; H = Creature; T = TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:89:   required from ‘SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Creature; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1776:63:   required from here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:19: error: ‘class std::tr1::unordered_map<ObjectGuid, Creature*, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>, std::allocator<std::pair<const ObjectGuid, Creature*> > >’ has no member named ‘cend’
             if (i == elements._element.cend())
                   ^
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h: In instantiation of ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Pet; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:111:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Pet; H = Pet; T = TypeList<GameObject, TypeList<DynamicObject, TypeNull> >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:113:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Pet; H = Creature; T = TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:89:   required from ‘SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Pet; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1786:53:   required from here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:19: error: ‘class std::tr1::unordered_map<ObjectGuid, Pet*, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>, std::allocator<std::pair<const ObjectGuid, Pet*> > >’ has no member named ‘cend’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h: In instantiation of ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:113:   recursively required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject; H = Pet; T = TypeList<GameObject, TypeList<DynamicObject, TypeNull> >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:113:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject; H = Creature; T = TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:89:   required from ‘SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1826:67:   required from here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:19: error: ‘class std::tr1::unordered_map<ObjectGuid, GameObject*, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>, std::allocator<std::pair<const ObjectGuid, GameObject*> > >’ has no member named ‘cend’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h: In instantiation of ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = DynamicObject; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:113:   recursively required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = DynamicObject; H = Pet; T = TypeList<GameObject, TypeList<DynamicObject, TypeNull> >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:113:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = DynamicObject; H = Creature; T = TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:89:   required from ‘SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = DynamicObject; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1836:73:   required from here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:19: error: ‘class std::tr1::unordered_map<ObjectGuid, DynamicObject*, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>, std::allocator<std::pair<const ObjectGuid, DynamicObject*> > >’ has no member named ‘cend’
make[2]: *** [src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o] Error 1
make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
make: *** [all] Error 2
There was an error building MaNGOS!
 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Have you modified the TypeContainer.h file recently? Looking at the line 210 in the official repo, I see no occurence of cend().
https://github.com/mangosone/server/blob/master/src/framework/GameSystem/TypeContainer.h#L210
 

Please try running the following command
 

git checkout -- /home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h

and rebuild.

Link to comment
Share on other sites

  • 0
4小时前,Rochet2说:

你使用什么编译器和什么版本?
CEND 是C ++ 11的一部分,因此您的编译器可能无法使用C ++ 11,您应该可能会获得更新的版本。

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.5-4ubuntu8~14.04.2' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.5 (Ubuntu 4.8.5-4ubuntu8~14.04.2) 

Link to comment
Share on other sites

  • 0
5 hours ago, Rochet2 said:

What compiler and what version of it do you use?
cend is a part of C++11, so your compiler may not be capable of c++11 and you should probably get a newer version.

Changed the new version or not

 

[ 95%] Building CXX object src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:0,
                 from /home/mangos/one/src/server/src/framework/GameSystem/NGrid.h:28,
                 from /home/mangos/one/src/server/src/game/WorldHandlers/GridDefines.h:29,
                 from /home/mangos/one/src/server/src/game/WorldHandlers/Map.h:35,
                 from /home/mangos/one/src/server/src/game/WorldHandlers/MapManager.h:32,
                 from /home/mangos/one/src/server/src/game/pchdef.h:29:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h: In instantiation of ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Creature; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:65:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Creature; H = Creature; T = TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:51:   required from ‘SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Creature; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1776:63:   required from here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: ‘class std::tr1::unordered_map<ObjectGuid, Creature*, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>, std::allocator<std::pair<const ObjectGuid, Creature*> > >’ has no member named ‘cend’; did you mean ‘end’?
             if (i == elements._element.cend())
                      ~~~~~~~~~~~~~~~~~~^~~~
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h: In instantiation of ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Pet; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:259:65:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Pet; H = Pet; T = TypeList<GameObject, TypeList<DynamicObject, TypeNull> >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:63:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Pet; H = Creature; T = TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:51:   required from ‘SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Pet; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1786:53:   required from here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: ‘class std::tr1::unordered_map<ObjectGuid, Pet*, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>, std::allocator<std::pair<const ObjectGuid, Pet*> > >’ has no member named ‘cend’; did you mean ‘end’?
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h: In instantiation of ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:63:   recursively required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject; H = Pet; T = TypeList<GameObject, TypeList<DynamicObject, TypeNull> >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:63:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject; H = Creature; T = TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:51:   required from ‘SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1826:67:   required from here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: ‘class std::tr1::unordered_map<ObjectGuid, GameObject*, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>, std::allocator<std::pair<const ObjectGuid, GameObject*> > >’ has no member named ‘cend’; did you mean ‘end’?
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h: In instantiation of ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = DynamicObject; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:63:   recursively required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = DynamicObject; H = Pet; T = TypeList<GameObject, TypeList<DynamicObject, TypeNull> >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:260:63:   required from ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<TypeList<H, T>, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = DynamicObject; H = Creature; T = TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > >; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:116:51:   required from ‘SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = DynamicObject; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’
/home/mangos/one/src/server/src/game/WorldHandlers/Map.cpp:1836:73:   required from here
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: ‘class std::tr1::unordered_map<ObjectGuid, DynamicObject*, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>, std::allocator<std::pair<const ObjectGuid, DynamicObject*> > >’ has no member named ‘cend’; did you mean ‘end’?
make[2]: *** [src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o] Error 1
make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
make: *** [all] Error 2
There was an error building MaNGOS!

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use