Compiling error 1
Posted: Fri Feb 19, 2016 9:49 pm
Hello, first time posting, hope is in the right area. So ive been trying to compile dsconnect, dssearch and dsgame, while the first 2 compile with no problem, when trying to compile the game server I get this:
/usr/include/c++/4.9/bits/unique_ptr.h:765:69: note: candidate is:
In file included from src/map/ai/ai_container.cpp:30:0:
src/map/ai/states/item_state.h:38:5: note: CItemState::CItemState(CCharEntity*, uint16, uint8, uint8)
CItemState(CCharEntity* PEntity, uint16 targid, uint8 loc, uint8 slotid);
^
src/map/ai/states/item_state.h:38:5: note: no known conversion for argument 1 from ‘std::initializer_list<CCharEntity*>’ to ‘CCharEntity*’
Makefile:2091: recipe for target 'dsgame-ai_container.o' failed
make: *** [dsgame-ai_container.o] Error 1
I'm new to Linux and ive been looking forum for some fix but not been able too. Any help, if possible, ill appreciate it, Thxs.
/usr/include/c++/4.9/bits/unique_ptr.h:765:69: note: candidate is:
In file included from src/map/ai/ai_container.cpp:30:0:
src/map/ai/states/item_state.h:38:5: note: CItemState::CItemState(CCharEntity*, uint16, uint8, uint8)
CItemState(CCharEntity* PEntity, uint16 targid, uint8 loc, uint8 slotid);
^
src/map/ai/states/item_state.h:38:5: note: no known conversion for argument 1 from ‘std::initializer_list<CCharEntity*>’ to ‘CCharEntity*’
Makefile:2091: recipe for target 'dsgame-ai_container.o' failed
make: *** [dsgame-ai_container.o] Error 1
I'm new to Linux and ive been looking forum for some fix but not been able too. Any help, if possible, ill appreciate it, Thxs.