[C++-sig] how to boost.build using two different python versions

2012-11-06 Thread Ronny Herzog
Dear all, I need to cross compile a python extension using boost.build. I have Python 2.6 (32 and 64 Bit) and Python 2.7 (64 Bit) installed on my computer. I compiled boost with Python 2.6 (32Bit). My goal is to compile the python extension for Python 2.7 (64Bit). The problem is that it does

Re: [C++-sig] building 32 Bit and 64 Bit extensions on the same machine

2012-09-05 Thread Ronny Herzog
Aha! Thank you. This made it work. Ronny Am 8/31/2012 3:34 AM, schrieb Lars Viklund: On Mon, Aug 27, 2012 at 04:23:14PM +0200, Ronny Herzog wrote: Thank you, but this does not seem to work. If I do this with "bjam --address-model=64 -n" Note that the previous poster did not say

Re: [C++-sig] building 32 Bit and 64 Bit extensions on the same machine

2012-08-27 Thread Ronny Herzog
s I have to inform bjam somewhere which one to use. Thanks a lot, Ronny Am 8/24/2012 4:49 PM, schrieb Wojciech Mamrak: Hi, add address-model=64 to Boost::Python bjam compilation command and that's all. Be aware, that not all MSVS versions (e.g. Express Edition) are equipped with 64 Bit

[C++-sig] building 32 Bit and 64 Bit extensions on the same machine

2012-08-24 Thread Ronny Herzog
Dear all, I want to build 32 bit extensions and 64 bit extensions on my Windows 7 / 32 Bit with boost. After two days of checking google I am a bit frustrated. I am new to Boost and it is a bit like a jungle. Can anyone help on what I need to do to set up Boost in the right way and have a Ja

Re: [C++-sig] issues with loading the boost_python dll on different computers

2012-08-24 Thread Ronny Herzog
Thanks Trigve, I used depends.exe and found out that it was looking for the debug version of the msvc runtime library. Compiling my extension in 'release' mode - everything worked. :-) Ronny Am 8/23/2012 6:50 PM, schrieb Trigve Siver: From: Ronny Herzog To: cplusplus-sig@pyt

[C++-sig] issues with loading the boost_python dll on different computers

2012-08-23 Thread Ronny Herzog
Dear all, I installed and used boost (1.50.0) to build a python extension on my Windows 7 / 32 Bit. Everything worked fine. Now I tried the extension module on other Computers with Windows 7 and Windows XP and the same Python version and it gave me an error concerning the DLL: ** ImportErr

Re: [C++-sig] exporting a boost::python::dict containing a boost::python::list

2012-07-21 Thread Ronny Herzog
roblem. On Fri, Jul 20, 2012 at 7:55 AM, Ronny Herzog mailto:her...@mpi-cbg.de>> wrote: Dear all, I want to export a boost::python::dict containing a boost::python::list. However, when I print this list in Python, I get an unlimited output of some strange numbers:

Re: [C++-sig] exporting a boost::python::dict containing a boost::python::list

2012-07-21 Thread Ronny Herzog
lgrind) to pin-point the problem. On Fri, Jul 20, 2012 at 7:55 AM, Ronny Herzog mailto:her...@mpi-cbg.de>> wrote: Dear all, I want to export a boost::python::dict containing a boost::python::list. However, when I print this list in Python, I get an unlimited output of

[C++-sig] exporting a boost::python::dict containing a boost::python::list

2012-07-20 Thread Ronny Herzog
Dear all, I want to export a boost::python::dict containing a boost::python::list. However, when I print this list in Python, I get an unlimited output of some strange numbers: namespace bp = boost::python; class readraw { bp::list mk_pyPeak_list() {

[C++-sig] boost python/example/quickstart does not work

2012-07-18 Thread Ronny Herzog
Dear all, I am experiencing a problem with the quickstart example from boost for Python. This is what happens: >>> c:\boost_1_50_0\libs\python\example\quickstart>bjam --toolset=msvc --verbose-test test ...patience... ...patience... ...found 1652 targets... ...updating 4 targets... msvc.link b