/
prerequisites.html
69 lines (59 loc) · 4.32 KB
/
prerequisites.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<title>
Prerequisites
</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link href="../3rdparty/googleCodePrettify/prettify.css" rel="stylesheet" type="text/css"/>
<link href="res/stylesheet.css" rel="stylesheet" type="text/css"/>
<script src="../3rdparty/googleCodePrettify/prettify.js" type="text/javascript"></script>
<script src="../3rdparty/jQuery/jquery.js" type="text/javascript"></script>
<script src="../res/common.js" type="text/javascript"></script>
<script src="res/menu.js" type="text/javascript"></script>
</head>
<body onload="prettyPrint();" ondragstart="return false;" ondrop="return false;">
<script type="text/javascript">
headerAndContentsMenu("Prerequisites", "..");
</script>
<p>
The following tools are required in order to develop, build , test, run and package OpenCOR:
</p>
<ul>
<li><a href="https://git-scm.com/">Git</a>: a distributed version control system;</li>
<li><a href="https://www.cmake.org/">CMake</a> 3.3 or later: a cross-platform build system;</li>
<li><a href="https://ninja-build.org/">Ninja</a> (optional): a small build system with a focus on speed;</li>
<li><a href="https://github.com/frerich/clcache">clcache</a> (optional and Windows only): a compiler cache;</li>
<li><a href="https://ccache.samba.org/">ccache</a> (optional and Linux/macOS only): a compiler cache;</li>
<li>
C++ toolchain: a set of C++ tools. The toolchain is different depending on the platform you are using:
<ul>
<li><strong>Windows:</strong> <a href="https://www.visualstudio.com/downloads/download-visual-studio-vs">Visual Studio Community 2015 with Update 3</a>;</li>
<li><strong>Linux:</strong> GCC/G++ 5.x (<code>g++-5</code> package), as well as OpenGL and GStreamer (<code>mesa-common-dev</code> and <code>libgstreamer-plugins-base0.10-0</code> packages, respectively) on Ubuntu; and</li>
<li><strong>macOS:</strong> <a href="https://developer.apple.com/xcode/">Xcode</a> 9.0 (including its <a href="https://developer.apple.com/downloads/?q=Command%20Line%20Tools">command line tools</a>).</li>
</ul>
</li>
<li>
<a href="https://www.qt.io/">Qt</a> 5.9.2 LTS: a cross-platform application and UI framework (<a href="https://www.qt.io/ide/">Qt Creator</a> is its supporting IDE):
<ul>
<li><strong><a href="https://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe">Windows</a></strong> (64-bit);</li>
<li><strong><a href="https://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run">Linux</a></strong> (64-bit); and</li>
<li><strong><a href = "https://download.qt.io/official_releases/online_installers/qt-unified-mac-x64-online.dmg">macOS</a></strong> (you might want to install Qt under <code>/Applications</code> rather than your home folder).</li>
</ul>
</li>
<li><a href="http://nsis.sourceforge.net/">NSIS</a> 3.01 (optional and Windows only): a program for creating Windows installers.</li>
<li><a href="https://developer.apple.com/downloads/?q=Auxiliary%20tools%20for%20Xcode%20-%20Late%20July%202012">PackageMaker</a> (optional and macOS only): a program for creating macOS installers.</li>
</ul>
<p>
Finally, you will need to update your <code>PATH</code> environment variable by adding the following path(s):
</p>
<ul>
<li><strong>Windows:</strong> <code>C:\Program Files\Git\bin</code>, <code>C:\Program Files\CMake\bin</code>, <code>C:\Qt\5.9.2\msvc2015_64\bin</code> and <code>C:\Qt\Tools\QtCreator\bin</code>;</li>
<li><strong>Linux:</strong> <code>/opt/Qt/5.9.2/gcc_64/bin</code> in <code>/etc/environment</code> on Ubuntu; and</li>
<li><strong>macOS:</strong> <code>/Applications/Qt/5.9.2/clang_64/bin</code> in <code>/etc/profile</code>.</li>
</ul>
<script type="text/javascript">
copyright("..");
</script>
</body>
</html>