[C++-sig] Re: hello.pyd - where did it go?

Joel de Guzman djowel at gmail.com
Thu Mar 17 16:49:32 CET 2005


David Abrahams wrote:
> Jesper Olsen <jesper.olsen at gmail.com> writes:
> 
> 
>>Hi,
>>
>>I just installed boost 1.32 on linux - I want to use Boost.Python.
>>
>>The installation seemed to go ok.
>>
>>After that I tried the hello world example
>>
>>http://www.boost.org/libs/python/doc/tutorial/doc/html/python/hello.html
>>
>>% cd boost_1_32_0/libs/python/example/tutorial
>>% bjam -sTOOLS=gcc -a
>>
>>This seems to work also - a hello.so is created and copied to
>>
>>boost_1_32_0/bin/boost/libs/python/example/tutorial/hello.so
>>
>>but where did hello.pyd go? The above hello.html page says it's
>>supposed to be "somewhere in libs\python\example\tutorial\bin"
>>
>>But it's not there.
>>
>>I have not used bjam prior to boost so I'm a little confused - is it
>>possible to see
>>what the commandline eqivalents of what bjam is actually doing?
> 
> 
> Add  "-d+2" to your bjam command line, just after "bjam"
> 
> If you've already built something, use
> "-a" to cause bjam to treat everything as being out-of-date
> and "-n" to cause bjam not to build anything, but display the
> commands that would be executed.

Time to update the tutorial? Is it not a good idea to put
bjam generated directory paths there since these are subject
to change?

Regards,
-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net



More information about the Cplusplus-sig mailing list