Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #93

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 4 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# libCVD

Note, the master branch is now libCVD-2.0 which is in beta and requires C++14.
Note a C++20 compiler is required

## Compiling and installing

Expand Down Expand Up @@ -46,41 +46,19 @@ You might also want:



On Ubuntu 16.04, run:
On Ubuntu like systems for most dependencies, run:
```
sudo apt-get install libjpeg-dev libpng-dev libtiff-dev libx11-dev libavformat-dev libavdevice-dev libavcodec-dev libavutil-dev libswresample-dev libglu-dev libdc1394-22-dev
sudo apt-get install libjpeg-dev libpng-dev libtiff-dev libx11-dev libavformat-dev libavdevice-dev libavcodec-dev libavutil-dev libswresample-dev libglu-dev libdc1394-dev
```

## System compatibility

You need a C++14 compiler.
You need a C++17 compiler.

All libraries are optional but you will be missing features if the libraries
aren't present. The configure script will tell you what's present and what's
not.

### Ubuntu 16.04 / gcc 5

The default C++ compiler on Ubuntu 16.04 will not compile libCVD because of
a [bug in the standards compliance of the compiler.](https://stackoverflow.com/questions/34280729/throw-in-constexpr-function). If you want to use libcvd,
you will need to install a newer compiler. The easiest eay is to add the
[toolchain test PPA](https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test):

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-7

Now you can build libcvd with either:

CXX=g++-7 ./configure
make
or

mkdir build
cd build
CXX=g++-7 cmake -DCMAKE_BUILD_TYPE=Release ..
make


## Documentation

Expand Down
Loading