Jump to content

How To Compile EnhanceMT Server Sources - Windows


Recommended Posts

M2 Download Center

This is the hidden content, please
( Internal )

This is the hidden content, please
( GitHub ) & 
This is the hidden content, please
( GitHub )

Hi guys,

 

Today I'm gonna show you how to build enhanceMT server sources on Windows.

Read carefully  :)

 

 

1. Softwares needed

2. Get the sources

 

First, create a new folder where you want to checkout the sources then open "Git Bash".

A command prompt will open, now you need to go in your folder with the "cd" command. An easy way to do it is to write "cd " (with space after "cd") and drag/drop the folder in the command prompt. The path will be automatically added.

 

Press "Enter".

 

In the command prompt write the following command to checkout the sources from our repo (you need to register here : http://tyron.ovh😞

git clone http://tyron.ovh:81/enhanceMT/Server.git

 

Wait until the download is finished then go into the sources folder "Server" :

cd Server

 

Finally get the needed headers and libs with the command below :

git clone http://tyron.ovh:81/enhanceMT/Extern.git

 

3. Configure the solution with CMake

 

Open CMake and choose the path where the source code is (Server folder) and choose the "Server/build" folder for the "Where to build the binaries" field :

012319tuto-1.PNG

 

Click on "Configure" and choose your compiler (Visual Studio (Express) 2013) then press "Finish" :

012319tuto-2.PNG

 

Finally click on "Generate" to build the solution and check that you don't get any errors :

012319tuto-3.PNG

 

 

4. Let's build it !

 

You'll find the VS solution in the folder "Server/build", open "enhanceMT.sln" with Visual Studio (Express) 2013 :

012319tuto-4.PNG

 

 

In the menu, choose "Release" mode and click on "Build -> Build solution" (or press F7).

When building is done you'll find the "db.exe" and "game.exe" binaries in the folder "Server/build/bin/Release".

 

 

 

And that's it ! It wasn't to hard right ? ^_^

 

I just want you to remember that enhanceMT is an open source and community project, everyone can work on it.

So if you have any suggestions, bugs, fix, etc. just open an issue on GitHub here :

This is the hidden content, please
).

 

 

Sgt Fatality

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 60
  • kekw 2
  • Eyes 3
  • Sad 1
  • Smile Tear 1
  • Think 4
  • Scream 1
  • Good 25
  • Love 6
  • Love 38
Link to comment
Share on other sites

error : 

Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output:
Change Dir: C:/Users/Giovanni/Desktop/Nuova cartella (4)/Server/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files/MSBuild/12.0/bin/MSBuild.exe" "cmTryCompileExec1113592569.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
Microsoft (R) Build Engine versione 12.0.30723.0

[Microsoft .NET Framework versione 4.0.30319.18444]

Copyright (C) Microsoft Corporation. Tutti i diritti riservati.



Compilazione avviata 02/12/2014 14:25:08.

Progetto "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj" sul nodo 1 (destinazioni predefinite).

PrepareForBuild:

  Creazione directory "cmTryCompileExec1113592569.dirDebug".

  Creazione directory "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpDebug".

  Creazione directory "cmTryCompileExec1113592569.dirDebugcmTryCom.570751AB.tlog".

InitializeBuildStatus:

  Creazione di "cmTryCompileExec1113592569.dirDebugcmTryCom.570751AB.tlogunsuccessfulbuild". Ô stato specificato "AlwaysCreate".

ClCompile:

  C:Program FilesMicrosoft Visual Studio 12.0VCbinx86_armCL.exe /c /I"C:UsersGiovanniDesktopNuova cartella (4)ServerExternboost-1_57include" /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec1113592569.dirDebug" /Fd"cmTryCompileExec1113592569.dirDebugvc120.pdb" /Gd /TP /analyze- /errorReport:queue  -std=c++11 "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpsrc.cxx"

  Microsoft (R) C/C++ Optimizing Compiler versione 18.00.30723 per ARM

  Copyright (C) Microsoft Corporation. Tutti i diritti riservati.

  

  cl /c /I"C:UsersGiovanniDesktopNuova cartella (4)ServerExternboost-1_57include" /Zi /W3 /WX- /MP /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec1113592569.dirDebug" /Fd"cmTryCompileExec1113592569.dirDebugvc120.pdb" /Gd /TP /analyze- /errorReport:queue  -std=c++11 "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpsrc.cxx"

  

  cl : warning della riga di comando D9002 : l'opzione sconosciuta '-std=c++11' verr… ignorata

  src.cxx

C:Program FilesMicrosoft Visual Studio 12.0VCincludexlocale(337): warning C4530: utilizzato gestore eccezioni C++, ma la semantica di rimozione non Š abilitata. Specificare /EHsc [C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj]

Link:

  C:Program FilesMicrosoft Visual Studio 12.0VCbinx86_armlink.exe /ERRORREPORT:QUEUE /OUT:"C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpDebugcmTryCompileExec1113592569.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/Giovanni/Desktop/Nuova cartella (4)/Server/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1113592569.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Giovanni/Desktop/Nuova cartella (4)/Server/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1113592569.lib" /MACHINE:ARM  /machine:ARM /debug cmTryCompileExec1113592569.dirDebugsrc.obj

LINK : fatal error LNK1104: impossibile aprire il file 'libboost_filesystem-vc120-mt-gd-1_57.lib' [C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj]

Compilazione progetto "C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj" (destinazioni predefinite) NON COMPLETATA.



Compilazione NON RIUSCITA.



"C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj" (destinazione predefinita) (1) ->

(destinazione: ClCompile) -> 

  C:Program FilesMicrosoft Visual Studio 12.0VCincludexlocale(337): warning C4530: utilizzato gestore eccezioni C++, ma la semantica di rimozione non Š abilitata. Specificare /EHsc [C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj]





"C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj" (destinazione predefinita) (1) ->

(destinazione: Link) -> 

  LINK : fatal error LNK1104: impossibile aprire il file 'libboost_filesystem-vc120-mt-gd-1_57.lib' [C:UsersGiovanniDesktopNuova cartella (4)ServerbuildCMakeFilesCMakeTmpcmTryCompileExec1113592569.vcxproj]



    Avvisi: 1

    Errori: 1



Tempo trascorso 00:00:02.49


Source file was:

  #include <boost/filesystem/path.hpp>
  #include <boost/filesystem/operations.hpp>
  int main() { boost::filesystem::copy_file(boost::filesystem::path(), boost::filesystem::path()); }

  • Love 1
  • Love 1
Link to comment
Share on other sites

have error

 

me use Visual Studio 9 2008 

 

update Server and Extern files today.

 

ItHYUMS.jpg

 

Best regards,

4l0ns0xD

 

added: boost_system-vc90-mt-1_57.lib, boost_thread-vc90-mt-1_57.lib,libboost_system-vc90-sgd-1_57.lib and libboost_thread-vc90-mt-sgd-1_57.lib to lib folder in boost ..

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.