-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall_osx.jemdoc
32 lines (26 loc) · 1.23 KB
/
install_osx.jemdoc
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
# jemdoc: menu{MENU}{install_osx.html}
= OS X installation
Here is explained how to download, compile and use ACADO toolkit with [http://www.cmake.org CMake] build system in OS X.
~~~
{MATLAB installation}
The instructions below are for building of the C\+\+ library. If you are looking for the instructions on how to install and use the MATLAB interface, please /[matlab_overview.html click here]/.
~~~
== Prerequisites
One way to install necessary tools is via a package manager called Macports. Please read this [http://www.macports.org/install.php webpage] (under "Mac OS X Package (.pkg) Installer") to find out how to install MacPorts. After you install MacPorts, you can install those packages by typing the following command in a terminal (you will need root privileges):
~~~
{}{}
sudo port install gcc47 cmake git-core gnuplot doxygen graphviz
~~~
Afterwards, select C and C\+\+ compilers:
~~~
{}{}
sudo port select --set gcc mp-gcc47
~~~
~~~
{NOTE}
Gnuplot and Doxygen are optional. ACADO can work without Gnuplot and\/or Doxygen, but in this case you will not be able to visualize results and\/or generate API documentation.
~~~
== Installation
#include{install_unix_common.jemdoc}
== Alternative code download
#include{download_zip.jemdoc}