ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
Re: BPL: include breaks import in IDLE
by other posts by this author
Feb 22 2001 5:44PM messages near this date
Re: [boost] BPL: include breaks import in IDLE | RE: [boost] Traits for character underlying types
David,
Your suggestion was exactly correct. It was a mysterious problem.. I
was was barking up the wrong tree thinking it was an extern C
problem.

I want to thank you for you excellent response! I was pulling my hair
out over this problem, and falling behind schedule as well.

Best Regards,
Ron
--- In boost@[...].. , David Abrahams <abrahams@[...]..>  wrote:
>  Ron,
> 
>  I'm not sure exactly what problem you're having, but if you're
making a
>  debug build under Win32, you may be running into the following
issue:
> 
>  Without special treatment, if _DEBUG is defined, #including
<python.h> 
>  causes you to make a special python debugging build of your code,
which
>  needs to be run under a special debugging version of python
(python_d.exe)
>  and use special debugging versions of the python DLL. Since most
people
>  don't get those components with a stock Python installation, I
disable the
>  special python debugging mode in Boost.Python by using
>  boost/python/detail/wrap_python.hpp instead of python.h directly
(python
>  debugging can be re-enabled with -DDEBUG_PYTHON). You should
probably be
>  #including wrap_python.hpp instead of python.h
> 
Thread:

David Abrahams


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved