[Python] Setting Python version in Visual Studio

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? I know the boost python docs recommend using boost::jam to build python projects, but I inherited this one from someone and I do not know enough bjam to put it together quickly. Thanks -J __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

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
participants (2)
-
Steven Watanabe
-
Tryptik