(Boost instructions completed) |
m (→Boost) |
||
Line 19: | Line 19: | ||
Instructions on [http://dave-programming.blogspot.com/2008/02/how-to-build-boost-1341-with-visual.html this site] are straightforward, though the patching step (for VC++ 2008 Express compatibility) is no longer required with v1.35.0. |
Instructions on [http://dave-programming.blogspot.com/2008/02/how-to-build-boost-1341-with-visual.html this site] are straightforward, though the patching step (for VC++ 2008 Express compatibility) is no longer required with v1.35.0. |
||
− | + | An adaptation of the key steps follows: |
|
+ | In a command prompt execute the following: |
||
<code> |
<code> |
||
%VS90COMNTOOLS%vsvars32.bat |
%VS90COMNTOOLS%vsvars32.bat |
Revision as of 12:28, 6 May 2008
DNG for PowerShot-2 (DNG4PS-2) sources are publicly available on the DNG4PS-2 homepage. The build advice below is based upon conversations with the author and experience with:
- Visual C++ 2008 Express
- DNG4PS-2 beta release 0.2.2beta-24 (20.04.2008)
- Windows XP SP2.
Pre-Requisites
The readme_en.txt files lists a number of pre-requisites
- wxWidgets library (http://www.wxwidgets.org/).
- Boost library (http://www.boost.org/)
- RAD tool "Code::Blocks" (http://www.codeblocks.org/). Newest nightly build are required
- If you want to compile under MS Windows, install MinGW (CGG compiler for Windows) with gettext module (http://www.mingw.org/).
In practice the last two pre-requisites are not mandatory. They are only required when performing GUI modifications or building executables for non-Windows platforms. On Windows the program can be built using Visual C++ 2008 Express, Boost and wxWidgets.
Build Libraries
Boost
The Boost C++ Libraries can be downloaded from here. Current version at time of writing was v1.35.0, with a download size of ~42mb, unpack/build size of ~220Mb, and install size of ~44Mb (include files and libraries).
Instructions on this site are straightforward, though the patching step (for VC++ 2008 Express compatibility) is no longer required with v1.35.0.
An adaptation of the key steps follows:
In a command prompt execute the following:
%VS90COMNTOOLS%vsvars32.bat
REM Change BOOSTROOT to reflect unpack directory for the zip
SET BOOSTROOT=C:\temp\boost_1_35_0
REM Build bjam build program
cd /d "%BOOSTROOT%\tools\jam\src"
build.bat
REM Build Boost libraries then install
cd /d "%BOOSTROOT%"
tools\jam\src\bin.ntx86\bjam.exe
REM Change the value of the --prefix option to the location to install Boost
tools\jam\src\bin.ntx86\bjam.exe install --prefix=c:\boost_1_35_0\