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

Paul Kroitor paul at kroitor.ca
Fri Apr 6 16:30:37 CEST 2012


We had a similar problem last September.

 

http://mail.python.org/pipermail/cplusplus-sig/2011-September/016142.htm
l
<http://mail.python.org/pipermail/cplusplus-sig/2011-September/016142.ht
ml> 

 

It's not clear to me if your issue is the same one, a related one, or
simply similar.

 

We created a ticket on the bugtracking system
(https://svn.boost.org/trac/boost/ticket/5877
<https://svn.boost.org/trac/boost/ticket/5877> ) , but nothing seems to
have come of it. In the meantime, we ignored the fact that the sample
didn't compile, and just started using boost.python in VS2010, which
worked out fine.

 

Paul Kroitor

 

From: cplusplus-sig-bounces+paul=kroitor.ca at python.org
[mailto:cplusplus-sig-bounces+paul=kroitor.ca at 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 Compiling Boost.Python Example

 

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 <payaam.shivaa at gmail.com>
wrote:

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/p
ython/hello.html

If it's possible to write and build C++ parts in VS, I would
definitely  use it. The problem is I don't know how. I explained what
happened when I tried building the example in the link above using
both VS and bjam in my previous posts. If you know how I can setup
build environment correctly, please help me.


Thanks
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig at python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20120406/e185d4bc/attachment-0001.html>


More information about the Cplusplus-sig mailing list