http://quantlib.414.s1.nabble.com/Getting-Quanlib-c-test-and-Python-bindings-in-QuantLib-SWIG-1-4-to-work-in-Win-8-1-tp15200p15205.html
Hi Corentin,
The exeption "ValueError: ['path', 'include']" means that you're command line tools are not properly configured. It is looking for a VS100COMNTOOLS environment variables. Python 3.3. has been built using MSVC 2010 and not 2012. You'll have to reconfigure your system accordingly. I am not sure what CRT is used by MSVC 2013 but you have to make sure you compile the library with the same CRT has your Python installation.
-- Didrik
On 26 April 2014 06:00, Corentin Valleroy <
[hidden email]> wrote:
>
> 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
--
Didrik Pinte +32 475 665 668
+44 1223 969515
Enthought Europe
[hidden email]
Scientific Computing Solutions
http://www.enthought.comThe information contained in this message is Enthought confidential & not to be dissiminated to outside parties without explicit prior approval from sender. This message is intended solely for the addressee(s), If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.