[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

01/15/2014 21:14 GunnerMBT#181
Quote:
Originally Posted by lukeido View Post
What do i need in my virtual machine to compile game and db?
Everything you need is in the extern folder, you can update the libs ofc. Among those, I'd update cryptopp, boost and devil at least. I can't remember exactly everything you need, but the compiler will let you know.

Quote:
Originally Posted by niquetamereputain View Post
How to enabling 6/7 boni ?
I think those are disabled by default for some locales, search for the UseItemEx function (I think) and remove those verifications.

Quote:
Originally Posted by designer132 View Post
I have error:
Code:
LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-sgd-1_52.lib'
How i can remove this error?

PS. I try compile on visual studio 2008 and Visual Studio 2013. There and there i have the same error.
Compile boost.
01/15/2014 21:28 Gl0bal#182
I have this error while compiling. I allready installed devil and the other stuff.

[Only registered and activated users can see links. Click Here To Register...]

Maybe somebody can help me. Would be very nice.


Regards
01/15/2014 21:34 GunnerMBT#183
Quote:
Originally Posted by Gl0balTheWriter View Post
I have this error while compiling. I allready installed devil and the other stuff.

[Only registered and activated users can see links. Click Here To Register...]

Maybe somebody can help me. Would be very nice.


Regards
Update your ports and install devil through it (this will ensure you're installing the latest available version, also make sure to deinstall your previous version), clean the object directory and recompile.
01/16/2014 00:14 Gl0bal#184
Quote:
Originally Posted by GunnerMBT View Post
Update your ports and install devil through it (this will ensure you're installing the latest available version, also make sure to deinstall your previous version), clean the object directory and recompile.
Hey thanks for your answer, i reinstalled my whole system. But the error is still there :(.

Is there a spacial way, to install devil? I tried to compile mainline on Freebsd 9.2

Regards
01/16/2014 00:45 GunnerMBT#185
Quote:
Originally Posted by Gl0balTheWriter View Post
Hey thanks for your answer, i reinstalled my whole system. But the error is still there :(.

Is there a spacial way, to install devil? I tried to compile mainline on Freebsd 9.2

Regards
Hm, you didn't have to re-install the whole system. Make sure to install the latest version of Devil by executing the following:

-portsnap fetch update
once this is done...
cd /usr/ports/graphics/devil && make install

You can install it with the pkg command aswell if you want to choose the installation directory.
01/16/2014 06:57 designer132#186
Quote:
Originally Posted by GunnerMBT View Post
Quote:
Originally Posted by designer132 View Post
I have error:
Code:
LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-sgd-1_52.lib'
How i can remove this error?

PS. I try compile on visual studio 2008 and Visual Studio 2013. There and there i have the same error.
Compile boost.
But i have the latest 'boost' library in folder with project of game.
I must compile only boost and named them "libboost_thread-vc90-mt-sgd-1_52.lib" or what?
01/16/2014 19:53 capel0#187
Hi, when i try to compile says, cannot load -lmysqlclient , i installed mysql50 51 55 didn't work anyone! help
01/16/2014 20:48 ElRaulxX#188
Quote:
Originally Posted by Gl0balTheWriter View Post
I have this error while compiling. I allready installed devil and the other stuff.

[Only registered and activated users can see links. Click Here To Register...]

Maybe somebody can help me. Would be very nice.


Regards
If you are compiling mainline, you have to link the devil binary that is missing. Just add -lIL in makefile.
01/16/2014 20:50 Legend2007#189
Hat jemand schon erfolgreich die Python version des clients auf v2.7 aktualisiert? Welche auch voll funktionstüchtig ist und keine crashes verursacht?
01/16/2014 20:56 GunnerMBT#190
Quote:
Originally Posted by designer132 View Post
But i have the latest 'boost' library in folder with project of game.
I must compile only boost and named them "libboost_thread-vc90-mt-sgd-1_52.lib" or what?
Make sure the Lib directories are correct.

Quote:
Originally Posted by capel0 View Post
Hi, when i try to compile says, cannot load -lmysqlclient , i installed mysql50 51 55 didn't work anyone! help
Add the absolute path to the libmysqlclient in the makefile. Something like this:

LIBS += -L/usr/local/lib/mysql -lmysqlclient -lz

If it is indeed in the /usr/local/lib/mysql directory, I'd check it but it should be (note that -lXXX will in fact look for a file named libXXX.a or libXXX.so, so look for a file named libmysqlclient.a/so)
01/16/2014 21:03 xDeStRuCtx#191
Quote:
Originally Posted by designer132 View Post
But i have the latest 'boost' library in folder with project of game.
I must compile only boost and named them "libboost_thread-vc90-mt-sgd-1_52.lib" or what?
must compile boost, then you`ll get .lib
01/16/2014 22:32 designer132#192
Quote:
Originally Posted by xDeStRuCtx View Post
must compile boost, then you`ll get .lib
I do that byt i have the same error.. ;/
I name this file "libboost_thread-vc90-mt-sgd-1_52.lib" and i upload it to folder src..
01/17/2014 15:18 xDeStRuCtx#193
Quote:
Originally Posted by designer132 View Post
I do that byt i have the same error.. ;/
I name this file "libboost_thread-vc90-mt-sgd-1_52.lib" and i upload it to folder src..
lol, .lib = library, you cant use other file :o
01/17/2014 23:17 adi97ida#194
Almost compiled the client source, but then.....
error C2664: 'CPythonGraphic::SaveJPEG' : cannot convert parameter 2 from 'char *' to 'LPBYTE' fille is: PythonGraphic.cpp and project eterPythonLib
Solution for this..... ?
01/17/2014 23:59 mamAmok#195
which branch u use ?