
on Thu Nov 29 2007, Marko Bozikovic
Hi all,
I'm having problems building Boost.Python with VC 2003.
I'm reading the howto, but I must be missing something.
My Python 2.4 is installed in C:\Python (using official Windows installer)
My user-config.jam looks like this:
import toolset : using ; using msvc : 7.1 ; using python : 2.4 : C:\\Python ;
(I have tried C:\Python and C:/Python, no luck)
When I run bjam: tools\bjam.exe --with-python
I get the following error:
WARNING: No python installation configured and autoconfiguration failed. See http://www.boost.org/libs/python/doc/building.html for configuration instructions or pass --without-python to suppress this message and silently skip all Boost.Python targets warning: Python location is not configured warning: the Boost.Python library won't be built ...found 1 target...
user-config.jam is begin read, because bjam reports errors in it.
Clearly not, when you're seeing the above warnings. Have you tried following http://boost.org/libs/python/doc/building.html? You shouldn't even need to have a user-config.jam for those instructions to work. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com