Getting Quanlib c++ test and Python bindings in QuantLib-SWIG-1.4 to work in Win 8.1?

Posted by Corentin Valleroy on
URL: http://quantlib.414.s1.nabble.com/Getting-Quanlib-c-test-and-Python-bindings-in-QuantLib-SWIG-1-4-to-work-in-Win-8-1-tp15200.html

Hello,
I have fallowed the tutorial for building Quantlib for windows. I have
successfully compiled all the projects with VS 2013, except the testsuite
one where I get this error:
Error 1 error LNK1104: cannot open file
'libboost_unit_test_framework-vc120-mt-1_55.lib'
C:\Users\Corentin\Documents\prog\quantlib\QuantLib\test-suite\LINK
testsuite

Is there something special to do with my set up (win 8.1 + VS13)?

I also the following error when I try to compile the Python bindings with
the command python setup.py build:
(I have noticed than in the Git repo, the python bindings does not have the
files QuantLib.py and quantlib_wrap.cpp, is it normal?)

C:\Users\Corentin\Documents\prog\QuantLib-SWIG-1.4\Python>python setup.py
build
running build
running build_py
creating build
creating build\lib.win-amd64-3.3
creating build\lib.win-amd64-3.3\QuantLib
copying QuantLib\__init__.py -> build\lib.win-amd64-3.3\QuantLib
copying QuantLib\QuantLib.py -> build\lib.win-amd64-3.3\QuantLib
running build_ext
building 'QuantLib._QuantLib' extension
Traceback (most recent call last):
  File "setup.py", line 239, in <module>
    'build_ext': my_build_ext
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\dist.py", line 930, in run_commands
    self.run_command(cmd)
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\dist.py", line 949, in run_command
    cmd_obj.run()
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\command\build.py", line 126, in run
    self.run_command(cmd_name)
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\dist.py", line 949, in run_command
    cmd_obj.run()
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\command\build_ext.py", line 353, in run
    self.build_extensions()
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\command\build_ext.py", line 462, in
build_extensions
    self.build_extension(ext)
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\command\build_ext.py", line 517, in
build_extension
    depends=ext.depends)
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\msvc9compiler.py", line 460, in compile
    self.initialize()
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\msvc9compiler.py", line 371, in initialize
    vc_env = query_vcvarsall(VERSION, plat_spec)
  File "C:\python\winpython\WinPython-64bit-3.3.5.0\python-
3.3.5.amd64\lib\distutils\msvc9compiler.py", line 287, in query_vcvarsall
    raise ValueError(str(list(result.keys())))
ValueError: ['path', 'include']


Thanks for your help.

Corentin


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users