I am getting an error when compiling SCRIPTDEV2 (from step 8). When I view the log it states the following error:
boss_cthun.cpp
..\\scripts\\kalimdor\\temple_of_ahnqiraj\\boss_cthun.cpp(618) : error C2679: binary '[' : no operator found which takes a right-hand operand of type 'const ObjectGuid' (or there is no acceptable conversion)
C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\unordered_map(208): could be 'bool &std::tr1::unordered_map<_Kty,_Ty>::operator [](const unsigned __int64 &)'
with
[
_Kty=uint64,
_Ty=bool
]
while trying to match the argument list '(std::tr1::unordered_map<_Kty,_Ty>, const ObjectGuid)'
with
[
_Kty=uint64,
_Ty=bool
]
Is this normal? If not, does anyone have a suggestion to get past this error?