On Wed, 10 Nov 2010 07:00:28 -0900, Martin Truffer <truffer(a)gi.alaska.edu> wrote:
I've had the same error message when importing meshpy._triangle
been reported before (see below). Unfortunately, I did not understand
"This is a sign that you're trying to link source code compiled against
one version of the boost headers against another version of the boost
lib binaries. Check which headers and libraries are being picked up."
What, specifically, should I check, and how do I go about fixing it.
I've installed boost through a repository (I'm running Ubuntu Maverick),
as suggested in the README file for meshpy, and I obtained the newest
copy of meshpy through git.
This will tell you what boost_python librarary you're linking against.
Find what version of the boost headers the build is using. Easiest way,
if you have 'locate' installed:
Then mess with BOOST_INC_DIR=[...] in siteconf.py until you're using the
right headers for the library you're linking against.