File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -2,29 +2,43 @@ TITLE: X-Ray 1.6 build and setup on Linux
22
33Required packages:
44------
5- OpenSSL
5+ GLEW
6+ FreeImage
7+ LockFile
8+ OpenAL
9+ TBB
10+ Crypto++
11+ pugixml
612Theora
713OGG
814SDL2
915LZO
1016JPEG
1117
18+
1219Ubuntu 18.04 build dependencies:
13- sudo apt install git cmake libssl -dev libogg-dev libtheora-dev libvorbis-dev libsdl2-dev liblzo2-dev libjpeg-dev libncurses5-dev
20+ sudo apt install git cmake libglew -dev libfreeimage-dev liblockfile-dev libopenal-dev libtbb-dev libcrypto++-dev libpugixml-dev libogg-dev libtheora-dev libvorbis-dev libsdl2-dev liblzo2-dev libjpeg-dev libncurses5-dev libreadline -dev
1421
1522Build commands:
1623------
1724cd xray-16
1825git submodule update --init --recursive
1926mkdir bin && cd bin
2027cmake ..
21- (or export CC=clang && export CXX=clang++ && cmake ..)
2228make
2329
24- Libraries:
30+ #To enable debugging:
31+ cmake .. -DCMAKE_BUILD_TYPE=Debug
32+ #To use clang:
33+ CC=clang CXX=clang++ cmake ..
34+ #To enable all instruction for the local machine:
35+ CFLAGS="-march=native" CXXFLAGS="-march=native" cmake ..
36+ #To output log and error to different files:
37+ make >out.log 2>error.log
38+
39+ Libraries (OLD LIST !!! ):
2540------
2641To build X-Ray Engine you'll need following libraries:
27- * Windows SDK
2842* BugTrap: https://github.com/Xottab-DUTY/BugTrap
2943* CryptoPP: https://github.com/weidai11/cryptopp
3044* FreeImage: http://freeimage.sourceforge.net
Original file line number Diff line number Diff line change 55Currently, the only compiler supported is Visual C++ 2017. If you don't have Visual Studio yet, you can
66download and install Visual Studio 2017 Community Edition - it's absolutely free for open source projects.
77
8- By default, all libraries mentioned below (except Windows SDK) are assumed to be in
9- the src\Externals directory.
10-
118Windows SDK is available from Visual Studio 2017 installer. You will definitely need to install the following items:
129* Windows 8.1 SDK (or newer)
1310* Visual C++ MFC for x86 and x64
11+ * C++/CLI support
1412* NuGet package manager
1513
1614You will need following extension to save files in Visual Studio with encoding UTF-8 without BOM:
You can’t perform that action at this time.
0 commit comments