Closed andrewdalecramer closed 8 years ago
Hi,
I pushed a fix. It should be working now. Sorry for the inconvenience.
Same here - seemed to be some sort of error being thrown in numpy. Error dump here
This is on CentOS w/ gcc 4.8.2
Excellent, compiles fine.
@andrewdalecramer That's great.
@choldgraf That's strange. The error is in one of the header files of your system (/usr/include/bits/stdio.h
), not in the code of PyMCubes itself. I will take a look at it later.
Ah ok - maybe it's on my end then? Unfortunately this is on a cluster for which I don't have full control of the environment, but I'll see what I can do on my end to make it work.
On Wed, Nov 25, 2015 at 9:32 PM, pmneila notifications@github.com wrote:
@andrewdalecramer https://github.com/andrewdalecramer That's great.
@choldgraf https://github.com/choldgraf That's strange. The error is in one of the header files of your system (/usr/include/bits/stdio.h), not in the code of PyMCubes itself. I will take a look at it later.
— Reply to this email directly or view it on GitHub https://github.com/pmneila/PyMCubes/issues/3#issuecomment-159793812.
Compilers are a pain, check the version on your cluster as it might just be too old. I had to petition quite a bit to get an updated compiler on our system that was younger than 6 years old.
@choldgraf Take a took at https://gcc.gnu.org/ml/gcc-help/2013-07/msg00127.html and the follow-ups. They are talking about the same error you are having. According to them, the error disappears using a different version of gcc (or removing the -Ox optimization flags, but I don't think that's a valid solution). Do you have any other version of gcc installed on that cluster?
Thanks for tracking that down for me. Updating to the latest gcc did in fact solve the problem, so pymcubes is now compiled :)
Great!
I close the issue then.
Tried to compile on linux (redhat), log is at http://pastebin.com/WrgAJBsm
gcc version 4.8.1 20130715 (Red Hat 4.8.1-4) (GCC)