Subject: Re: [Boost-build] How to specify location of boost_python-vc90-mt-gd-1_38.dll?
From: David Roy (david.roy.perso_at_[hidden])
Date: 2009-07-09 04:04:59
Many thanks Volodya, that works!
My purpose is to have this path automatically appended with no action of the
user, and with portability on various OS. So I added the following lines to
os.environ['path'] = os.environ['path'] + os.pathsep + "C:/Program
Would you consider it the right way to do that? One advantage seems to be
that PATH is "cleaned" from the appended directory at the end of execution.
Vladimir Prus wrote:
> On Wednesday 08 July 2009 David Roy wrote:
>> I have no problems with compiling my boost.python pyd library.
>> When I try to run the python script that import the pyd library, I've got
>> This application couldn't start because boost_python-vc90-mt-gd-1_38.dll
>> not found (...)
>> But this works fine if I drop this dll in my project directory. I suppose
>> there is a way to avoid doing that and specify that this dll is in
> You'll have to add that directory to your PATH environment variable.
>> Probably through one of the jamroot, boost-build.jam, user-config.jam?
>> Anyone can help ? (I know this is a rookie question :-))
> While Boost.Build can be made to automatically add to PATH (just like
> tests do, and like tutorial does), it's is not possible to make standalone
> Python module refer to Boost.Python dll by absolute path -- I don't think
> possibe in windows at all.
> - Volodya
> Unsubscribe & other changes:
-- View this message in context: http://www.nabble.com/How-to-specify-location-of-boost_python-vc90-mt-gd-1_38.dll--tp24388145p24405881.html Sent from the Boost - Build mailing list archive at Nabble.com.
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