README.md 1023 Bytes
Newer Older
Joseph Mirabel's avatar
Joseph Mirabel committed
1
2
3
4
## Make a tarball

To avoid conflicts, you must setup a clean environment,
i.e. without having sourced the ROS `setup.bash` or the HPP `config.sh`.
5
To create the tarball, HPP will be compiled in `$DEVEL_HPP_DIR` (defaults to `/local/devel/hpp`).
Joseph Mirabel's avatar
Joseph Mirabel committed
6
7
8
9
10
11
You may select the type of build you want using the environment variable `BUILD_TYPE`.

If you sourced `config.sh`, this should be sufficient (although it is unsafe) to create a clean
environment:
```bash
export DEVEL_CONFIG="noconfig"
12
unset PATH PYTHONPATH ROS_PACKAGE_PATH LD_LIBRARY_PATH CPATH DEVEL_HPP_DIR PKG_CONFIG_PATH CMAKE_PREFIX_PATH HPPCD_PATH
Joseph Mirabel's avatar
Joseph Mirabel committed
13
14
15
16
17
18
19
20
/bin/bash
```

Build the tarball using
```bash
auto-install-hpp.sh --mktar -v
```

21
You will find three files in the directory `${DEVEL_HPP_DIR}/tarball/`:
Joseph Mirabel's avatar
Joseph Mirabel committed
22
23
24
* a bash script called `check.***.sh` that should be used in order to resolve the dependencies on a new computer,
* a tarball called `hpp.***.tar.gz` containing only the binaries,
* a tarball called `hpp.src.***.tar.gz` containing the binaries and the source files.