Compilare sursa pe windows.

Totalitatea subiectelor care nu respectă regulamentul vor fi stocate aici.
Închis
Avatar utilizator
Kenox
Nou Venit

Nou Venit
Mesaje: 26
Membru din: 27 Dec 2017, 14:50
Regat: Jinno
Aprecieri: 1  
Mulţumiri: 190  
Medalii

Hello everyone,

Today I will explain quickly how to compile the sources enhanceMT for the server part under Windows.

Read well and everything will be fine! : P
1. Required software
2. Recover the sources
Create a folder in which you want to recover the sources, then open "Git Bash".

A console opens, you must now go into the previously created folder using the "cd" command. To go faster you can type "cd" (there is a space after the "cd") then drag the folder into the console, the path will be directly recovered.



Press "Enter" to validate.



Before we can retrieve the sources on our deposit, you must register here: http://tyron.ovh

In the console enter the following command:
git clone http://tyron.ovh:81/enhanceMT/Server.git
When the download is complete, type the following command to go to the source folder:
cd Server
Then get the libraries needed for compilation with the command:
git clone http://tyron.ovh:81/enhanceMT/Extern.git
3. Configure the solution with CMake
Open CMake and choose the source location ("Server" directory) for the "Where is the source code" field and choose the "build" directory inside the "Server" directory for the "Where to" field build the binaries ": Imagine Click on "Configure", choose your compiler (Visual Studio (Express) 2013) and click on "Finish": Imagine Finally, click on "Generate" to generate the solution and check that you have no errors in the console: Imagine 4. Compile!
You will find the solution generated in the folder "Server / build", open the file "enhanceMT.sln" with Visual Studio (Express 2013): Imagine In the menu, set the compilation mode to "Release" and click "Generate -> Generate Solution" (or press F7).

Once the compilation is complete you will find the "db.exe" and "game.exe" executables in the "Server / build / bin / Release" folder.



Well, it was not that difficult in the end, was it? ;)
inloc de http://tyron.ovh puteti folosi github.com
Avatar utilizator
OlariuConstantin
Nou Venit

Nou Venit
Mesaje: 4
Membru din: 02 Dec 2017, 20:16
Aprecieri: 0
Mulţumiri: 0
Medalii

mersi
Avatar utilizator
Moț
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 2825
Membru din: 03 Apr 2017, 15:00
Aprecieri: 216  
Mulţumiri: 3040  
Discord: Copiază ID
Medalii

Old
Imagine
Afișează semnătura
Închis

Înapoi la “Arhivă”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Semrush [Bot] și 27 vizitatori