On 04:59 am, [email protected] wrote:
Jean-Paul,
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``Is it a cactus bug or
problem
with my war?''
>>>> import cppyy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: missing reflection library libcppyy_backend.so
>>>>
I see that this is a somewhat old version of PyPy - but is that the
problem?
at issue is that cppyy needs to be linked with libReflex.so and since
PyPy
builds in all modules, it in turned would need to be linked with that
lib.
That would not be good.
So, to work around that, cppyy resolves the methods it needs
dynamically, but
it then needs that extra lib. It can be found through here:
http://doc.pypy.org/en/latest/cppyy.html#installation
Hi Wim,
First off, thanks for your work on cppyy. I don't /like/ having to
interface with C++ libraries but it's nice to have an option for doing
so. :) Thanks for this pointer about this dependency, too.
I've built Reflex and now I can import `cppyy` on PyPy. I had read the
installation instructions but I don't find it clear from that page that
building Reflex is a requirement. It sounds more like Reflex is
something you need to build if you're building PyPy yourself and want
the cppyy module. Maybe that could be clarified on the page.
Also, I wonder if Reflex could turn into a "real" project - or maybe it
is one already. Does it have a version control system or issue tracker
(eg on bitbucket, like PyPy)? Downloading a source tarball from a user
directory on a random host makes it look ... fly-by-night? I'm a little
worried about building software on this - will it suddenly disappear, is
there any development activity, etc.
Thanks
HTH,
Wim
--
[email protected] -- +1 (510) 486 6411 --
www.lavrijsen.net
_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev