-
Notifications
You must be signed in to change notification settings - Fork 9
/
README-OS-X.txt
88 lines (66 loc) · 3.4 KB
/
README-OS-X.txt
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
README-OS-X.txt
Last updated: 07 Aug 2022
Maintainer: Mike Benjamin ([email protected])
==============================================================================
OVERVIEW
==============================================================================
This file gives OS X-specific steps for building and running
MOOS-IvP software.
==============================================================================
IMPORTANT INFORMATION
==============================================================================
As of June 19th 2012:
1. We have ceased to test our build system on pre-Lion systems.
2. We have ceased to include FLTK as part of the MOOS-IvP tree. It is now
a package dependency (port install fltk-devel).
==============================================================================
NEEDED APPLICATIONS
==============================================================================
1) XCODE
You need to install the XCode development package for OS-X available
at http://developer.apple.com/technology/xcode.html. It is a free download.
You also likely need the XCode command line tools:
$ sudo xcode-select --install
2) X11
Apple no longer includes X11, but explains why and offers help
http://support.apple.com/en-us/HT201341
As of Nov 2014, this is where you get/install X11:
http://xquartz.macosforge.org/landing/
3) MacPorts (or the Homebrew)
Website: http://www.macports.org
MacPorts is an open-source project that provides an easy-to-use system for
compiling, installing, and upgrading common packages. Instructions for
downloading and installing MacPorts can be found at the following address:
http://www.macports.org/install.php
It is recommended that you use the Package Installer. By default, this will
install MacPorts into the /opt/local directory and add /opt/local/bin to
the default user's PATH environment variable. More details on environment
variables can be found below.
==============================================================================
MACPORT PACKAGES (Or similar with Homebrew)
==============================================================================
sudo port install cmake
sudo port install fltk-devl
sudo port install tiff
sudo port install subversion
sudo port install autoconf - GNU tool for producing config scripts (needed by PROJ4)
sudo port install automake - GNU tool for automate compiling (needed by PROJ4)
NOTE: We are no longer including FLTK as part of the MOOS-IvP tree. If you
have trouble finding FLTK 1.3.X in your system's package manager, we
recommend that you install from the source code from the FLTK website.
BUILDING MOOS-IvP
=================
./build-moos.sh
./build-ivp.sh
ENVIRONMENT VARIABLES
=====================
When you build the MOOS-IvP software, the executable programs are placed
in the "moos-ivp/bin" subdirectory of the source code tree.
We recommend that you put the absolute path to this directory into
your PATH environment variable. This is especially important because the
"pAntler" program, which can launch other MOOS/IvP programs, relies on the
PATH variable to find those programs.
We normally just add lines to our ~/.bashrc or ~/.cshrc files to always append
these two directories to the PATH environment variable.
*** NOTE: On OS X, ~/.bashrc isn't automatically executed, as it is on Linux.
*** However, ~/.bash_profile *is* automatically executed.