Updated README.md with working compilation instructions
This commit is contained in:
parent
eff1eda2c8
commit
cee4fd1cd0
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user