Hello Andreas,
thanks for your fast reply! Yes, I am doing some 2D meshing. I have now tried
to use test_triangle.py, but I get the following error, which was reported in
this forum before:
'boost::python::error_already_set'
I always got this problem if I define a refinement_func. I use boost from the
ubuntu repository (1.40) together with the latest version of meshpy from git,
could that be a problem?
I have also been trying to use a newer boost version (1.43) since I thought this
might be the problem, but when executing from meshpy.triangle import * I always
get:
Traceback (most recent call last): File "", line 1, in File
"/usr/local/lib/python2.6/dist-packages/MeshPy-0.91.1-py2.6-linux-i686.egg/meshpy/triangle.py",
line 3, in import meshpy._triangle as internals ImportError:
/usr/local/lib/python2.6/dist-packages/MeshPy-0.91.1-py2.6-linux-i686.egg/meshpy/_triangle.so:
undefined symbol:
_ZNK5boost6python7objects21py_function_impl_base9max_arityEv
Also, when I build boost from source, there is no boost_python-mt-....so file,
only a boost_python.so. Is that the right file meshpy should be linked to at
all?
Thanks for your help,
Cheers, Johannes