[QuantLibAddin-cvs] QuantLibAddin/Docs/pages build.tutorial.docs, 1.5, 1.6
Brought to you by:
ericehlers,
nando
|
From: Eric E. <eri...@us...> - 2006-10-04 01:47:59
|
Update of /cvsroot/quantlibaddin/QuantLibAddin/Docs/pages In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv27835 Modified Files: build.tutorial.docs Log Message: update build tutorial Index: build.tutorial.docs =================================================================== RCS file: /cvsroot/quantlibaddin/QuantLibAddin/Docs/pages/build.tutorial.docs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.tutorial.docs 17 Sep 2006 17:20:31 -0000 1.5 --- build.tutorial.docs 3 Oct 2006 10:07:01 -0000 1.6 *************** *** 24,29 **** /*! \page build_tutorial Build Tutorial - <center><small>last updated 5 September 2006</small></center> - This document explains how to build QuantLibXL and its prerequisites from source code. --- 24,27 ---- *************** *** 32,39 **** to the <a href="http://www.quantlibxl.org">QuantLibXL</a> web site. - Piter Dias has written a - <a href="http://sourceforge.net/mailarchive/forum.php?thread_id=30355157&forum_id=4299">DOS batch file</a> - which automates all of the steps described in this document. - \ref sec_build_vc8 \n \ref sec_build_python \n --- 30,33 ---- *************** *** 44,48 **** \ref sec_build_quantlib \n \ref sec_build_quantlibtestsuite \n - \ref sec_build_quantlibfunctions \n \ref sec_build_log4cxx \n \ref sec_build_gensrc \n --- 38,41 ---- *************** *** 55,60 **** \section sec_build_vc8 Install Visual C++ ! This section explains how to install Visual C++ (also known as VC8). VC8 is ! available either as a free download called Visual Studio Express, or for purchase as a component of Microsoft Visual Studio 2005 Professional Edition. --- 48,53 ---- \section sec_build_vc8 Install Visual C++ ! This section explains how to install Visual C++ 2005 (also known as VC8). VC8 ! is available either as a free download called Visual Studio Express, or for purchase as a component of Microsoft Visual Studio 2005 Professional Edition. *************** *** 100,108 **** You are now ready to build QuantLib. You need to compile the following projects: ! - <a href="http://quantlib.org/">QuantLib 0.3.13</a> - the core C++ analytics library - <b>log4cxx 0.9.7a</b> - a logging framework, used by ObjectHandler ! - <a href="http://www.objecthandler.org">ObjectHandler 0.1.4</a> - an object repository ! - <a href="http://www.quantlibaddin.org">QuantLibAddin 0.3.13</a> - Addins for QuantLib functionality ! - <a href="http://www.quantlibxl.org">QuantLibXL 0.3.13</a> - the Excel implementation of QuantLibAddin These projects are available with four different runtime libraries --- 93,101 ---- You are now ready to build QuantLib. You need to compile the following projects: ! - <a href="http://quantlib.org/">QuantLib 0.4.0</a> - the core C++ analytics library - <b>log4cxx 0.9.7a</b> - a logging framework, used by ObjectHandler ! - <a href="http://www.objecthandler.org">ObjectHandler 0.2.0</a> - an object repository ! - <a href="http://www.quantlibaddin.org">QuantLibAddin 0.4.0</a> - Addins for QuantLib functionality ! - <a href="http://www.quantlibxl.org">QuantLibXL 0.4.0</a> - the Excel implementation of QuantLibAddin These projects are available with four different runtime libraries *************** *** 138,142 **** "QuantLibXL" (no version number) e.g: \verbatim ! C:\projects\QuantLibAddin-0.3.13 C:\projects\QuantLibXL \endverbatim --- 131,135 ---- "QuantLibXL" (no version number) e.g: \verbatim ! C:\projects\QuantLibAddin-0.4.0 C:\projects\QuantLibXL \endverbatim *************** *** 155,163 **** For purposes of this tutorial we assume all packages are installed to <tt>C:\\projects</tt> e.g.: \verbatim ! C:\projects\QuantLib-0.3.13 ! C:\projects\gensrc-0.1.4 C:\projects\log4cxx-0.9.7a ! C:\projects\ObjectHandler-0.1.4 ! C:\projects\QuantLibAddin-0.3.13 C:\projects\QuantLibXL \endverbatim --- 148,156 ---- For purposes of this tutorial we assume all packages are installed to <tt>C:\\projects</tt> e.g.: \verbatim ! C:\projects\QuantLib-0.4.0 ! C:\projects\gensrc-0.2.0 C:\projects\log4cxx-0.9.7a ! C:\projects\ObjectHandler-0.2.0 ! C:\projects\QuantLibAddin-0.4.0 C:\projects\QuantLibXL \endverbatim *************** *** 179,183 **** <img src="images/ql_build.jpg"> ! The build process creates file <tt>QuantLib\\lib\\QuantLib-vc80-mt-s-0_3_13.lib</tt>. Create environment variable <tt>QL_DIR</tt> and set it equal to the path to the --- 172,176 ---- <img src="images/ql_build.jpg"> ! The build process creates file <tt>QuantLib\\lib\\QuantLib-vc80-mt-s-0_4_0.lib</tt>. Create environment variable <tt>QL_DIR</tt> and set it equal to the path to the *************** *** 186,199 **** file. In other words the QuantLibAddin compilation will expect to find - QuantLib header files in directory <tt>\$(QL_DIR)\\include</tt> ! - QuantLib lib file <tt>QuantLib-vc80-mt-s-0_3_13.lib</tt> in directory <tt>\$(QL_DIR)\\lib</tt> \section sec_build_quantlibtestsuite Run the QuantLib Testsuite ! It's a good idea to verify the status of the QuantLib library by compiling the testsuite. This will run the testsuite executable automatically (should take less than half an hour in Release configuration, few hours in Debug) and report something like: \verbatim 1>Auto run test 1>===================================== ! 1>Testing QuantLib-vc80-mt-s-0_3_13.lib 1>===================================== 1>Running moreThan200 test cases... --- 179,195 ---- file. In other words the QuantLibAddin compilation will expect to find - QuantLib header files in directory <tt>\$(QL_DIR)\\include</tt> ! - QuantLib lib file <tt>QuantLib-vc80-mt-s-0_4_0.lib</tt> in directory <tt>\$(QL_DIR)\\lib</tt> \section sec_build_quantlibtestsuite Run the QuantLib Testsuite ! It's a good idea to verify the status of the QuantLib library by compiling the ! testsuite. This will run the testsuite executable automatically (should take ! less than half an hour in Release configuration, few hours in Debug) and report ! something like: \verbatim 1>Auto run test 1>===================================== ! 1>Testing QuantLib-vc80-mt-s-0_4_0.lib 1>===================================== 1>Running moreThan200 test cases... *************** *** 217,229 **** \endverbatim - \section sec_build_quantlibfunctions Build QuantLibFunctions - - Still in the QuantLib workspace, under configuration <tt>Release</tt>, choose - solution <tt>QuantLibFunctions</tt>, and do <tt>Build/Build - QuantLibFunctions</tt>. The build process creates file - <tt>QuantLib\\lib\\QuantLibFunctions-vc80-mt-s-0_3_13.lib</tt>. - \section sec_build_log4cxx Install and Build log4cxx Download <tt>log4cxx-0.9.7a.exe</tt> from the ObjectHandler 0.1.4 section of the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740">QuantLib downloads page</a> --- 213,223 ---- \endverbatim \section sec_build_log4cxx Install and Build log4cxx + ObjectHandler versions 0.1.4 and 0.2.0 both rely on log4cxx version 0.9.7a. If + you already built log4cxx 0.9.7a for ObjectHandler 0.1.4, you don't need to do + anything further for ObjectHandler 0.2.0, and you can skip ahead to the next + step. + Download <tt>log4cxx-0.9.7a.exe</tt> from the ObjectHandler 0.1.4 section of the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740">QuantLib downloads page</a> *************** *** 239,243 **** \section sec_build_gensrc Install gensrc ! Download <tt>gensrc-0.1.4.exe</tt> from the ObjectHandler 0.1.4 section of the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740">QuantLib downloads page</a> and install it to your hard drive. The installer sets environment variable --- 233,237 ---- \section sec_build_gensrc Install gensrc ! Download <tt>gensrc-0.2.0.exe</tt> from the ObjectHandler 0.2.0 section of the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740">QuantLib downloads page</a> and install it to your hard drive. The installer sets environment variable *************** *** 250,254 **** \section sec_build_objecthandler Install and Build ObjectHandler ! Download <tt>ObjectHandler-0.1.4.exe</tt> from the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740">QuantLib downloads page</a> and install it to your hard drive. The installer sets environment variable --- 244,248 ---- \section sec_build_objecthandler Install and Build ObjectHandler ! Download <tt>ObjectHandler-0.2.0.exe</tt> from the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740">QuantLib downloads page</a> and install it to your hard drive. The installer sets environment variable *************** *** 259,267 **** <tt>Release</tt>, solution <tt>ohxllib</tt>, and do <tt>Build/Build ohxllib</tt>. The build process creates file ! <tt>ObjectHandler\\ohxl\\ohxllib\\lib\\ObjectHandler-vc80-mt-s-0_1_4.lib</tt>. \section sec_build_quantlibaddin Install and Build QuantLibAddin ! Download <tt>QuantLibAddin-0.3.13.exe</tt> and <tt>QuantLibXL-src-0.3.13.exe</tt> from the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740">QuantLib downloads page</a> and install them to your hard drive. As explained above in section \ref sec_build_directories, --- 253,261 ---- <tt>Release</tt>, solution <tt>ohxllib</tt>, and do <tt>Build/Build ohxllib</tt>. The build process creates file ! <tt>ObjectHandler\\ohxl\\ohxllib\\lib\\ObjectHandler-vc80-mt-s-0_2_0.lib</tt>. \section sec_build_quantlibaddin Install and Build QuantLibAddin ! Download <tt>QuantLibAddin-0.4.0.exe</tt> and <tt>QuantLibXL-src-0.4.0.exe</tt> from the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740">QuantLib downloads page</a> and install them to your hard drive. As explained above in section \ref sec_build_directories, *************** *** 279,283 **** <tt>Release</tt>, solution <tt>QuantLibXL</tt>, and do <tt>Build/Build QuantLibXL</tt>. The build process creates the QuantLibAddin XLL file ! <tt>QuantLibXL\\xll\\QuantLibXL-vc80-mt-s-0_3_13.xll</tt>. \section sec_build_usage Usage --- 273,277 ---- <tt>Release</tt>, solution <tt>QuantLibXL</tt>, and do <tt>Build/Build QuantLibXL</tt>. The build process creates the QuantLibAddin XLL file ! <tt>QuantLibXL\\xll\\QuantLibXL-vc80-mt-s-0_4_0.xll</tt>. \section sec_build_usage Usage *************** *** 285,289 **** To launch QuantLibXL: - start Excel ! - load the addin <tt>QuantLibXL\\xll\\QuantLibXL-vc80-mt-s-0_3_13.xll</tt> - load a sample spreadsheet e.g. <tt>QuantLibXL\\Workbooks\\OriginalExamples\\instruments.xls</tt> - hit <tt>Ctrl-Alt-F9</tt> to force a recalculation of all formulas --- 279,283 ---- To launch QuantLibXL: - start Excel ! - load the addin <tt>QuantLibXL\\xll\\QuantLibXL-vc80-mt-s-0_4_0.xll</tt> - load a sample spreadsheet e.g. <tt>QuantLibXL\\Workbooks\\OriginalExamples\\instruments.xls</tt> - hit <tt>Ctrl-Alt-F9</tt> to force a recalculation of all formulas |