Problema compilare sursa.

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
A. Andreas
Nivel 2

Nivel 2
Mesaje: 266
Membru din: 15 Oct 2014, 12:12
Server: Skaria2 - Global
Regat: Jinno
Aprecieri: 11  
Mulţumiri: 253  
Medalii

Dau :
-gmake clean
-gmake -j20

Am incercat si cu gmake dep si dupa gmake -j20 .

si imi da erroarea asta , de ce ?
char.cpp:3959: error: could not convert '((CHARACTER*)this)->CHARACTER::m_pkMiningEvent' to 'bool'
char.cpp: In member function 'void CHARACTER::mining(CHARACTER*)':
char.cpp:3969: error: could not convert '((CHARACTER*)this)->CHARACTER::m_pkMiningEvent' to 'bool'
char.cpp: In member function 'void CHARACTER::fishing()':
char.cpp:4006: error: could not convert '((CHARACTER*)this)->CHARACTER::m_pkFishingEvent' to 'bool'
char.cpp: In member function 'void CHARACTER::fishing_take()':
char.cpp:4056: error: could not convert '((CHARACTER*)this)->CHARACTER::m_pkFishingEvent' to 'bool'
char.cpp: In member function 'void CHARACTER::StartOfflineShopUpdateEvent()':
char.cpp:4463: error: could not convert '((CHARACTER*)this)->CHARACTER::m_pkOfflineShopUpdateEvent' to 'bool'
char.cpp: In member function 'bool CHARACTER::RequestToParty(CHARACTER*)':
char.cpp:4702: error: could not convert '((CHARACTER*)this)->CHARACTER::m_pkPartyRequestEvent' to 'bool'
char.cpp: In member function 'void CHARACTER::DenyToParty(CHARACTER*)':
char.cpp:4774: error: no match for 'operator!' in '!member->CHARACTER::m_pkPartyRequestEvent'
char.cpp:4774: note: candidates are: operator!(bool) <built-in>
char.cpp: In member function 'void CHARACTER::AcceptToParty(CHARACTER*)':
char.cpp:4800: error: no match for 'operator!' in '!member->CHARACTER::m_pkPartyRequestEvent'
char.cpp:4800: note: candidates are: operator!(bool) <built-in>
char.cpp: In member function 'void CHARACTER::SetTarget(CHARACTER*)':
char.cpp:5481: warning: suggest parentheses around && within ||
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6666: warning: suggest parentheses around && within ||
char.cpp: In member function 'void CHARACTER::StartWarpNPCEvent()':
char.cpp:6835: error: could not convert '((CHARACTER*)this)->CHARACTER::m_pkWarpNPCEvent' to 'bool'
char.cpp: In member function 'void CHARACTER::StartCheckSpeedHackEvent()':
char.cpp:7407: error: could not convert '((CHARACTER*)this)->CHARACTER::m_pkCheckSpeedHackEvent' to 'bool'
char.cpp: In member function 'void CHARACTER::StartDestroyWhenIdleEvent()':
char.cpp:7478: error: could not convert '((CHARACTER*)this)->CHARACTER::m_pkDestroyWhenIdleEvent' to 'bool'
/usr/local/include/boost/intrusive_ptr.hpp: In member function 'T* boost::intrusive_ptr<T>::operator->() const [with T = event]':
char.cpp:1921: instantiated from here
/usr/local/include/boost/intrusive_ptr.hpp:166: error: 'BOOST_ASSERT' was not declared in this scope
Makefile:131: recipe for target 'OBJDIR/char_battle.o' failed
gmake: *** [OBJDIR/char_battle.o] Error 1
Makefile:131: recipe for target 'OBJDIR/char.o' failed
gmake: *** [OBJDIR/char.o] Error 1
Avatar utilizator
iancuadrian
Nivel 2

Nivel 2
Mesaje: 229
Membru din: 30 Mai 2015, 18:35
Server: metin2
Regat: Jinno
Aprecieri: 23  
Mulţumiri: 162  
 Contact:
Medalii

