[C++-sig] working under msvc 7.1
Dmitri Mouromtsev
dimour at mail.ru
Mon Nov 3 13:07:08 CET 2003
Hello all,
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"
using namespace boost::python;
int _tmain(int argc, _TCHAR* argv[])
{
Py_Initialize();
object b_object = object(handle<>(PyFloat_FromDouble(3.1415)));
std::cout << extract<double>(b_object) << '\n';
return 0;
}
I have the message: "This application has failed to start because
MSVC70D.dll was not found.".
So, if I use native python API instead BOOST objects:
PyObject *p_object = PyFloat_FromDouble(3.1415);
std::cout << PyFloat_AsDouble(p_object) << '\n';
it's ok.
Please help, what I did wrong or what is the problem?
thanks
--
Best regards,
Dmitri mailto:dimour at mail.ru
More information about the Cplusplus-sig
mailing list