Boost logo

Boost Users :

Subject: Re: [Boost-users] [Python] Setting Python version in Visual Studio
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-24 18:36:28


AMDG

Tryptik wrote:
> I am using boost 1_34_1 and the python module is using Python 2.5. I
> need to tell it to use 2.4. With bjam, there is a using directive
> that will link it to 2.4 - is there a pre-processor definition I can
> use to do this in Visual Studio?
>

You ought to be able to
a) specify the 2.4 include directories and
b) specify linking to the python 2.4 library.
from within visual studio. AFAIK, this ought to work.

You'll need to build the Boost.Python library against
2.4, too. Just use the bjam using directive for that.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net