|
Boost-Build : |
Subject: [Boost-build] Building Boost:Python example in Boostpro installation
From: Maheshakya Wijewardena (pmaheshakya4_at_[hidden])
Date: 2013-05-18 01:14:20
I have Boostpro (Boost version 1.47) installed in my system (Windows 7
32-bit). I'm trying to build the example given in boost python
directory(C:\Program Files\boost\boost_1_47\libs\python\example\tutorial).
As I'm using boostpro which is precompiled, I think I don't have to use
bjam here. So I used following command in the command line to build
hello.cpp.
cl /EHsc /I "C:\Program Files\boost\boost_1_47" hello.cpp
/link/LIBPATH:"C:\Program Files\boost\boost_1_47\lib"
But I get the following error
C:\Program Files\boost\boost_1_47\boost/python/detail/wrap_python.hpp(50) :
fata
l error C1083: Cannot open include file: 'pyconfig.h': No such file or
directory
What is the reason for this error?
I have found that pyconfig.h file resides in "C:\Python27\libs". Is there a
way to add this as an include directory while using command line to build
this.
Or is there any other way to do this in boostpro?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk