dlRaw is written with portability in mind. It uses Qt's qmake for platform dependent makefile generation.
I do build dlRaw on an Linux Ubuntu 7.10 (Gutsy Gibbon) distribution. Hereafter follows a summary of the libraries that need to be installed on your system. Please be aware that header files should be available for the building process, so typically you need the -dev versions to be installed. The versions just indicate what I have available. Probably any recent version will do equally well. Feedback appreciated.
| Lib | Full name on ubuntu | Version | Remark |
| libqt4 | 4.4.3 | Build from source (Minimum version needed for gui compilation) | |
| libjpeg | libjpeg62-dev | 6b14 | |
| liblcms | liblcms1-dev | 1.16 | |
| libexiv2 | liblexiv2-dev | 0.15 |
If all libraries are available and the g++ compiler is installed, following commands should be building dlRaw (qmake is part of the Qt environment and generates a platform specific makefile) :
qmake make
I prepared a package with windows in its name and that probably should work just like that if you unpack it in a Windows folder and start dlraw.exe from within that folder.
dlRaw can be compiled under Windows with the MinGW environment. Hereafter follows a more or less complete step-per-step description.
Download Qt with MinGWThe Qt toolkit can be downloaded here along with the MinGW compiler. Choose for the 'open source edition' with the MinGW compiler included. Install it with the defaults.
Install MSYSMSYS is a bunch of GNU utilities (and a shell) that allows you to configure and build with MinGW as you would do it the GNU way. Download here and install it with the defaults.
Configure and compile QtLaunch MSYS and issue the following commands (or the equivalents) :
cd /c/Qt/4.4.3 configure.exe -platform win32-g++ mingw32-make.exe mingw32-make.exe install
The 'configure' command takes some time, the 'make' commands takes a lot of time. (hours on my PC).
Download and install gtk+ bundle for windowsAn all in one gtk+ bundle (including goodies as jpeg,zlib,expat ..) can be obtained here.
Extract under c:/MingW or equivalent.
Download and install lcmsDownload lcms for Windows here. Select the windows version. Unzip the zip file in an appropriate directory, such as c:/lcms or something equivalent. Launch MSYS and issue the following commands (or the equivalents) :
cd /c/lcms ./configure --prefix=/MinGW make make installDownload and install expat
Download expat for Windows here. Select the tar.gz windows version. Unzip the zip file in an appropriate directory, such as c:/expat or something equivalent. Launch MSYS and issue the following commands (or the equivalents) :
cd /c/expat ./configure --prefix=/MinGW make make installDownload and install exiv2
Download an exiv2 version here. (the most recent one 0.18 did not compile for me) Unzip the zip file in an appropriate directory, such as c:/exiv2 or something equivalent. Launch MSYS and issue the following commands (or the equivalents) :
cd /c/exiv2 ./configure --prefix=/MinGW make make installDownload and install regex
Download a self installing MinGW regex package from here. (choose complete package, except sources)
Have it also installed under c:/MinGW or equivalent.
Download and compile dlRawDownload dlRaw sources and project file (dlRaw.pro) from a package or CVS under dlRaw. Unzip/Copy it in an appropriate directory, such as c:/dlraw or something equivalent. Launch MSYS and issue the following commands (or the equivalents) :
cd /c/dlraw /c/Qt/4.4.3/bin/qmake.exe makePick up the pieces and create a dlRaw folder
Create a new folder dlRaw (at a location of your choice) and populate it with following files (the exact origin might depend on the choices you made earlier) :
dlRaw should now be executeable from within that folder.
All feedback welcome at : dlraw-devel@lists.sourceforge.net