Cython and Unity 3d plugin.

134 views
Skip to first unread message

harmonite

unread,
Mar 2, 2021, 12:29:46 PM3/2/21
to cython-users
Hello everyone.

We just did a small test to build a simple Cython C++ plugin for unity.
The plugin to unity works on the windows machine that it was built but not on other machines.
Does anyone know what the problem might be?

Cheers.

da-woods

unread,
Mar 4, 2021, 4:21:33 AM3/4/21
to cython...@googlegroups.com
Without any details (or any knowledge of Unity plugins) it's difficult to say. Cython doesn't produce standalone libraries though - they depend on libpython and any Python libraries you use. If the other machines don't have the same version of Python installed then the plugin won't work.
--

---
You received this message because you are subscribed to the Google Groups "cython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cython-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cython-users/e593a121-612b-4408-8cb7-3674e82db84en%40googlegroups.com.


harmonite

unread,
Mar 5, 2021, 9:50:48 AM3/5/21
to cython-users
Thank you very much for this information.
Is there another way to create standalone libraries.

da-woods

unread,
Mar 5, 2021, 10:04:06 AM3/5/21
to cython...@googlegroups.com
cx_freeze and pyinstaller can produce standalone executables, but I don't know if they produce standalone libraries. If you want something standalone then anything Python-based might be the wrong approach

I should emphasize that I know absolutely nothing about using Python from Unity. It's possible that there are known solutions to these problems.
Reply all
Reply to author
Forward
0 new messages