Skip to content

Commit

Permalink
Updating README
Browse files Browse the repository at this point in the history
  • Loading branch information
leoisl committed Jul 19, 2022
1 parent 5154fef commit 9601c8e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,29 +66,26 @@ and optionally run `make test` to check the build.
### Using `clang`:

1. Install `boost-1.76`: `brew install [email protected]`
2. Compile COBS with boost: `cmake -DBOOST=1 ..`
2. Compile COBS with boost: `cmake ..`

## Troubleshooting

Several issues might arise from your specific configuration.

### Problems with openMP on Mac OS X

If installing openMP does not work, add `-DNOOPENMP=1` argument to the `cmake` command.
If installing OpenMP does not work, add `-DNOOPENMP=1` argument to the `cmake` command.

### Problems with python bindings

Skip python bindings compilation by adding `-DSKIP_PYTHON=1` argument to the `cmake` command.

### Problems with finding boost

Define boost env variables and then compile:
Define `BOOST_ROOT` env variable and then compile:
```
export BOOST_INCLUDE_DIR="<boost_root>/include"
export BOOST_LIBRARY_DIR="<boost_root>/lib"
export CXXFLAGS="-DUSE_BOOST -I${BOOST_INCLUDE_DIR} -L${BOOST_LIBRARY_DIR}"
export LDFLAGS="-L${BOOST_LIBRARY_DIR} -lboost_filesystem -lboost_system"
cmake -DBOOST=1 ..
export BOOST_ROOT="/usr/local/opt/[email protected]" # use your boost root path - this would be the path if installing boost using brew on Mac OS X
cmake ..
```

## Building an Index
Expand Down

0 comments on commit 9601c8e

Please sign in to comment.