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
make: *** [dsgame-ai_general.o] Erreur 1
-
- Posts: 175
- Joined: Thu Mar 13, 2014 10:15 pm
- Location: Hawkesbury, Ontario, CANADA
Re: 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 KjlotusAlexandre24 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