Ir para conteúdo
  • 0

Alguem Pode Me Ajudar Com Esse Erro (Compilando Com Dev)


Megazero

Pergunta

Galera já tem mó tempão que eu tento compilar um OTSERV 8.11 da distro da SVN 0.6.2, e toda vez da erro nessa parte aqui, você podem dá uma olhada pra mim, por favor, já to ficando louco com essa erro, já usei vários devs por ai várias libs mais sempre da erro nessa parte!

 

Esse é log do compilador:

 

Compiler: Default compiler

Building Makefile: "C:\Users\TERMINAL 10 ADM\Desktop\otserv-062\dev-cpp\Makefile.win"

Executing make clean

rm -f obj//account.o obj//actions.o obj//admin.o obj//allocator.o obj//ban.o obj//baseevents.o obj//chat.o obj//combat.o obj//commands.o obj//condition.o obj//configmanager.o obj//connection.o obj//container.o obj//creature.o obj//creatureevent.o obj//cylinder.o obj//database.o obj//databasesqlite.o obj//depot.o obj//exception.o obj//fileloader.o obj//game.o obj//house.o obj//housetile.o obj//ioaccount.o obj//iomapotbm.o obj//iomapserialize.o obj//iomapxml.o obj//ioplayer.o obj//item.o obj//items.o obj//logger.o obj//luascript.o obj//mailbox.o obj//map.o obj//md5.o obj//monster.o obj//monsters.o obj//movement.o obj//networkmessage.o obj//npc.o obj//otserv.o obj//outfit.o obj//outputmessage.o obj//player.o obj//position.o obj//protocol.o obj//protocolgame.o obj//protocollogin.o obj//raids.o obj//rsa.o obj//scheduler.o obj//scriptmanager.o obj//server.o obj//sha1.o obj//spawn.o obj//spells.o obj//status.o obj//talkaction.o obj//tasks.o obj//teleport.o obj//thing.o obj//tile.o obj//tools.o obj//trashholder.o obj//vocation.o obj//waitlist.o obj//weapons.o obj//databasemysql.o obj//party.o obj//beds.o obj//quests.o obj//protocolold.o obj//otserv_private.res ../../../../../otserv/otserv.exe

 

g++.exe -c ../account.cpp -o obj//account.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../actions.cpp -o obj//actions.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../admin.cpp -o obj//admin.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../allocator.cpp -o obj//allocator.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../ban.cpp -o obj//ban.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../baseevents.cpp -o obj//baseevents.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../chat.cpp -o obj//chat.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../combat.cpp -o obj//combat.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../commands.cpp -o obj//commands.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../condition.cpp -o obj//condition.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../configmanager.cpp -o obj//configmanager.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../connection.cpp -o obj//connection.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../container.cpp -o obj//container.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../creature.cpp -o obj//creature.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../creatureevent.cpp -o obj//creatureevent.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../cylinder.cpp -o obj//cylinder.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../database.cpp -o obj//database.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../databasesqlite.cpp -o obj//databasesqlite.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../depot.cpp -o obj//depot.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

g++.exe -c ../exception.cpp -o obj//exception.o -I"C:/Alikarbam Repack Dev-Cpp/include" -D__USE_SQLITE__ -D__EXCEPTION_TRACER__ -O1

 

../exception.cpp: In function `EXCEPTION_DISPOSITION _SEHHandler(_EXCEPTION_RECORD*, void*, _CONTEXT*, void*)':

../exception.cpp:206: error: `MEMORYSTATUSEX' was not declared in this scope

../exception.cpp:206: error: expected `;' before "mstate"

../exception.cpp:207: error: `mstate' was not declared in this scope

 

../exception.cpp:208: error: `GlobalMemoryStatusEx' was not declared in this scope

 

 

E esse é um trcho da parte do arquivo que dá o erro:

 

 

//system and process info

//- global memory information

MEMORYSTATUSEX mstate;

mstate.dwLength = sizeof(mstate);

if(GlobalMemoryStatusEx(&mstate)){

*outdriver << "Memory load: " << mstate.dwMemoryLoad << std::endl <<

"Total phys: " << mstate.ullTotalPhys/1024 << " K available phys: " <<

mstate.ullAvailPhys/1024 << " K" << std::endl;

}

else{

*outdriver << "Memory load: Error" << std::endl;

Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts Recomendados

Até agora não há respostas para essa pergunta

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...