Login  Register

Re: QuantLib-Python (for Windows) Set-Up

Posted by Jake Larrimore on Dec 14, 2016; 9:44pm
URL: http://quantlib.414.s1.nabble.com/QuantLib-Python-for-Windows-Set-Up-tp17919p17926.html

Hey Jake,
I actually asked the exact same question a couple of weeks ago. 
I'll give you the same advice Luigi gave me: 
"
may I suggest using the instructions at <http://quantlib.org/install/vc10.shtml> for building QuantLib? They might be more detailed. Once you have built the library, you can go back to the instructions you were following and start from item 10 to build the Python module. 
"
I'll add, I'm still working on step 10... so if you manage to get there and get python working with it, let me know how the heck you did that!

Best,
Jake Larrimore 


On Wed, Dec 14, 2016 at 2:03 AM Jake Roth <[hidden email]> wrote:
All --

I am trying to install QuantLib (for use with Python) on a Windows machine based on these instructions.  I've installed the following versions (all exactly as listed on the instructions) to my C:\ drive or C:\Program Files (x86) folder:
  • Visual Studio 2013 (C:\Program Files (x86))
  • Anaconda (32-bit, Python 2.7) (C:\)
  • QuantLib-1.6 (C:\)
  • QuantLib-SWIG-1.6 (C:\)
  • swigwin-3.0.5 (C:\)
  • boost_1_58_0 (C:\)
and have run the following commands from Visual Studio 2013 developer command prompt:

set myboost=C:\boost_1_58_0

msbuild /p:AdditionalLibPaths="&%myboost\lib32-msvc-12.0&" /p:Configuration=Release /p:Platform=Win32 QuantLib_vc12.sln

image.png

However, I am receiving the following (Boost-related) error messages for each file (message below for the stochasticprocesses.cpp file):

C:\QuantLib-1.6\ql/qldefines.hpp(38): fatal error C1083: Cannot include file 'boost/config.hpp': No such file or directory (ql\stochasticprocesses.cpp) [C:\QuantLib-1.6\QuantLib.vcxproj]

image.png

Can you please advise on possible remedies?

Thanks,
Jake

--
Jake Roth
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
Jake Larrimore
443-340-9570

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users