• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Debian 7 - PlayerMethods.h - sEluna.Push(L, it->second.end); ambiguous

Status
Not open for further replies.

saisso

Enthusiast
Hi guys, it's my first post, and in the first place I like to thank you very much, the iniciative of the Eluna is awesome.

I am eager to implement, using Eluna, bots to aid me in dungeons, but... the error above is blocking my way:

Code:
In file included from /home/mangos/da46eluna/src/LuaEngine/LuaFunctions.cpp:13:0:
/home/mangos/da46eluna/src/LuaEngine/PlayerMethods.h: In function ‘int LuaPlayer::GetSpellCooldowns(lua_State*, Player*)’:
/home/mangos/da46eluna/src/LuaEngine/PlayerMethods.h:488:42: error: call of overloaded ‘Push(lua_State*&, const time_t&)’ is ambiguous
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/LuaEngine/CMakeFiles/LuaEngine.dir/LuaFunctions.cpp.o] Error 1
make[1]: *** [src/LuaEngine/CMakeFiles/LuaEngine.dir/all] Error 2
make: *** [all] Error 2

My system:
OS: Debian 7 - 32 bit - running on Virtual Box 4.3.6
Repo: https://github.com/ElunaLuaEngine/Eluna-TC-Wotlk.git
Commit: da46103c2bed78f29e8d7c2356b9848dc577aa21
Configure:
Code:
cmake ../ -DPREFIX=/home/trinity/da46eluna -DCONF_DIR=/home/trinity/da46eluna/conf -DLIBSDIR=/home/trinity/da46eluna/lib  -DUSE_SFMT=1 -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DWITH_WARNINGS=1

Other info: TC (git://github.com/TrinityCore/TrinityCore.git) works fine.

Thanks in advance.

Edit: added cmake parameters
 
Last edited:

Tommy

Founder
Compiling, I'll see what's up here soon.

Compiled fine for me.. What compiler are you using?
 
Last edited:

saisso

Enthusiast
Thanks for the quick attention.

Good question! I will try to answer, sorry if unsucceful.

I added the cmake.txt the output of cmake added -debug-output. It seems using gcc.


info whith make -d:
GNU Make 3.81
...
Building CXX object src/LuaEngine/CMakeFiles/LuaEngine.dir/LuaFunctions.cpp.o
Reaping winning child 0x081cc0d0 PID 2703
Live child 0x081cc0d0 (src/LuaEngine/CMakeFiles/LuaEngine.dir/LuaFunctions.cpp.o) PID 2705

The problem occurs when I execute "make" of TrinityCore wiki (http://collab.kpsn.org/display/tc/How-to_Linux).
 

Attachments

  • cmake.txt
    5.4 KB · Views: 25
Last edited:
Status
Not open for further replies.
Top