Intra in [OBJDIR din sursa src si sterge tot.. dupa scrie in putty gmake clean si dupa gmake -j20
Avatar utilizator
A. Andreas
Nivel 2

Nivel 2
Mesaje: 266
Membru din: 15 Oct 2014, 12:12
Server: Skaria2 - Global
Regat: Jinno
Aprecieri: 11  
Mulţumiri: 253  
Medalii

Tot nimic ..


Makefile:131: recipe for target 'OBJDIR/char_battle.o' failed
gmake: *** [OBJDIR/char_battle.o] Error 1
Makefile:131: recipe for target 'OBJDIR/char.o' failed
gmake: *** [OBJDIR/char.o] Error 1
Avatar utilizator
A. Andreas
Nivel 2

Nivel 2
Mesaje: 266
Membru din: 15 Oct 2014, 12:12
Server: Skaria2 - Global
Regat: Jinno
Aprecieri: 11  
Mulţumiri: 253  
Medalii

UP

Asta e toata problema dupa ce dau gmake -j20
root@metin2:/usr/src/Andrew/Srcs/Server/game/src # gmake -j20
compile BattleArena.cpp
compile FSM.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile MarkConvert.cpp
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile building.cpp
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from MarkImage.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from MarkManager.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from OXEvent.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from TrafficProfiler.cpp:10:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from ani.cpp:10:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
Makefile:131: recipe for target 'OBJDIR/TrafficProfiler.o' failed
gmake: *** [OBJDIR/TrafficProfiler.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from arena.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
Makefile:131: recipe for target 'OBJDIR/ani.o' failed
gmake: *** [OBJDIR/ani.o] Error 1
In file included from battle.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
Makefile:131: recipe for target 'OBJDIR/arena.o' failed
gmake: *** [OBJDIR/arena.o] Error 1
In file included from blend_item.cpp:10:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from block_country.cpp:10:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from buffer_manager.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from castle.cpp:12:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
Makefile:131: recipe for target 'OBJDIR/buffer_manager.o' failed
gmake: *** [OBJDIR/buffer_manager.o] Error 1
In file included from char.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
Makefile:131: recipe for target 'OBJDIR/castle.o' failed
gmake: *** [OBJDIR/castle.o] Error 1
In file included from char_affect.cpp:2:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from char_change_empire.cpp:2:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from BattleArena.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
In file included from MarkConvert.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
Makefile:131: recipe for target 'OBJDIR/MarkImage.o' failed
gmake: *** [OBJDIR/MarkImage.o] Error 1
Makefile:131: recipe for target 'OBJDIR/MarkManager.o' failed
gmake: *** [OBJDIR/MarkManager.o] Error 1
Makefile:131: recipe for target 'OBJDIR/OXEvent.o' failed
gmake: *** [OBJDIR/OXEvent.o] Error 1
In file included from banword.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
Makefile:131: recipe for target 'OBJDIR/banword.o' failed
gmake: *** [OBJDIR/banword.o] Error 1
Makefile:131: recipe for target 'OBJDIR/battle.o' failed
gmake: *** [OBJDIR/battle.o] Error 1
Makefile:131: recipe for target 'OBJDIR/blend_item.o' failed
gmake: *** [OBJDIR/blend_item.o] Error 1
Makefile:131: recipe for target 'OBJDIR/block_country.o' failed
gmake: *** [OBJDIR/block_country.o] Error 1
In file included from building.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
Makefile:131: recipe for target 'OBJDIR/char.o' failed
gmake: *** [OBJDIR/char.o] Error 1
In file included from char_battle.cpp:1:0:
stdafx.h:9:45: fatal error: ../../libthecore/include/stdafx.h: No such file or directory
#include "../../libthecore/include/stdafx.h"
^
compilation terminated.
Makefile:131: recipe for target 'OBJDIR/char_affect.o' failed
gmake: *** [OBJDIR/char_affect.o] Error 1
Makefile:131: recipe for target 'OBJDIR/char_battle.o' failed
gmake: *** [OBJDIR/char_battle.o] Error 1
Makefile:131: recipe for target 'OBJDIR/char_change_empire.o' failed
gmake: *** [OBJDIR/char_change_empire.o] Error 1
Makefile:131: recipe for target 'OBJDIR/BattleArena.o' failed
gmake: *** [OBJDIR/BattleArena.o] Error 1
Makefile:131: recipe for target 'OBJDIR/MarkConvert.o' failed
gmake: *** [OBJDIR/MarkConvert.o] Error 1
Makefile:131: recipe for target 'OBJDIR/building.o' failed
gmake: *** [OBJDIR/building.o] Error 1
Avatar utilizator
Ankhed
Fost Super Ad Moderator

Fost Super Ad Moderator
Mesaje: 2130
Membru din: 22 Noi 2015, 13:00
Aprecieri: 42  
Mulţumiri: 45  
 Contact:
Medalii

Subiect vechi, arhivat

[ Postat de pe iPhone ] Imagine
Imagine
Afișează semnătura
Închis
Răspunsuri
6
Vizualizări
697
Răspunsuri
5
Vizualizări
539
Răspunsuri
6
Vizualizări
232
Răspunsuri
1
Vizualizări
234

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie