|
You last visited: Today at 14:13
Advertisement
[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts
Discussion on [SAMMELTHREAD] Metin2 Source Compile Tips/Tuts within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
01/05/2014, 00:25
|
#31
|
elite*gold: 0
Join Date: Dec 2013
Posts: 5
Received Thanks: 2
|
what? you mean i have to use vc90 project file?
or you mean i have to switch the platform?
vs10
|
|
|
01/05/2014, 01:25
|
#32
|
elite*gold: 0
Join Date: Sep 2012
Posts: 66
Received Thanks: 25
|
[QUOTE=5203307a;26623579]Use v90 toolset for compile all project. Will compile without problem
clean solution and compile in "Release" on v90 toolset.[/QUOTE
Change Toolset from vs100 to vs90 # Done
Set to Release # Done
Clean the Solution # Done
Compile # Done
And still 25 Linker Error´s left...
|
|
|
01/05/2014, 01:41
|
#33
|
elite*gold: 0
Join Date: Dec 2010
Posts: 29
Received Thanks: 3
|
[quote=Sujino;26624973]
Quote:
Originally Posted by 5203307a
Use v90 toolset for compile all project. Will compile without problem
clean solution and compile in "Release" on v90 toolset.[/QUOTE
Change Toolset from vs100 to vs90 # Done
Set to Release # Done
Clean the Solution # Done
Compile # Done
And still 25 Linker Error´s left...
|
Use the python22 from WorldEditor
|
|
|
01/05/2014, 02:01
|
#34
|
elite*gold: 0
Join Date: Mar 2011
Posts: 567
Received Thanks: 162
|
Has anyone compile the World Editor succesfully?
|
|
|
01/05/2014, 02:03
|
#35
|
elite*gold: 0
Join Date: Sep 2012
Posts: 66
Received Thanks: 25
|
[quote=WildGamers-Metin2;26625118]
Quote:
Originally Posted by Sujino
Use the python22 from WorldEditor 
|
Still 25 Linker error´s left
Code:
16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Users\Raicon\Desktop\Metin2\XaviaDev\Client\UserInterface\../bin\UserInterface.exe) entspricht nicht dem OutputFile-Eigenschaftswert (C:\Users\Raicon\Desktop\Metin2\XaviaDev\Client\UserInterface\Release\UserInterface.exe) von Linker. Das Projekt wird daher möglicherweise nicht ordnungsgemäß erstellt. Damit dieses Problem behoben werden kann, müssen die Eigenschaftswerte für $(OutDir), $(TargetName) und $(TargetExt) dem in %(Link.OutputFile) angegebenen Wert entsprechen.
16>InstanceBase.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: long __thiscall CItemData::GetValue(char)const " (?GetValue@CItemData@@QBEJD@Z)".
16>PythonItemModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: long __thiscall CItemData::GetValue(char)const " (?GetValue@CItemData@@QBEJD@Z)".
16>PythonPlayerModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: long __thiscall CItemData::GetValue(char)const " (?GetValue@CItemData@@QBEJD@Z)".
16>PythonNetworkStreamPhaseGameActor.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: long __thiscall CItemData::GetValue(char)const " (?GetValue@CItemData@@QBEJD@Z)".
16>InstanceBase.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CMapManager::isAttrOn(float,float,char)" (?isAttrOn@CMapManager@@QAE_NMMD@Z)".
16>InstanceBaseBattle.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CMapManager::isAttrOn(float,float,char)" (?isAttrOn@CMapManager@@QAE_NMMD@Z)".
16>PythonPlayerSkill.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ)".
16>InstanceBase.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ)".
16>PythonItem.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ)".
16>PythonItemModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ)".
16>PythonPlayerModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ)".
16>PythonPlayerSkill.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ)".
16>PythonNetworkStreamPhaseGame.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ)".
16>PythonNetworkStreamPhaseGameActor.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ)".
16>InstanceBase.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ)".
16>PythonItem.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ)".
16>PythonItemModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ)".
16>PythonPlayerModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ)".
16>InstanceBase.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CMapManager::isAttrOn(int,int,char)" (?isAttrOn@CMapManager@@QAE_NHHD@Z)".
16>PythonCharacterManagerModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CRaceData::SetMotionRandomWeight(unsigned short,unsigned short,unsigned short,char)" (?SetMotionRandomWeight@CRaceData@@QAE_NGGGD@Z)".
16>PythonCharacterManagerModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: class CGraphicThing * __thiscall CRaceData::RegisterMotionData(unsigned short,unsigned short,char const *,char)" (?RegisterMotionData@CRaceData@@QAEPAVCGraphicThing@@GGPBDD@Z)".
16>PythonEffectModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CFlyingManager::RegisterIndexedFlyData(unsigned long,char,char const *)" (?RegisterIndexedFlyData@CFlyingManager@@QAE_NKDPBD@Z)".
16>PythonItemModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char __thiscall CItemData::GetSize(void)const " (?GetSize@CItemData@@QBEDXZ)".
16>PythonItemModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: int __thiscall CItemData::GetLimit(char,struct CItemData::SItemLimit *)const " (?GetLimit@CItemData@@QBEHDPAUSItemLimit@1@@Z)".
16>PythonItemModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: int __thiscall CItemData::GetApply(char,struct CItemData::SItemApply *)const " (?GetApply@CItemData@@QBEHDPAUSItemApply@1@@Z)".
16>PythonItemModule.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: long __thiscall CItemData::GetSocket(char)const " (?GetSocket@CItemData@@QBEJD@Z)".
16>PythonNonPlayer.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CLZO::Decompress(class CLZObject &,char const *,unsigned long *)" (?Decompress@CLZO@@QAE_NAAVCLZObject@@PBDPAK@Z)".
16>PythonSkill.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: int __thiscall CTextFileLoader::GetTokenByte(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,char *)" (?GetTokenByte@CTextFileLoader@@QAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAD@Z)".
16>MarkImage.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: char * __thiscall CLZO::GetWorkMemory(void)" (?GetWorkMemory@CLZO@@QAEPADXZ)".
16>AccountConnector.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CEterPackManager::RegisterPack(char const *,char const *,char const *)" (?RegisterPack@CEterPackManager@@QAE_NPBD00@Z)".
16>UserInterface.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CEterPackManager::RegisterPack(char const *,char const *,char const *)" (?RegisterPack@CEterPackManager@@QAE_NPBD00@Z)".
16>AccountConnector.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall CEterPackManager::RetrieveHybridCryptPackKeys(char const *)" (?RetrieveHybridCryptPackKeys@CEterPackManager@@QAEXPBD@Z)".
16>PythonNetworkStreamPhaseHandShake.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall CEterPackManager::RetrieveHybridCryptPackKeys(char const *)" (?RetrieveHybridCryptPackKeys@CEterPackManager@@QAEXPBD@Z)".
16>AccountConnector.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall CEterPackManager::RetrieveHybridCryptPackSDB(char const *)" (?RetrieveHybridCryptPackSDB@CEterPackManager@@QAEXPBD@Z)".
16>PythonNetworkStreamPhaseHandShake.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall CEterPackManager::RetrieveHybridCryptPackSDB(char const *)" (?RetrieveHybridCryptPackSDB@CEterPackManager@@QAEXPBD@Z)".
16>gamelib.lib(MapManager.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: int __thiscall CMapOutdoor::GetAreaPointer(unsigned char,class CArea * *)" (?GetAreaPointer@CMapOutdoor@@QAEHEPAPAVCArea@@@Z)".
16>gamelib.lib(MapOutdoorRender.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: int __thiscall CMapOutdoor::GetAreaPointer(unsigned char,class CArea * *)" (?GetAreaPointer@CMapOutdoor@@QAEHEPAPAVCArea@@@Z)".
16>gamelib.lib(MapManager.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CMapOutdoor::isAttrOn(float,float,unsigned char)" (?isAttrOn@CMapOutdoor@@QAE_NMME@Z)".
16>gamelib.lib(MapManager.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CMapOutdoor::GetAttr(float,float,unsigned char *)" (?GetAttr@CMapOutdoor@@QAE_NMMPAE@Z)".
16>gamelib.lib(MapManager.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CMapOutdoor::isAttrOn(int,int,unsigned char)" (?isAttrOn@CMapOutdoor@@QAE_NHHE@Z)".
16>gamelib.lib(MapManager.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: bool __thiscall CMapOutdoor::GetAttr(int,int,unsigned char *)" (?GetAttr@CMapOutdoor@@QAE_NHHPAE@Z)".
16>gamelib.lib(MapOutdoorRender.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: int __thiscall CMapOutdoor::GetTerrainPointer(unsigned char,class CTerrain * *)" (?GetTerrainPointer@CMapOutdoor@@QAEHEPAPAVCTerrain@@@Z)".
16>gamelib.lib(MapOutdoorRenderHTP.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: int __thiscall CMapOutdoor::GetTerrainPointer(unsigned char,class CTerrain * *)" (?GetTerrainPointer@CMapOutdoor@@QAEHEPAPAVCTerrain@@@Z)".
16>gamelib.lib(MapOutdoorRenderSTP.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: int __thiscall CMapOutdoor::GetTerrainPointer(unsigned char,class CTerrain * *)" (?GetTerrainPointer@CMapOutdoor@@QAEHEPAPAVCTerrain@@@Z)".
16>gamelib.lib(MapOutdoor.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall CScreenFilter::SetBlendType(char,char)" (?SetBlendType@CScreenFilter@@QAEXDD@Z)".
16>Release/UserInterface.exe : fatal error LNK1120: 25 nicht aufgelöste externe Verweise.
|
|
|
01/05/2014, 05:00
|
#36
|
elite*gold: 0
Join Date: Oct 2010
Posts: 115
Received Thanks: 14
|
Anybody have working normal root like arkosia2 but for python22? I can help someone who have roots for compile game on any system or binary on windows.
|
|
|
01/05/2014, 05:23
|
#37
|
elite*gold: 100
Join Date: Jun 2009
Posts: 168
Received Thanks: 711
|
Two little tips:
Code:
Character set 'euckr' is not a compiled character set and is not specified in the '/usr/local/share/mysql/charsets/Index.xml' file
mysql_real_connect: Can't initialize character set euckr (path: /usr/local/share/mysql/charsets/)
failed, retrying in 5 seconds
Compile mysql-client51 (libs) with WITH_XCHARSET=all option
Code:
root@jailbait64:/usr/game/db # ./db
Real Server
Log OffAsyncSQL: connected to localhost (reconnect 1)
Success PLAYER
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success ACCOUNT
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success COMMON
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Segmentation fault (core dumped)
root@jailbait64:/usr/game/db # gdb
(gdb) set gnutarget i386-marcel-freebsd
(gdb) file db
Reading symbols from db...done.
(gdb) core db.core
Core was generated by `db'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib32/libstdc++.so.6...done.
Loaded symbols for /usr/lib32/libstdc++.so.6
Reading symbols from /usr/lib32/libm.so.5...done.
Loaded symbols for /usr/lib32/libm.so.5
Reading symbols from /usr/lib32/libgcc_s.so.1...done.
Loaded symbols for /usr/lib32/libgcc_s.so.1
Reading symbols from /usr/lib32/libthr.so.3...done.
Loaded symbols for /usr/lib32/libthr.so.3
Reading symbols from /usr/lib32/libc.so.7...done.
Loaded symbols for /usr/lib32/libc.so.7
Reading symbols from /usr/lib32/libsupc++.so.1...done.
Loaded symbols for /usr/lib32/libsupc++.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x28260d52 in std::string::assign () from /usr/lib32/libstdc++.so.6
[New Thread 2880433428805800 (LWP 101557/dbmio3)]
[New Thread 2831ff4028805500 (LWP 101556/dbmio3)]
[New Thread 2880583428805200 (LWP 101552/dbmio3)]
[New Thread 2880553428804f00 (LWP 101551/dbmio3)]
[New Thread 2880523428804c00 (LWP 101547/dbmio3)]
[New Thread 28804f3428804900 (LWP 101546/dbmio3)]
[New Thread 28804c3428804300 (LWP 101382/dbmio3)]
Cannot find new threads: generic error
(gdb) bt
#0 0x28260d52 in std::string::assign () from /usr/lib32/libstdc++.so.6
#1 0x080dba9f in CAsyncSQL2::SetLocale ()
#2 0x080511e2 in CDBManager::SetLocale (this=0xffffcab8,
szLocale=0x2884d84c "latin1") at DBManager.cpp:172
#3 0x0805db82 in CClientManager::InitializeLocalization (this=0xffffc2cc)
at ClientManager.cpp:3705
#4 0x0805e87d in CClientManager::Initialize (this=0xffffc2cc)
at ClientManager.cpp:109
#5 0x0804ff5e in Start () at Main.cpp:386
#6 0x080501c5 in main () at Main.cpp:88
(gdb) quit
root@jailbait64:/usr/game/db #
You're using `dev|novaline/Srcs/Server/db/src/Main.cpp`.
In those branches Main.cpp is bugged because g_bHotBackup disable HotBackup.
`mainline/Srcs/Server/db/src/Main.cpp` works very well.
|
|
|
01/05/2014, 05:33
|
#38
|
elite*gold: 0
Join Date: Aug 2012
Posts: 749
Received Thanks: 188
|
Quote:
Originally Posted by lollo_9_1
Two little tips:
Code:
Character set 'euckr' is not a compiled character set and is not specified in the '/usr/local/share/mysql/charsets/Index.xml' file
mysql_real_connect: Can't initialize character set euckr (path: /usr/local/share/mysql/charsets/)
failed, retrying in 5 seconds
Compile mysql-client51 (libs) with WITH_XCHARSET=all option
Code:
root@jailbait64:/usr/game/db # ./db
Real Server
Log OffAsyncSQL: connected to localhost (reconnect 1)
Success PLAYER
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success ACCOUNT
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success COMMON
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Segmentation fault (core dumped)
root@jailbait64:/usr/game/db # gdb
(gdb) set gnutarget i386-marcel-freebsd
(gdb) file db
Reading symbols from db...done.
(gdb) core db.core
Core was generated by `db'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib32/libstdc++.so.6...done.
Loaded symbols for /usr/lib32/libstdc++.so.6
Reading symbols from /usr/lib32/libm.so.5...done.
Loaded symbols for /usr/lib32/libm.so.5
Reading symbols from /usr/lib32/libgcc_s.so.1...done.
Loaded symbols for /usr/lib32/libgcc_s.so.1
Reading symbols from /usr/lib32/libthr.so.3...done.
Loaded symbols for /usr/lib32/libthr.so.3
Reading symbols from /usr/lib32/libc.so.7...done.
Loaded symbols for /usr/lib32/libc.so.7
Reading symbols from /usr/lib32/libsupc++.so.1...done.
Loaded symbols for /usr/lib32/libsupc++.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x28260d52 in std::string::assign () from /usr/lib32/libstdc++.so.6
[New Thread 2880433428805800 (LWP 101557/dbmio3)]
[New Thread 2831ff4028805500 (LWP 101556/dbmio3)]
[New Thread 2880583428805200 (LWP 101552/dbmio3)]
[New Thread 2880553428804f00 (LWP 101551/dbmio3)]
[New Thread 2880523428804c00 (LWP 101547/dbmio3)]
[New Thread 28804f3428804900 (LWP 101546/dbmio3)]
[New Thread 28804c3428804300 (LWP 101382/dbmio3)]
Cannot find new threads: generic error
(gdb) bt
#0 0x28260d52 in std::string::assign () from /usr/lib32/libstdc++.so.6
#1 0x080dba9f in CAsyncSQL2::SetLocale ()
#2 0x080511e2 in CDBManager::SetLocale (this=0xffffcab8,
szLocale=0x2884d84c "latin1") at DBManager.cpp:172
#3 0x0805db82 in CClientManager::InitializeLocalization (this=0xffffc2cc)
at ClientManager.cpp:3705
#4 0x0805e87d in CClientManager::Initialize (this=0xffffc2cc)
at ClientManager.cpp:109
#5 0x0804ff5e in Start () at Main.cpp:386
#6 0x080501c5 in main () at Main.cpp:88
(gdb) quit
root@jailbait64:/usr/game/db #
You're using `dev|novaline/Srcs/Server/db/src/Main.cpp`.
In those branches Main.cpp is bugged because g_bHotBackup disable HotBackup.
`mainline/Srcs/Server/db/src/Main.cpp` works very well.
|
Considering nova branch, you should also replace mainline/Srcs/Server/db/src/DBManager.cpp as well as *.h for proper dbcache functionality/work.
|
|
|
01/05/2014, 08:28
|
#39
|
elite*gold: 100
Join Date: Jun 2009
Posts: 168
Received Thanks: 711
|
Quote:
Originally Posted by Jоe
Considering nova branch, you should also replace mainline/Srcs/Server/db/src/DBManager.cpp as well as *.h for proper dbcache functionality/work.
|
Yeah, only nova branch. (it's a simple CAsyncSQL to CAsyncSQL2)
How to compile some tools: (release mode with vs2008sp1)
Code:
libserverkey (from Srcs\Server\m2server.2008.sln)
//base64_ssl.cpp
change
#include <openssl/sha.h>
#include <openssl/hmac.h>
#include <openssl/evp.h>
#include <openssl/bio.h>
#include <openssl/buffer.h>
#include <base64_ssl.h>
to
#include "openssl/sha.h"
#include "openssl/hmac.h"
#include "openssl/evp.h"
#include "openssl/bio.h"
#include "openssl/buffer.h"
#include "base64_ssl.h"
//RSACrypto.cpp
change
#include <openssl/aes.h>
#include <openssl/rsa.h>
#include <openssl/rand.h>
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <openssl/engine.h>
#include <openssl/sha.h>
#include <openssl/pem.h>
to
#include "openssl/aes.h"
#include "openssl/rsa.h"
#include "openssl/rand.h"
#include "openssl/crypto.h"
#include "openssl/err.h"
#include "openssl/engine.h"
#include "openssl/sha.h"
#include "openssl/pem.h"
libserverkey -> Properties -> Configuration Properties:
@C/C++ -> General -> Additional Include Directories: ../../Extern/openssl/include;
(quick workaround regarding global includes on vs2008)
Code:
ServerKeyGenerator (from Srcs\Tools\ServerKeyGenerator\ServerKeyGenerator.sln)
ServerKeyGenerator -> Properties -> Configuration Properties:
@C/C++ -> Precompiled Headers -> Create/Use Precompiled Header: Not Using Precompiled Headers
@C/C++ -> General -> Additional Include Directories: ../../Server/libserverkey
@Linker -> General -> Additional Library Directories: ../../Extern/OpenSSL/lib
@Linker -> Input -> Additional Dependencies: ..\..\Server\Release\libserverkey.lib
Code:
DumpProto (from Srcs\Tools\DumpProto\Importer.sln)
@already time to build
Code:
Metin2MSAMaker (from Srcs\Tools\Metin2MSAMaker\Metin2MSAMaker.sln)
@already time to build
|
|
|
01/05/2014, 10:59
|
#40
|
elite*gold: 0
Join Date: Jan 2010
Posts: 328
Received Thanks: 434
|
After lot of tryings I did it finally. And also I found one tip.
One tip from me:
FreeBSD needs minimum 2gb Swap space for compiling. Add swap space for linking processes! If you do not do that you will can not compile game.
|
|
|
01/05/2014, 11:11
|
#41
|
elite*gold: 0
Join Date: Aug 2012
Posts: 749
Received Thanks: 188
|
Quote:
Originally Posted by -TÜRK-
After lot of tryings I did it finally. And also I found one tip.
One tip from me:
FreeBSD needs minimum 2gb Swap space for compiling. Add swap space for linking processes! If you do not do that you will can not compile game.

|
I compile it local without any swap space
|
|
|
01/05/2014, 11:13
|
#42
|
elite*gold: 0
Join Date: May 2011
Posts: 45
Received Thanks: 0
|
Quote:
|
/usr/bin/ld: cannot find -lgtest
|
Im installed mnc, tiff, cms and now im still getting that error. I dont know what package should i install, but if you know please tell me the name.
|
|
|
01/05/2014, 11:19
|
#43
|
elite*gold: 0
Join Date: Jan 2010
Posts: 328
Received Thanks: 434
|
Quote:
Originally Posted by Jоe
I compile it local without any swap space 
|
If you give 2gb ram you do not need to do that
I gave 512mb ram always..
|
|
|
01/05/2014, 11:22
|
#44
|
elite*gold: 0
Join Date: May 2013
Posts: 1,266
Received Thanks: 627
|
Whats about gtest?
use google.
|
|
|
01/05/2014, 11:25
|
#45
|
elite*gold: 0
Join Date: May 2011
Posts: 45
Received Thanks: 0
|
Cant find anything about it
#edit:
Maybe it is it:
|
|
|
Similar Threads
|
Reverse Crypt Systems [Tips/Hints/Tuts needed]]
03/01/2012 - CO2 Private Server - 8 Replies
Hello PVPers,
So the Title says it all, Since i came here and i am trying to learn how to be a good Coder and Co2 P.Server Specially , i guess i dd well so far but i'v noticed that all my prev experience ddnt came near Encrypting/Decrypting systems , i also aware of that most of good coders around here are very busy coding stuff and so ,i was away for sometime and about 2 months ago i came back from AD (work trip) and a friend asked for an up to date P.Server , actually i miss that fun so...
|
All times are GMT +1. The time now is 14:14.
|
|