[C++-sig] boost::python std::vector< std::string > crash

David Abrahams dave at boost-consulting.com
Tue Jul 4 21:01:17 CEST 2006


John Reid <j.reid at mail.cryst.bbk.ac.uk> writes:

> Ok this seems to be a crash in debug mode when I am picking up the 
> release version of boost_python.dll in my path.
>
> How to make boost build v1 install boost_python.dll next to my 
> extension? Or do I need to manually copy the correct (debug/release) 
> version every time I want to debug or run the release version?
>
> I've tried adding
>
> 		<dll>@boost/libs/build/boost_python
>
> to my stage target to no avail.
>
> I have followed the 'Creating Packages' guidelines in the 'General 
> Techniques' documentation but could not find any documentation on how to 
> set up a build environment where I can alternate between debug and 
> release builds easily.

If you use the boost-python-runtest rule as shown in
libs/python/example/Jamfile it will take care of setting up these
paths for you.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list