Cleaned up COMPILE.txt, removed old Italian translation file (new one is called Italiano), benchmarkRT runs changed from 3 to 5
This commit is contained in:
96
COMPILE.txt
96
COMPILE.txt
@@ -80,7 +80,7 @@ DEPENDENCIES
|
|||||||
JPEG libjpeg>=6b http://libjpeg-turbo.virtualgl.org/
|
JPEG libjpeg>=6b http://libjpeg-turbo.virtualgl.org/
|
||||||
http://jpegclub.org/
|
http://jpegclub.org/
|
||||||
http://www.ijg.org/
|
http://www.ijg.org/
|
||||||
LIBCANBERRA libcanberra-gtk http://0pointer.de/lennart/projects/libcanberra/ [Only on Linux]
|
LIBCANBERRA libcanberra-gtk http://0pointer.de/lennart/projects/libcanberra/ (Linux only)
|
||||||
LCMS2 lcms>=2.0a http://www.littlecms.com/
|
LCMS2 lcms>=2.0a http://www.littlecms.com/
|
||||||
LIBIPTCDATA libiptcdata>=1.0.2 http://libiptcdata.sourceforge.net
|
LIBIPTCDATA libiptcdata>=1.0.2 http://libiptcdata.sourceforge.net
|
||||||
PNG libpng>=1.2.44 http://www.libpng.org/
|
PNG libpng>=1.2.44 http://www.libpng.org/
|
||||||
@@ -164,9 +164,8 @@ WINDOWS
|
|||||||
CMAKE_CXX_FLAGS,CMAKE_C_FLAGS,CMAKE_SHARED_LINKER_FLAGS: -m32
|
CMAKE_CXX_FLAGS,CMAKE_C_FLAGS,CMAKE_SHARED_LINKER_FLAGS: -m32
|
||||||
CMAKE_EXE_LINKER_FLAGS: -m32 --large-address-aware
|
CMAKE_EXE_LINKER_FLAGS: -m32 --large-address-aware
|
||||||
CMAKE_RC_FLAGS: -F pe-i386
|
CMAKE_RC_FLAGS: -F pe-i386
|
||||||
|
|
||||||
- Copy the "Win32CMakeOptions-sample.txt" file located in the root
|
- Copy the "Win32CMakeOptions-sample.txt" file located in the root
|
||||||
directory of RT's source tree, to "cmo.txt" (for example). You can edit
|
directory of RT's source tree to "cmo.txt" (for example). You can edit
|
||||||
that copy to change the compilation flags to your needs, but the default
|
that copy to change the compilation flags to your needs, but the default
|
||||||
values should be fine. However, if you want to upload a build, you
|
values should be fine. However, if you want to upload a build, you
|
||||||
should set some additional information about your processor. There are
|
should set some additional information about your processor. There are
|
||||||
@@ -191,8 +190,8 @@ WINDOWS
|
|||||||
packages. There are two ways of installing these libraries:
|
packages. There are two ways of installing these libraries:
|
||||||
|
|
||||||
THE SIMPLE WAY:
|
THE SIMPLE WAY:
|
||||||
For your convenience, most of the required libraries has been precompiled and are
|
For your convenience, most of the required libraries has been precompiled
|
||||||
downloadable at:
|
and are downloadable at:
|
||||||
http://www.rawtherapee.com/releases_head/windows/dependencies_for_creating_builds/
|
http://www.rawtherapee.com/releases_head/windows/dependencies_for_creating_builds/
|
||||||
Unpack the contents of these archives to the base installation dir of
|
Unpack the contents of these archives to the base installation dir of
|
||||||
MinGW.
|
MinGW.
|
||||||
@@ -287,32 +286,28 @@ WINDOWS
|
|||||||
FFTW:
|
FFTW:
|
||||||
- Instructions: http://www.fftw.org/install/windows.html
|
- Instructions: http://www.fftw.org/install/windows.html
|
||||||
- Specific instructions more suitable for RawTherapee purposes:
|
- Specific instructions more suitable for RawTherapee purposes:
|
||||||
|
1. Download the official FFTW-64 DLL package from
|
||||||
1. Download the official fftw64 DLL package from http://www.fftw.org/download.html,
|
http://www.fftw.org/download.html
|
||||||
unpack it somewhere you can reach it with MSYS
|
Unpack it somewhere you can reach it with MSYS
|
||||||
(Hint: in MSYS console to change directory to 'C:/DirName' execute 'cd /C/DirName')
|
Hint: in MSYS console to change directory to 'C:/DirName' execute
|
||||||
|
'cd /C/DirName'
|
||||||
2. in MSYS command line, execute:
|
2. In MSYS command line, execute:
|
||||||
dlltool --def libfftw3f-3.def --dllname libfftw3f-3.dll --output-lib libfftw3f-3.a
|
dlltool --def libfftw3f-3.def --dllname libfftw3f-3.dll --output-lib libfftw3f-3.a
|
||||||
dlltool --def libfftw3l-3.def --dllname libfftw3l-3.dll --output-lib libfftw3l-3.a
|
dlltool --def libfftw3l-3.def --dllname libfftw3l-3.dll --output-lib libfftw3l-3.a
|
||||||
dlltool --def libfftw3-3.def --dllname libfftw3-3.dll --output-lib libfftw3-3.a
|
dlltool --def libfftw3-3.def --dllname libfftw3-3.dll --output-lib libfftw3-3.a
|
||||||
|
This will generate a 'libfftw3f-3.a.a' file.
|
||||||
This will generate generate 'libfftw3f-3.a.a' file
|
3. Copy files:
|
||||||
|
|
||||||
3. copy files:
|
|
||||||
libfftw3f-3.dll -> MinGW64/bin
|
libfftw3f-3.dll -> MinGW64/bin
|
||||||
libfftw3l-3.dll -> MinGW64/bin
|
libfftw3l-3.dll -> MinGW64/bin
|
||||||
libfftw3-3.dll -> MinGW64/bin
|
libfftw3-3.dll -> MinGW64/bin
|
||||||
libfftw3f-3.a.a -> MinGW64/lib
|
libfftw3f-3.a.a -> MinGW64/lib
|
||||||
fftw3.f.h -> MinGW64/include
|
fftw3.f.h -> MinGW64/include
|
||||||
|
4. Create a new text file MinGW64/lib/pkgconfig/fftw3f.pc with the
|
||||||
4. Create a new textfile MinGW64/lib/pkgconfig/fftw3f.pc with the following contents:
|
following contents:
|
||||||
|
|
||||||
prefix=/mingw64
|
prefix=/mingw64
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
includedir=${prefix}/include
|
includedir=${prefix}/include
|
||||||
|
|
||||||
Name: fftw3f
|
Name: fftw3f
|
||||||
Description: FFTW3 Float
|
Description: FFTW3 Float
|
||||||
Version: 3.3
|
Version: 3.3
|
||||||
@@ -377,10 +372,11 @@ WINDOWS
|
|||||||
1. You pick up a target processor from "ProcessorTargets.cmake". All
|
1. You pick up a target processor from "ProcessorTargets.cmake". All
|
||||||
you have to do is set "-D PROC_TARGET_NUMBER:STRING=number" in
|
you have to do is set "-D PROC_TARGET_NUMBER:STRING=number" in
|
||||||
cmake's command line to the desired target number. If you choose
|
cmake's command line to the desired target number. If you choose
|
||||||
the 'native' solution, you have to set the processor label manually
|
the 'native' solution, you have to set the processor label
|
||||||
by setting "-D PROC_LABEL:STRING=procLabel" in cmake's command
|
manually by setting "-D PROC_LABEL:STRING=procLabel" in cmake's
|
||||||
line. Please provide a short name, like "core i5" or "athlon64"
|
command line. Please provide a short name, like "core i5" or
|
||||||
(without double quotes). Processor frequency is of no use.
|
"athlon64" (without double quotes). Processor frequency is of no
|
||||||
|
use.
|
||||||
2. You don't need specific processor flags, so you'll let
|
2. You don't need specific processor flags, so you'll let
|
||||||
PROC_TARGET_NUMBER default to 0, but you still have to set the
|
PROC_TARGET_NUMBER default to 0, but you still have to set the
|
||||||
PROC_LABEL parameter (see point 1 righ above).
|
PROC_LABEL parameter (see point 1 righ above).
|
||||||
@@ -390,19 +386,16 @@ WINDOWS
|
|||||||
value of CMAKE_BUILD_TYPE ("Release" in this example).
|
value of CMAKE_BUILD_TYPE ("Release" in this example).
|
||||||
|
|
||||||
METHOD 3:
|
METHOD 3:
|
||||||
Here is a sample batch file to compile RawTherapee in Windows
|
Here is a sample batch file to compile RawTherapee in Windows. Adjust
|
||||||
Adjust directory names to match your setup
|
directory names to match your setup:
|
||||||
|
|
||||||
set GTKMM_BASEPATH=C:\gtkmm64
|
set GTKMM_BASEPATH=C:\gtkmm64
|
||||||
set GTKMM64_BASEPATH=C:\gtkmm64
|
set GTKMM64_BASEPATH=C:\gtkmm64
|
||||||
set MINGW_BASEPATH=C:\MinGW64
|
set MINGW_BASEPATH=C:\MinGW64
|
||||||
set PATH=%PATH%;C:\gtkmm64\bin;C:\MinGW64\bin;C:\CMake\bin;C:\DevTools\XMPToolkit\bin
|
set PATH=%PATH%;C:\gtkmm64\bin;C:\MinGW64\bin;C:\CMake\bin;C:\DevTools\XMPToolkit\bin
|
||||||
set PKG_CONFIG_PATH=C:\MinGW64\lib\pkgconfig;c:\gtkmm64\lib\pkgconfig
|
set PKG_CONFIG_PATH=C:\MinGW64\lib\pkgconfig;c:\gtkmm64\lib\pkgconfig
|
||||||
|
|
||||||
set RT_SOURCECODE_PATH=C:\Users\YOURNAME\workspace\rawtherapee_default
|
set RT_SOURCECODE_PATH=C:\Users\YOURNAME\workspace\rawtherapee_default
|
||||||
set RT_BUILD_PATH=C:\Users\YOURNAME\rt_builds\rt_default_release
|
set RT_BUILD_PATH=C:\Users\YOURNAME\rt_builds\rt_default_release
|
||||||
cd %RT_BUILD_PATH%
|
cd %RT_BUILD_PATH%
|
||||||
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles" -DPROC_TARGET_NUMBER:STRING=2 -C%RT_SOURCECODE_PATH%\Win32CMakeOptions-Sample.txt %RT_SOURCECODE_PATH%
|
cmake -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles" -DPROC_TARGET_NUMBER:STRING=2 -C%RT_SOURCECODE_PATH%\Win32CMakeOptions-Sample.txt %RT_SOURCECODE_PATH%
|
||||||
mingw32-make -j12 install
|
mingw32-make -j12 install
|
||||||
pause
|
pause
|
||||||
@@ -413,36 +406,36 @@ LINUX
|
|||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
See the list of dependencies at the beginning of this document.
|
See the list of dependencies at the beginning of this document.
|
||||||
|
|
||||||
In Ubuntu/Debian the requirements can be installed by running:
|
|
||||||
sudo apt-get install build-essential cmake libcanberra-gtk-dev \
|
|
||||||
libfftw3-dev libbz2-dev libexiv2-dev libexpat1-dev libglib2.0-dev \
|
|
||||||
libglibmm-2.4-dev libgtk2.0-dev libgtkmm-2.4-dev libiptcdata-dev \
|
|
||||||
libjpeg8-dev liblcms2-dev libpng-dev libsigc++-2.0-dev libtiff-dev \
|
|
||||||
mercurial zlib1g-dev
|
|
||||||
|
|
||||||
In Fedora, run:
|
|
||||||
sudo yum install gcc-c++ cmake bzip2-devel exiv2-devel expat-devel \
|
|
||||||
fftw-devel glib2-devel glibmm24-devel gtk+-devel gtkmm24-devel \
|
|
||||||
libcanberra-devel libjpeg-turbo-devel lcms2-devel libiptcdata-devel \
|
|
||||||
libpng-devel libsigc++20-devel libtiff-devel zlib-devel
|
|
||||||
|
|
||||||
In Gentoo, run:
|
|
||||||
sudo emerge -uva app-arch/bzip2 media-gfx/exiv2 dev-libs/expat \
|
|
||||||
dev-libs/glib dev-cpp/glibmm x11-libs/gtk+ dev-cpp/gtkmm \
|
|
||||||
media-libs/libcanberra media-libs/libjpeg-turbo media-libs/lcms \
|
|
||||||
media-libs/libiptcdata media-libs/libpng dev-libs/libsigc++ \
|
|
||||||
media-libs/tiff sci-libs/fftw sys-libs/zlib
|
|
||||||
|
|
||||||
In Arch, run:
|
In Arch, run:
|
||||||
sudo pacman -S bzip2 exiv2 expat fftw glib2 glibmm gtk gtkmm lcms2 \
|
sudo pacman -S bzip2 exiv2 expat fftw glib2 glibmm gtk gtkmm lcms2 \
|
||||||
libcanberra libiptcdata libjpeg-turbo libpng libsigc++ libtiff zlib
|
libcanberra libiptcdata libjpeg-turbo libpng libsigc++ libtiff zlib
|
||||||
|
|
||||||
|
In Fedora, run:
|
||||||
|
sudo yum install bzip2-devel cmake exiv2-devel expat-devel fftw-devel \
|
||||||
|
gcc-c++ glib2-devel glibmm24-devel gtk+-devel gtkmm24-devel lcms2-devel \
|
||||||
|
libcanberra-devel libiptcdata-devel libjpeg-turbo-devel libpng-devel \
|
||||||
|
libsigc++20-devel libtiff-devel zlib-devel
|
||||||
|
|
||||||
|
In Gentoo, run:
|
||||||
|
sudo emerge -uva app-arch/bzip2 dev-cpp/glibmm dev-cpp/gtkmm \
|
||||||
|
dev-libs/expat dev-libs/glib dev-libs/libsigc++ dev-vcs/mercurial \
|
||||||
|
media-gfx/exiv2 media-libs/lcms media-libs/libcanberra \
|
||||||
|
media-libs/libiptcdata media-libs/libjpeg-turbo media-libs/libpng \
|
||||||
|
media-libs/tiff net-misc/curl sci-libs/fftw sys-libs/zlib x11-libs/gtk+
|
||||||
|
|
||||||
In openSUSE, run:
|
In openSUSE, run:
|
||||||
sudo zypper in gcc-c++ cmake fftw3-devel glib2-devel gtk2-devel \
|
sudo zypper in cmake fftw3-devel gcc-c++ glib2-devel glibmm2-devel \
|
||||||
glibmm2-devel gtkmm2-devel libbz2-devel libcanberra-devel libexpat-devel \
|
gtk2-devel gtkmm2-devel libbz2-devel libcanberra-devel libexpat-devel \
|
||||||
libiptcdata-devel libjpeg-devel liblcms2-devel libpng-devel \
|
libiptcdata-devel libjpeg-devel liblcms2-devel libpng-devel \
|
||||||
libsigc++2-devel libtiff-devel zlib-devel
|
libsigc++2-devel libtiff-devel zlib-devel
|
||||||
|
|
||||||
|
In Ubuntu/Debian the requirements can be installed by running:
|
||||||
|
sudo apt-get update && sudo apt-get install build-essential cmake curl \
|
||||||
|
libbz2-dev libcanberra-gtk-dev libexiv2-dev libexpat-dev libfftw3-dev \
|
||||||
|
libglibmm-2.4-dev libgtk2.0-dev libgtkmm-2.4-dev libiptcdata0-dev \
|
||||||
|
libjpeg8-dev liblcms2-dev libpng12-dev libsigc++-2.0-dev libtiff4-dev \
|
||||||
|
mercurial zlib1g-dev
|
||||||
|
|
||||||
COMPILE:
|
COMPILE:
|
||||||
The Automatic Way:
|
The Automatic Way:
|
||||||
The easiest way compile RawTherapee is by using the buildRT script, read
|
The easiest way compile RawTherapee is by using the buildRT script, read
|
||||||
@@ -560,6 +553,3 @@ OS X
|
|||||||
- You will find a RawTherapee.dmg file in the release/ folder; this is the
|
- You will find a RawTherapee.dmg file in the release/ folder; this is the
|
||||||
distribution release and can be run on any machine which meets the
|
distribution release and can be run on any machine which meets the
|
||||||
architecture requirements you specified in variants.conf earlier.
|
architecture requirements you specified in variants.conf earlier.
|
||||||
|
|
||||||
Contact: For any bugs or patches to the OS X build, please contact Wyatt
|
|
||||||
<wyatt@digitalcave.ca>
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -15,7 +15,7 @@ repo="${HOME}/rawtherapee"
|
|||||||
OPTIND=1 # Reset in case getopts has been used previously in the shell.
|
OPTIND=1 # Reset in case getopts has been used previously in the shell.
|
||||||
outFileFormat="-t"
|
outFileFormat="-t"
|
||||||
tmpDir="/tmp/rawtherapee-benchmark"
|
tmpDir="/tmp/rawtherapee-benchmark"
|
||||||
runs=3
|
runs=5
|
||||||
|
|
||||||
howto() {
|
howto() {
|
||||||
fold -s <<END
|
fold -s <<END
|
||||||
|
Reference in New Issue
Block a user