Re: installing quantlib with python SWIG bindings

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/installing-quantlib-with-python-SWIG-bindings-tp16260p16287.html

Hi,
    sorry I dropped the ball on this one, but I don't have a Windows box to experiment on.  Were you able to make any progress? 

Luigi


On Wed, Feb 11, 2015 at 4:01 PM, nickR1 <[hidden email]> wrote:
didnt work. I even changed the line to extra_link_args =
['/subsystem:windows', '/machine:AMD64'], but i'm getting a similar error
now, although seems like the importing went one step further down:

running build
running build_py
copying QuantLib\QuantLib.py -> build\lib.win-amd64-2.7\QuantLib
running build_ext
building 'QuantLib._QuantLib' extension
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo
/Ox
/MD /W3 /GS- /DNDEBUG -D__WIN32__ -DWIN32 -DNDEBUG -D_WINDOWS -DNOMINMAX
-IC:\An
aconda1\include -IC:\Anaconda1\PC
-IC:\Users\nick1\Documents\software\QuantLi
b-1.5 -IC:\Boost\boost_1_57_0 /TpQuantLib/quantlib_wrap.cpp
/Fobuild\temp.win-am
d64-2.7\Release\QuantLib/quantlib_wrap.obj /GR /FD /Zm250 /EHsc /MD
quantlib_wrap.cpp
C:\Boost\boost_1_57_0\boost/type_index.hpp(37) : warning C4068: unknown
pragma
QuantLib/quantlib_wrap.cpp(13920) : warning C4018: '<' : signed/unsigned
mismatc
h
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL
/nologo
/INCREMENTAL:NO /LIBPATH:C:\Anaconda1\libs
/LIBPATH:C:\Anaconda1\PCbuild\amd64 /
LIBPATH:C:\Users\nick1\Documents\software\QuantLib-1.5\lib
/LIBPATH:C:\Boost\
boost_1_57_0\libs
/LIBPATH:C:\Users\nick1\Documents\software\QuantLib-1.5\lib
 /EXPORT:init_QuantLib
build\temp.win-amd64-2.7\Release\QuantLib/quantlib_wrap.o
bj /OUT:build\lib.win-amd64-2.7\QuantLib\_QuantLib.pyd
/IMPLIB:build\temp.win-am
d64-2.7\Release\QuantLib\_QuantLib.lib
/MANIFESTFILE:build\temp.win-amd64-2.7\Re
lease\QuantLib\_QuantLib.pyd.manifest /subsystem:windows /machine:AMD64
build\temp.win-amd64-2.7\Release\QuantLib/quantlib_wrap.obj : fatal error
LNK111
2: module machine type 'X86' conflicts with target machine type 'x64'
error: command 'c:\\Program Files (x86)\\Microsoft Visual Studio
9.0\\VC\\BIN\\l
ink.exe' failed with exit status 1112





--
View this message in context: http://quantlib.10058.n7.nabble.com/installing-quantlib-with-python-SWIG-bindings-tp16260p16265.html
Sent from the quantlib-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



--

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users