[C++-sig] Re: working under msvc 7.1

Mike Rovner mike at nospam.com
Mon Nov 3 18:30:39 CET 2003


Dmitri Mouromtsev wrote:
> I am using msvc 7.1 standard edition. I installed Python 2.3 and
> its source code. Then I downloaded cvs snapshot of boost.python and
> rebuild  all. When I tried to run simplest program in debug mode:
>
> #include "stdafx.h"
> #include "Python.h"
> #include "boost\python.hpp"

Try reverse order:

#include "boost\python.hpp"
// you don't need "Python.h" as it's already included in a proper (wrapped)
manner.
/// You don't want to debug python itself, do you?

#include "stdafx.h"


Mike








More information about the Cplusplus-sig mailing list