Problema sursa

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
redshare
Nivel 2

Nivel 2
Mesaje: 234
Membru din: 17 Mar 2014, 20:16
Server: xxx
Regat: Jinno
Aprecieri: 16  
Mulţumiri: 4  
Medalii

Salut, am o mica problema cu sursa mainline
Am descarcat de aici : http://just4metin.ro/serverfiles/fisier ... 45967.html
Lumea spune ca este ok si se poate compila fara nici o problema, insa cand incerc sa fac asta primesc urmatoarele

Cod: Selectaţi tot

compile acce.cpp
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':
acce.cpp:87: warning: unused variable 'count'
compile MarkManager.cpp
acce.cpp: In function 'bool Acce_InformationInitialize()':
acce.cpp:954: warning: comparison between signed and unsigned integer expression                                                                                        s
compile OXEvent.cpp
compile TrafficProfiler.cpp
In file included from desc.h:7,
                 from OXEvent.cpp:12:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
compile ani.cpp
compile arena.cpp
compile banword.cpp
In file included from desc.h:7,
                 from arena.cpp:5:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
compile battle.cpp
compile blend_item.cpp
In file included from desc.h:7,
                 from OXEvent.cpp:12:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no typ                                                                                        e
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no typ                                                                                        e
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
In file included from desc.h:7,
                 from battle.cpp:4:
cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
In file included from desc.h:7,
                 from arena.cpp:5:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no typ                                                                                        e
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no typ                                                                                        e
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
compile buffer_manager.cpp
compile block_country.cpp
In file included from desc.h:7,
                 from battle.cpp:4:
cipher.h:52: error: 'CryptoPP' has not been declared
cipher.h:52: error: ISO C++ forbids declaration of 'SymmetricCipher' with no typ                                                                                        e
cipher.h:52: error: expected ';' before '*' token
cipher.h:53: error: 'CryptoPP' has not been declared
cipher.h:53: error: ISO C++ forbids declaration of 'SymmetricCipher' with no typ                                                                                        e
cipher.h:53: error: expected ';' before '*' token
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31: error: 'encoder_' was not declared in this scope
cipher.h:31: error: 'byte' was not declared in this scope
cipher.h:31: error: expected primary-expression before ')' token
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:31: error: expected primary-expression before 'const'
cipher.h:31: error: expected `)' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39: error: 'decoder_' was not declared in this scope
cipher.h:39: error: 'byte' was not declared in this scope
cipher.h:39: error: expected primary-expression before ')' token
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: ISO C++ forbids declaration of 'type name' with no type
cipher.h:39: error: expected primary-expression before 'const'
cipher.h:39: error: expected `)' before 'const'
gmake: *** [Makefile:131: OBJDIR/arena.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:131: OBJDIR/OXEvent.o] Error 1
gmake: *** [Makefile:131: OBJDIR/battle.o] Error 1
Gresesc eu undeva sau pot arunca sursa la gunoi?
Avatar utilizator
CjMt2
Nivel 2

Nivel 2
Mesaje: 291
Membru din: 20 Sep 2014, 07:01
Server: CjMt2
Regat: Shinsoo
Aprecieri: 18  
Mulţumiri: 22  
Discord: Copiază ID
 Contact:
Medalii

cipher.h:6:31: error: cryptopp/cryptlib.h: No such file or directory
Incepe prin a te asigura ca ai toate dependentele si sunt accesibile.
Mai mult, cel mai bine e sa compilezi mai intai toate dependentele cu acel compilator apoi sa compilezi sursa metinului.
Daca nu era freebsd open source si rain nu ar fi furat filele sursei de la ymir azi nu exista acest forum.
Afișează semnătura
Avatar utilizator
[Tupeu]
Membru de Elita

Membru de Elita
Mesaje: 4101
Membru din: 28 Oct 2015, 16:16
Aprecieri: 35  
Mulţumiri: 2304  
 Contact:
Medalii

Ai extern la acea sursa?
Avatar utilizator
redshare
Nivel 2

Nivel 2
Mesaje: 234
Membru din: 17 Mar 2014, 20:16
Server: xxx
Regat: Jinno
Aprecieri: 16  
Mulţumiri: 4  
Medalii

da am observat ca nu are extern, l-am pus insa la final tot imi da aceste erori

Cod: Selectaţi tot

gmake: *** [Makefile:131: OBJDIR/arena.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:131: OBJDIR/OXEvent.o] Error 1
gmake: *** [Makefile:131: OBJDIR/battle.o] Error 1
iar game nu se creaza
Avatar utilizator
BRTSERGIU2
Utilizator interzis !

Utilizator interzis !
Mesaje: 600
Membru din: 25 Aug 2014, 21:28
Server: Metin2Ro
Regat: Chunjo
Aprecieri: 28  
Mulţumiri: 77  
Medalii

redshare scrie:da am observat ca nu are extern, l-am pus insa la final tot imi da aceste erori

Cod: Selectaţi tot

gmake: *** [Makefile:131: OBJDIR/arena.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:131: OBJDIR/OXEvent.o] Error 1
gmake: *** [Makefile:131: OBJDIR/battle.o] Error 1
iar game nu se creaza
eu folosesc sursa.. si nu am facut nimic :? Am luat-o am pus-o in src si am compilat direct.. fara nici o problema
Avatar utilizator
WooOk
Nivel 1

Nivel 1
Mesaje: 98
Membru din: 22 Noi 2017, 13:24
Server: NewChallenge
Regat: Jinno
Aprecieri: 0
Mulţumiri: 6  
 Contact:
Medalii

Trebuie compilat si in sursa externa. Incearca si asa
Avatar utilizator
redshare
Nivel 2

Nivel 2
Mesaje: 234
Membru din: 17 Mar 2014, 20:16
Server: xxx
Regat: Jinno
Aprecieri: 16  
Mulţumiri: 4  
Medalii

t/c

Am rezolvat, se pare ca sursa asta are ceva fite pe la cerintele ei si trebuia sa instalez ceva porturi
Avatar utilizator
[Tupeu]
Membru de Elita

Membru de Elita
Mesaje: 4101
Membru din: 28 Oct 2015, 16:16
Aprecieri: 35  
Mulţumiri: 2304  
 Contact:
Medalii

T/C
Închis

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 10 vizitatori