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
2
2
3
3
Required packages:
4
4
------
5
- OpenSSL
5
+ GLEW
6
+ FreeImage
7
+ LockFile
8
+ OpenAL
9
+ TBB
10
+ Crypto++
11
+ pugixml
6
12
Theora
7
13
OGG
8
14
SDL2
9
15
LZO
10
16
JPEG
11
17
18
+
12
19
Ubuntu 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
14
21
15
22
Build commands:
16
23
------
17
24
cd xray-16
18
25
git submodule update --init --recursive
19
26
mkdir bin && cd bin
20
27
cmake ..
21
- (or export CC=clang && export CXX=clang++ && cmake ..)
22
28
make
23
29
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 !!! ):
25
40
------
26
41
To build X-Ray Engine you'll need following libraries:
27
- * Windows SDK
28
42
* BugTrap: https://github.com/Xottab-DUTY/BugTrap
29
43
* CryptoPP: https://github.com/weidai11/cryptopp
30
44
* FreeImage: http://freeimage.sourceforge.net
Original file line number Diff line number Diff line change 5
5
Currently, the only compiler supported is Visual C++ 2017. If you don't have Visual Studio yet, you can
6
6
download and install Visual Studio 2017 Community Edition - it's absolutely free for open source projects.
7
7
8
- By default, all libraries mentioned below (except Windows SDK) are assumed to be in
9
- the src\Externals directory.
10
-
11
8
Windows SDK is available from Visual Studio 2017 installer. You will definitely need to install the following items:
12
9
* Windows 8.1 SDK (or newer)
13
10
* Visual C++ MFC for x86 and x64
11
+ * C++/CLI support
14
12
* NuGet package manager
15
13
16
14
You 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