Skip to content

ABertaud/R-Type

Repository files navigation

R-TYPE

Linux Compilation

To launch the project on a Linux OS you must have Conan installed on your machine as well as the conan settings configured for you machine. Of course the Packages mentionned in the conanfile.txt have to be installed.

How to launch the project

  1. Go to the project root and create a build directory : mkdir build
  2. Then go in that folder : cd build
  3. Launch the Conan build command : conan install .. --build=missing
  4. Then launch the CMake building command : cmake .. -G "Unix Makefiles"
  5. Finally build the project : cmake --build .
  6. After that you will find the r-type-client and r-type-server

Windows compilation

To launch the project on a Windows 10 OS you must have the following tools installed : (check links in the doc section of the README)

  • Visual Studio 16 2019 (version used: 16.8.1)
  • Conan Package Manager (version used: 1.31.2)

Conan will install for you the following packages (refer to conafile.txt in root)

  1. Boost (1.69)
  2. SFML (2.5.1)
  3. ZLib (1.2.11)
  4. BZip2 (1.0.6)

How to setup before compiling

Before compiling and launching the project you might want to take a look at the CMakeList.txt file :

25 # WINDOWS USERNAME AND PATH VARIABLE TO BE SET
26 set(USERS "R-TYPE-USER")
27 set(SFML_WIN_INCLUDE_DIR "PATH/TO/SFML/INCLUDE")
28 set(SFML_WIN_DIR "PATH/TO/SFML/FOLDER")
29 set(CONAN_SFML_DIR "PATH/TO/SFML/CONAN")

Take a look at these paths and adjust them according to your environnement Then everything should be ready for you to launch this project !

⚠️ If you have problems with SFML install and Conan, you project might not be able to find the libs needed. If so you might want to look into the doc section and look at the Windows SFML install link, after that put the path to the folder in the SFML_WIN_DIR in CMakeList.txt line 27 and the path to the include folder in SFML_WIN_INCLUDE_DIR line 28 ⚠️

How to launch the project

  1. First of all you might want to install all packages required by launching the following commad : conan install .. --build=missing
  2. After that create a build folder and get into it : mkdir build && cd build
  3. Then launch the CMake build : cmake .. -G "Visual Studio 16 2019"
  4. Finally, build the solution file with that command : cmake --build . --config Release
  5. After that you will find the r-type-client.exe and r-type-server.exe in the bin folder.

Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •