[C++-sig] Boost.Python app keeps crashing in debug
NurEinDummy at gmx.de
Thu Feb 19 23:03:47 CET 2009
Thanks for replying! :)
Roman Yakovenko wrote:
> Did you try to build empty module and run it? This can help to see
> whether your environment works at all.
Just tried... indeed, I can import an empty module.
But the little HelloWorld App of the tutorial is already too much and I get
the mentioned access violation in the shown position (last mail) right in
the first line:
class_<World>("World", init<std::string>()) <= crash!!
> > Finally I got my boost_python-vc80-mt-gdy-1_35.dll & .lib files.
> I guess, the problem is a mix of different C-runtimes.
> Python 2.5 is built using MSVC 7.1 ( VS 2003 ) compiler, while you use VS
You point to the python25.dll and the python25_d.dll dependencies in my
Hm. Well, I didn't build the Release version of Python 2.5.
Took it from the installer.
I only built the debug version. (As I had to)
Already checked the python25_d.dll in dependency walker. This one seems to
be okay. No python25.dll dependencies in that one.
More information about the Cplusplus-sig