http://www.microsoft.com/express/
(2) Download and install boost Prebuilt windows binaries - boost_1_59_0-msvc-14.0-32.exe from http://sourceforge.net/projects/boost/files/boost-binaries/1.59.0/
For 64 bit version, it is boost_1_59_0-msvc-14.0-64.exe
say install to D:\local\boost_1_59_0
(3) Download and unzip QuantLib-1.6.2.zip from http://sourceforge.net/projects/quantlib/files/QuantLib/1.6.2/
The updated version of QuantLib is 1.80
(4) Start Visual Studio Express 2015 and open project solution QuantLib_vc14.sln in the extracted quantlib folder.
(5) Multi-select all projects (except the solution) and click the setting icon to bring up the property page.
(6) Select All Configurations and All Platforms. Add D:\local\boost_1_59_0; to the Property Pages : VC++ Include directories.
And also add ;D:\local\boost_1_59_0\lib32-msvc-14.0; to the Library directories.
(7) Add /wd4819 to Command Line : Additional Options to disable C4819 warnings when compiling Quantlib.
(8) Build Debug / Release Win32 Solution using shortcut key (Fn-F7)
Choose Static Runtime Configurationif this is available
(9) After build, highlight the quantlib solution and edit the solution property pages by clicking the setting icon or use the shortcut key (Shift-Fn-F4)
(9.1) Choose a project say Bonds as startup project
(9.2) And then Debug / Release Run (Control-Fn-F5)
Choose Static Runtime Configurationif this is available
(9.3) If run test-suite, this command line argument should be added.
--log_level=message --build_info=yes --result_code=no --report_level=short
- vim +196 Packages/SwiftDate-1.0.0/SwiftDate/Term.swift Select all
mkdir -p Frameworks/boost.framework/Versions/1.60.0/Resources
cat > Frameworks/boost.framework/Versions/1.60.0/Resources/Info.plist <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>boost</string>
<key>CFBundleIdentifier</key>
<string>org.boost</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.60.0</string>
</dict>
</plist>
EOF
ln -s ${HOME}/boost_1_60_0/boost Frameworks/boost.framework/Versions/1.60.0/Headers
ln -s ${HOME}/boost_1_60_0/doc Frameworks/boost.framework/Versions/1.60.0/Documentation
ar crus Frameworks/boost.framework/Versions/1.60.0/boost boost_1_60_0/stage/lib/libboost_*.a
(cd Frameworks/boost.framework/Versions; ln -s 1.60.0 Current)
(cd Frameworks/boost.framework; ln -s Versions/Current/* .)
mkdir -p Frameworks/ql.framework/Versions/1.7/Resources
cat > Frameworks/ql.framework/Versions/1.7/Resources/Info.plist <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>ql</string>
<key>CFBundleIdentifier</key>
<string>org.boost</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.7</string>
</dict>
</plist>
EOF
ln -s ${HOME}/QuantLib-1.7/Docs Frameworks/ql.framework/Versions/1.7/Documentation
ln -s ${HOME}/QuantLib-1.7/prefix/usr/local/include/ql Frameworks/ql.framework/Versions/1.7/Headers
ln -s ${HOME}/QuantLib-1.7/prefix/usr/local/lib/libQuantLib.a Frameworks/ql.framework/Versions/1.7/ql
(cd Frameworks/ql.framework/Versions; ln -s 1.7 Current)
(cd Frameworks/ql.framework; ln -s Versions/Current/* .)
No comments:
Post a Comment