make: *** [dsgame-ai_general.o] Erreur 1

Post Reply
Alexandre24
Posts: 175
Joined: Thu Mar 13, 2014 10:15 pm
Location: Hawkesbury, Ontario, CANADA

make: *** [dsgame-ai_general.o] Erreur 1

Post by Alexandre24 » Tue Jul 21, 2015 9:16 pm

Hello, with the last update. When I want compiled

server@server-AU194AA-A2L-CQ5123F ~/darkstar $ make
g++ -std=c++1y -DHAVE_CONFIG_H -I. -I./src/common -DdsUDPSERV -I/usr//include/luajit-2.0 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DTAOCRYPT_DISABLE_X86ASM -g -DNDEBUG -g -O2 -MT dsgame-ai_general.o -MD -MP -MF .deps/dsgame-ai_general.Tpo -c -o dsgame-ai_general.o `test -f 'src/map/ai/ai_general.cpp' || echo './'`src/map/ai/ai_general.cpp
src/map/ai/ai_general.cpp: In member function ‘void CAIGeneral::SetCurrentSpell(uint16)’:
src/map/ai/ai_general.cpp:289:28: error: ‘make_unique’ is not a member of ‘std’
m_PSpell = std::make_unique<CBlueSpell>(*static_cast<CBlueSpell*>(spell));
^
src/map/ai/ai_general.cpp:289:55: error: expected primary-expression before ‘>’ token
m_PSpell = std::make_unique<CBlueSpell>(*static_cast<CBlueSpell*>(spell));
^
src/map/ai/ai_general.cpp:293:28: error: ‘make_unique’ is not a member of ‘std’
m_PSpell = std::make_unique<CSpell>(*spell);
^
src/map/ai/ai_general.cpp:293:51: error: expected primary-expression before ‘>’ token
m_PSpell = std::make_unique<CSpell>(*spell);
^
make: *** [dsgame-ai_general.o] Erreur 1

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

Re: make: *** [dsgame-ai_general.o] Erreur 1

Post by Desufire » Tue Jul 21, 2015 11:58 pm

Alexandre24 wrote:Hello, with the last update. When I want compiled

server@server-AU194AA-A2L-CQ5123F ~/darkstar $ make
g++ -std=c++1y -DHAVE_CONFIG_H -I. -I./src/common -DdsUDPSERV -I/usr//include/luajit-2.0 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DTAOCRYPT_DISABLE_X86ASM -g -DNDEBUG -g -O2 -MT dsgame-ai_general.o -MD -MP -MF .deps/dsgame-ai_general.Tpo -c -o dsgame-ai_general.o `test -f 'src/map/ai/ai_general.cpp' || echo './'`src/map/ai/ai_general.cpp
src/map/ai/ai_general.cpp: In member function ‘void CAIGeneral::SetCurrentSpell(uint16)’:
src/map/ai/ai_general.cpp:289:28: error: ‘make_unique’ is not a member of ‘std’
m_PSpell = std::make_unique<CBlueSpell>(*static_cast<CBlueSpell*>(spell));
^
src/map/ai/ai_general.cpp:289:55: error: expected primary-expression before ‘>’ token
m_PSpell = std::make_unique<CBlueSpell>(*static_cast<CBlueSpell*>(spell));
^
src/map/ai/ai_general.cpp:293:28: error: ‘make_unique’ is not a member of ‘std’
m_PSpell = std::make_unique<CSpell>(*spell);
^
src/map/ai/ai_general.cpp:293:51: error: expected primary-expression before ‘>’ token
m_PSpell = std::make_unique<CSpell>(*spell);
^
make: *** [dsgame-ai_general.o] Erreur 1
Did you update to Visual 10 or the Ubuntu equivalent? viewtopic.php?f=4&t=2716 <- Post about new requirements for compiling by Kjlotus

Post Reply