Jump to content

Error building the server


Recommended Posts

Posted

Hello,

I have one error building the Mangos Three, anyoone know how to fix this?

SS: 0d0b2372d20600eca4b2caabee38e0e7.png
https://gyazo.com/0d0b2372d20600eca4b2caabee38e0e7

Error:

In file included from /home/Cataclysm/Server/src/server/src/modules/Eluna/LuaFunctions.cpp:23:0:
/home/Cataclysm/Server/src/server/src/modules/Eluna/UnitMethods.h: In function ‘int LuaUnit::AddAura(Eluna*, lua_State*, Unit*)’:
/home/Cataclysm/Server/src/server/src/modules/Eluna/UnitMethods.h:2214:77: error: cast from ‘const SpellEffectEntry*’ to ‘uint8 {aka unsigned char}’ loses precision [-fpermissive]
             uint8 eff = (uint8)spellInfo->GetSpellEffect(SpellEffectIndex(i));
                                                                             ^
src/modules/Eluna/CMakeFiles/LuaEngine.dir/build.make:238: recipe for target 'src/modules/Eluna/CMakeFiles/LuaEngine.dir/LuaFunctions.cpp.o' failed
make[2]: *** [src/modules/Eluna/CMakeFiles/LuaEngine.dir/LuaFunctions.cpp.o] Error 1
CMakeFiles/Makefile2:1074: recipe for target 'src/modules/Eluna/CMakeFiles/LuaEngine.dir/all' failed
make[1]: *** [src/modules/Eluna/CMakeFiles/LuaEngine.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
There was an error building MaNGOS!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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