pmneila / PyMCubes

Marching cubes (and related tools) for Python
BSD 3-Clause "New" or "Revised" License
692 stars 87 forks source link

Can not compile #6

Closed superours closed 8 years ago

superours commented 8 years ago

python setup.py build >> running build_py running build_ext building 'mcubes._mcubes' extension gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/include/python2.6 -c mcubes/src/_mcubes.c -o build/temp.linux-x86_64-2.6/mcubes/src/_mcubes.o -std=c++11 gcc: mcubes/src/_mcubes.c: No such file or directory gcc: no input files error: command 'gcc' failed with exit status 1

pmneila commented 8 years ago

Hi @superours,

Unfortunately I cannot reproduce this error. Are you using a recent version of Cython/distutils/setuptools? It looks like you are using Python 2.6, which is pretty old. You should try a more recent version such as 2.7 or 3.

superours commented 8 years ago

It works now! You were right, I tried with the latest version of Python, Cython, Numpy, g++ and it is fine now. Thank you.

pmneila commented 8 years ago

Great! I'm closing the issue then.