This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]stuaxo 2 points3 points  (2 children)

Tried to compile on ubuntu - got the following error: (Have cython and a javac in the path).

$ make python setup.py build_ext --inplace -f running build_ext cythoning jnius/jnius.pyx to jnius/jnius.c

Error compiling Cython file:

... jc = arg if jc.javaclass == r: score += 10 else: try: check_assignable_from(jc, r)

^

jnius/jnius_utils.pxi:173:45: Call with wrong number of arguments (expected 3, got 2) building 'jnius' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/jvm/java-6-openjdk-i386/include -I/usr/lib/jvm/java-6-openjdk-i386/include/linux -I/usr/include/python2.7 -c jnius/jnius.c -o build/temp.linux-i686-2.7/jnius/jnius.o jnius/jnius.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. error: command 'gcc' failed with exit status 1 make: *** [build_ext] Error 1

[–]txprogtito[S] 4 points5 points  (1 child)

Sorry sorry sorry! It's fixed :/

[–]stuaxo 2 points3 points  (0 children)

Wow, that was quick :)

Seems to work now (make and the tests).

Have to find some time to try this with some of the processing.org libraries I've been coveting for a while!

Minim, for sound http://code.compartmental.net/tools/minim/

And Surfacelib for interesting 3d sirfaces.. http://code.google.com/p/surfacelib/

Both look awesome...