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

2013-10-07 Thread Gary Oberbrunner
SCons FTW! :-) I built from source and tried it all again with bjam; no luck, same problems. So I figured, how hard can it be, it's just a DLL after all (renamed to .pyd). And sure enough it's not that hard. Here's a SConstruct that builds the tutorial example, wherever it is (does not have to

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

2013-10-07 Thread Raghvendra Jain
I recommend you better use the source rather than some pre-compiled binaries. I tried binaries and I had failed. I use Python 2.7.3 and VS 2008. Actually Victor and I, we tried only for embedding since this was our need. But extending should not be any different ( my guess)...please write back whe

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

2013-10-07 Thread Gary Oberbrunner
- Original Message - > From: "Raghvendra Jain" > To: "Development of Python/C++ integration" > > Sent: Monday, October 7, 2013 10:58:45 AM > Subject: Re: [C++-sig] Building tutorial example out of the boost > tree, on Windows > Regarding your question, about building dll file, if you me

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

2013-10-07 Thread Gary Oberbrunner
- Original Message - > From: "John Reid" ... > Have you tried pointing the use-project boost to the boost source > directory rather than the boost installation directory? I don't think > boost installs the projects, just headers and libraries. I installed Boost using the Windows install

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

2013-10-07 Thread Raghvendra Jain
Regarding your question, about building dll file, if you mean by boost_python-vc110-mt-gd-1_54.dll this dll (along with other dll and lib files) are generated after using build with b2. You just need to place it in your output directory in Debug folder. On Mon, Oct 7, 2013 at 11:53 PM, John Reid

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

2013-10-07 Thread Raghvendra Jain
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

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

2013-10-07 Thread John Reid
On 04/10/13 19:12, Gary Oberbrunner wrote: > Hi folks -- new to Boost.Python, old-school C/C++/Python developer. > > I'm trying to set up Boost.Python 1.54.0 on Windows 7, python 2.7.3, Visual > Studio 2010. I installed boost_1_54_0 using the VS10 installer, then built > bjam using 'bootstrap; .

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

2013-10-07 Thread Gary Oberbrunner
- Original Message - > From: "Raghvendra Jain" > To: "Development of Python/C++ integration" > > 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%%HOMEPAT