From cee4fd1cd07d7e1150a450356d18ba49cadcd1f3 Mon Sep 17 00:00:00 2001 From: Beep6581 Date: Wed, 12 Aug 2015 09:10:48 +0200 Subject: [PATCH] Updated README.md with working compilation instructions --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6805f0012..7cd615f15 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,13 @@ Compile: To find out how many threads your CPU supports, run: `grep -c processor /proc/cpuinfo` Then replace the number in `-j8` below with this number. This will make compilation faster but it will have no effect on the speed of running RawTherapee. + +Now you will make an out-of-source compilation of RawTherapee, it will be built into the ~/repo-rt/build/release folder, and then you will move this folder to your home directory and rename it to "rawtherapee", so make sure there is no ~/rawtherapee folder already! ``` mkdir build && cd build -cmake -DCMAKE_BUILD_TYPE="release" -DPROC_TARGET_NUMBER="2" -DCMAKE_INSTALL_PREFIX="rawtherapee" -DBUILD_BUNDLE="ON" -DBINDIR="." -DDATADIR="." -DCACHE_NAME_SUFFIX=4 +cmake -DCMAKE_BUILD_TYPE="release" -DPROC_TARGET_NUMBER="2" -DBUILD_BUNDLE="ON" -DBINDIR="." -DDATADIR="." -DCACHE_NAME_SUFFIX=4 make -j8 install -mv rawtherapee ~/ +mv release ~/rawtherapee ``` Run RawTherapee: