Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-07 Thread Wojciech Mamrak
Exemplary project sent. W dniu 7 kwietnia 2012 14:29 użytkownik Niall Douglas napisał: > On 6 Apr 2012 at 20:33, Payam Shiva wrote: > >> Thank you Adam. I tried what you said, but it doesn't work for me. It >> gave an error, among a bunch of others, that it couldn't find >> python26.lib. I have P

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-07 Thread Niall Douglas
On 6 Apr 2012 at 20:33, Payam Shiva wrote: > Thank you Adam. I tried what you said, but it doesn't work for me. It > gave an error, among a bunch of others, that it couldn't find > python26.lib. I have Python 2.7 installed on my computer, so it makes > sense. Maybe the person who compiled the libr

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-06 Thread Payam Shiva
2012/4/7 Wojciech Mamrak : > Wait, don't give up :) > Tomorrow I will send you a msvc solution of a simple application that > embedds python, so that you can check the compilation, ok? Thank you. I'll be waiting. ___ Cplusplus-sig mailing list Cplusplus-

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-06 Thread Wojciech Mamrak
Wait, don't give up :) Tomorrow I will send you a msvc solution of a simple application that embedds python, so that you can check the compilation, ok? W dniu 6 kwietnia 2012 18:03 użytkownik Payam Shiva napisał: > Thank you Adam. I tried what you said, but it doesn't work for me. It > gave an er

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-06 Thread Payam Shiva
Thank you Adam. I tried what you said, but it doesn't work for me. It gave an error, among a bunch of others, that it couldn't find python26.lib. I have Python 2.7 installed on my computer, so it makes sense. Maybe the person who compiled the libraries had Python 2.6 installed. Anyway, just out of

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-06 Thread Adam Preble
aul Kroitor > > ** ** > > *From:* cplusplus-sig-bounces+paul=kroitor...@python.org [mailto: > cplusplus-sig-bounces+paul=kroitor...@python.org] *On Behalf Of *Adam > Preble > *Sent:* April-06-12 10:03 AM > *To:* Development of Python/C++ integration > *Subject:* Re: [C+

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-06 Thread Paul Kroitor
ython in VS2010, which worked out fine. Paul Kroitor From: cplusplus-sig-bounces+paul=kroitor...@python.org [mailto:cplusplus-sig-bounces+paul=kroitor...@python.org] On Behalf Of Adam Preble Sent: April-06-12 10:03 AM To: Development of Python/C++ integration Subject: Re: [C++-sig] Problem

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-06 Thread Adam Preble
For my stuff, under Linker->Input, I explicitly listed my Boost.Python lib and the Python lib. Like so: libboost_python-vc100-mt-gy-1_47.lib python26_d.lib Actual names for yours will vary. By chance are you new to Visual Studio generally? On Fri, Apr 6, 2012 at 8:50 AM, Payam Shiva wrote: >

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-06 Thread Payam Shiva
What I am trying to do is the latter (using Boost.Python). Because I'm completely new to this, I am trying to follow the tutorial. Please take a look at this link: http://www.boost.org/doc/libs/1_49_0/libs/python/doc/tutorial/doc/html/python/hello.html If it's possible to write and build C++ parts

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-06 Thread Wojciech Mamrak
Hi, I am lost. Do you wan't to build boost::python libraries or an example using them? Bjam is used for the former only. regards W dniu 6 kwietnia 2012 11:14 użytkownik Payam Shiva napisał: > I'm totally new to Boost.Python, so I'm trying to follow the tutorial. > It says to cd to the tutorial

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-06 Thread Payam Shiva
I'm totally new to Boost.Python, so I'm trying to follow the tutorial. It says to cd to the tutorial folder and invoke bjam. When I do this, it still gives me the same error message. I tried using VS too. I did the following: 1. I created a new project (W32 Project and I chose DLL output) 2. I add

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-05 Thread Adam Preble
Now that you have the binaries, you should be ready to use them. There should be no need to configure jam files. If you start pointing to those libraries in your Visual Studio project, they should link with your code. This assumes the binaries you're using mate up with how you'd building your Vi

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-05 Thread Payam Shiva
I downloaded the prebuilt binaries from here: http://boost.teeks99.com/ but I don't know how to use them. Right now, Boost source is decompressed in C:\Boost\boost_1_49_0 and the prebuilt binaries are in C:\Boost\lib32. I couldn't find anything in the jamfile about binaries. Can you help me configu

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-04 Thread Adam Preble
For what it's worth, here's what I have when I did a 32-bit debugging build of Stackless Python. Note that I have turned on debugging and stuff like that. You don't need that, but it should give you an idea: user-config.jam using python : 2.6 : D:\\temp\\stackless_src\\python-2.6.5-stackless\\PC

Re: [C++-sig] Problem Compiling Boost.Python Example

2012-04-03 Thread Adam Preble
On Tue, Apr 3, 2012 at 4:12 AM, Payam Shiva wrote: > Hi, > > I have trouble compiling the simplest examples with Boost.Python. I > hope you could help me find out what I'm doing wrong. > I am using Microsoft Visual C++ 2010 on 64-bit Windows 7. I use 64-bit > version of Python 2.7.2 from Enthough

[C++-sig] Problem Compiling Boost.Python Example

2012-04-03 Thread Payam Shiva
Hi, I have trouble compiling the simplest examples with Boost.Python. I hope you could help me find out what I'm doing wrong. I am using Microsoft Visual C++ 2010 on 64-bit Windows 7. I use 64-bit version of Python 2.7.2 from Enthought Python Distribution 7.2-2. I installed Boost as described in "