Cannot build quantlib-swig python library

Posted by raphael-44 on
URL: http://quantlib.414.s1.nabble.com/Cannot-build-quantlib-swig-python-library-tp7491.html

Hello,
I cannot build python.py. It cannot create quantlib_wrap_obj and thus gives the
following error message:

C:\QuantLib-SWIG-0.9.7\Python>python setup.py build
running build
running build_py
running build_ext
building 'QuantLib._QuantLib' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -D__WIN32__ -DWIN32 -DNDEBUG -D_WINDOWS -DNOMINMAX -IC:\Python26
\include -IC:\Python26\PC -IC:\QuantLib-0.9.7 "-IC:\Program Files\Microsoft Visu
al Studio 9.0\VC\INCLUDE" "-IC:\Program Files\Microsoft SDKs\Windows\v6.0A\inclu
de" -I /TpQuantLib/quantlib_wrap.cpp /Fobuild\temp.win32-2.6\Release\QuantLib/qu
antlib_wrap.obj /GR /FD /Zm250 /MD
cl : Ligne de commande error D8003 : nom de fichier de la source absent
error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' fa
iled with exit status 2


Any idea?
Thanks a lot.

My config:

Windows XP Pro
Visual Studio 9.0(Express)
Quantlib 0.9.7 (built with VC++ 9)
Quantlib-SWIG 0.9.7
swigwin-1.3.39
python 2.6
boost 1.38 (built with VC++ 9)




------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users