[C++-sig] Help with Boost 1.27.0

David Abrahams david.abrahams at rcn.com
Fri Feb 22 23:38:25 CET 2002


Sounds to me as though you didn't enable RTTI in the compiler when you built
your module.

Did you compile with /GR and /GX?

----- Original Message -----
From: "Winkelman, Jeff" <jwinkelman at movaz.com>
To: <c++-sig at python.org>
Sent: Friday, February 22, 2002 5:25 PM
Subject: [C++-sig] Help with Boost 1.27.0


I was wondering if someone could help me out.  Several months ago I wrote a
Python extension using Boost, and most recently had to add some features to
it.  After upgrading to version 1.27.0, and figuring out how to get the new
build system operational, I rebuilt my project.

After successfully building, I then imported my module in python and
attempted to use some of the exposed classes.

I have the following problem.  After creating an object, any method on that
object that I try to execute fails with the following error:

>>> x.enableDebug(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
RuntimeError: Access violation - no RTTI data!

I am running Windows 2000, using Visual C++ as my development environment,
and I am also running Python 2.1.

Originally I was trying this with Python 2.2.  Should Boost still work for
2.2 if I'm not trying to use any of the new typing / features in 2.2?  I
re-built against 2.1 and still have the same problem.

If any one has any ideas, I'd appreciate your help.

Thanks,

Jeff

_______________________________________________
C++-sig mailing list
C++-sig at python.org
http://mail.python.org/mailman/listinfo/c++-sig






More information about the Cplusplus-sig mailing list