Ask Your Question

Revision history [back]

Thanks much for your answer. I edited the file as you suggested but then I get the following error message. It seems to me that the error message says that the limits.h header file is missing. Probably it's not pointing to the correct C header files. I would really appreciate if you can give any suggestions to correct this error.

Compiling /Users/my_name/Desktop/fhe-master/scalprod.spyx... Error compiling cython file: Error compiling /Users/my_name/Desktop/fhe-master/scalprod.spyx: running build running build_ext building '_Users_my_name_Desktop_fhe_master_scalprod_spyx_0' extension creating build creating build/temp.macosx-10.7-x86_64-2.7 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/ -I/Applications/ -I/Applications/\ n2.7 -I/Applications/\ te-packages/numpy/core/include -I/Applications/ -I/Applications/ -I/Applications/ -I/Users/Sudharaka/Desktop/fhe-master -I/Applications/\ n2.7 -c _Users_my_name_Desktop_fhe_master_scalprod_spyx_0.c -o build/temp.macosx-10.7-x86_64-2.7/_Users_my_name_Desktop_fhe_master_sc\ alprod_spyx_0.o -w -O2

In file included from /Applications/\ x86_64-apple-darwin11.4.2/4.7.3/include-fixed/syslimits.h:7:0, from /Applications/\ x86_64-apple-darwin11.4.2/4.7.3/include-fixed/limits.h:34, from /Applications/\ .7/Python.h:19, from _Users_my_name_Desktop_fhe_master_scalprod_spyx_0.c:16: /Applications/\ x86_64-apple-darwin11.4.2/4.7.3/include-fixed/limits.h:169:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1