From c112b4e687aed95dca97c0d80b45c9da473a54d2 Mon Sep 17 00:00:00 2001 From: Edward Rosten Date: Tue, 19 Mar 2024 09:02:56 +0000 Subject: [PATCH] Update README.md --- README.md | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 6739dc13..fca7734d 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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