[C++-sig] Building tutorial example out of the boost tree, on Windows

Raghvendra Jain raghavendra.jain at gmail.com
Mon Oct 7 16:52:39 CEST 2013


Hi Gary,

You can forget bjam.
Just use b2 as written there in tutorial.
Just an additional comment, even if you are using x64 bit architecture, you
dont have to install 64 bit Python and 64 bit compiler for Visual studio.
Even if you use 32 bit Python and 32 bit Visual Studio C++ compiler, it
will work fine.

These instructions were written by my colleague and we worked together on
that, so please feel free to post some question if it doesn't work.

Cheers
Raghav







On Mon, Oct 7, 2013 at 11:47 PM, Gary Oberbrunner <garyo at genarts.com> wrote:

>
>
> ------------------------------
>
> *From: *"Raghvendra Jain" <raghavendra.jain at gmail.com>
>
> *To: *"Development of Python/C++ integration" <cplusplus-sig at python.org>
> *Sent: *Saturday, October 5, 2013 9:44:53 AM
>
> *Subject: *Re: [C++-sig] Building tutorial example out of the boost
> tree,        on Windows
>
> Hi,
>
> Placing  user-config.jam in your %HOMEDRIVE%%HOMEPATH%
> location, and configured Python inside it, is very crucial step.
>
> I spent like 4 days while trying to build it without following this step.
> Please see the tutorial with the link below:
>
>
>
> http://garkavictor.blogspot.jp/2013/09/compiling-boost-and-boostpython-running.html
>
> Hi Raghav; thanks for that link.  In there, he does not use bjam to build
> the python extension dll; he creates a Visual Studio project and does it
> there.  Is that the recommended method now?  I thought I saw somewhere it
> is recommended to use bjam and most newbie questions come from not doing
> that.
>
> In any case, I can use bjam to build and test the tutorial example when
> it's inside the boost tree, but not when I move it outside -- I feel like I
> must be missing something simple.
>
> --
> Gary Oberbrunner
>
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
> https://mail.python.org/mailman/listinfo/cplusplus-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20131007/efa1d36e/attachment.html>


More information about the Cplusplus-sig mailing list