kivy / cymunk

Cython port of Pymunk
http://readthedocs.org/docs/cymunk/en/latest/
MIT License
45 stars 29 forks source link

gcc: error: cymunk/cymunk.c: No such file or directory #51

Open bitnom opened 6 years ago

bitnom commented 6 years ago
$ python3 setup.py build_ext --inplace
Using distutils
running build_ext
building 'cymunk.cymunk' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Icymunk/Chipmunk-Physics/include -Icymunk/Chipmunk-Physics/include/chipmunk -I/home/user/.pyenv/versions/3.6.2/include/python3.6m -c cymunk/cymunk.c -o build/temp.linux-x86_64-3.6/cymunk/cymunk.o -std=c99 -ffast-math -fPIC -DCHIPMUNK_FFI
gcc: error: cymunk/cymunk.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
error: command 'gcc' failed with exit status 1

Why is it missing?

KeyWeeUsr commented 6 years ago

Cython apparently didn't create the C files in this case. Try to clean everything from the repo (git clean -dxf) and checking if you have Cython installed in the python3 instead of python (i.e. py2).