Skip to content

Commit

Permalink
add clarifications to README
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-yankee committed Jan 30, 2025
1 parent 3ef08b6 commit faa5577
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions drake_cmake_installed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ Drake to download.

## Build Everything

Then, after cloning this repository, run the following to
build using CMake from the current directory
Then run the following to build using CMake from the current directory
(`drake-external-examples/drake_cmake_installed`):

```bash
Expand All @@ -39,6 +38,10 @@ of Drake (usually last night's build). Ignore this if that
version is desired. Otherwise, the following are alternative
options for which version of Drake to download.

To use any of these options, instead of running `install_prereqs`,
first run the code for whichever option you prefer below. Each option
downloads Drake to the `$HOME` directory.

1. A specific version (date-stamped)

```bash
Expand All @@ -61,6 +64,15 @@ git clone https://github.com/RobotLocomotion/drake.git
(cd drake && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=$HOME/drake -DWITH_GUROBI=ON .. && make)
```

Then ensure you have Python installed; specifically,
install `python3-all-dev` if on Ubuntu, and use Homebrew Python
(not Apple's system Python) if on macOS. Finally, run *Drake's*
`install_prereqs` script to install the remaining system packages:

```bash
$HOME/drake/share/drake/setup/install_prereqs
```

# Examples

Drake-specific examples:
Expand Down

0 comments on commit faa5577

Please sign in to comment.