Login  Register

Re: windows python build

Posted by Luigi Ballabio on Feb 17, 2010; 10:45am
URL: http://quantlib.414.s1.nabble.com/windows-python-build-tp6467p6468.html

On Tue, 2010-02-16 at 13:52 -0600, Hugo Shi wrote:
> Can anyone help?  I'm trying to build the python modules for quantlib.
> Thanks in advanced.  Obviously something wierd is happening with the
> paths, I just don't know why this would be the case.

Yes, the spaces in the paths are not properly escaped and the compiler
splits them.  I'd try avoiding paths with spaces altogether.  What seems
to work for me is:

- install Boost in, say,  c:\boost\boost_1_39.
- don't set BOOST_DIR, since the setup script is not going to use it.
  Instead, use:

set INCLUDE=c:\boost\boost_1_39
python setup.py build

Hope this helps,
        Luigi


--

Do the right thing. It will gratify some people and astonish the rest.
-- Mark Twain



------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users