pyhdc
pyhdc copied to clipboard
pyhdc.cpp:5:10: fatal error: 'cstdint' file not found #include <cstdint> error generated. error: command 'gcc' failed with exit status 1
I am using MACOS High Sierra 10.13.6
i tried to install pyhdc, but I got the following error
eman$ sudo python3 setup.py install
running install
running build
running build_ext
building 'pyhdc' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/eman/anaconda3/include -arch x86_64 -I/Users/eman/anaconda3/include -arch x86_64 -DHNAME=permutations_8160.h -I/Users/eman/anaconda3/lib/python3.7/site-packages/numpy/core/include -I. -I/Users/eman/anaconda3/include/python3.7m -c pyhdc.cpp -o build/temp.macosx-10.7-x86_64-3.7/pyhdc.o -std=c++11
pyhdc.cpp:5:10: fatal error: 'cstdint' file not found
#include
I installed gcc and Std libraries, but it does not work. Any advice?
Hm, sorry; I heard before about issues on MAC, but unfortunately I do not have an apple machine to test/reproduce this. You might want to try this solution: https://stackoverflow.com/questions/10116724/clang-os-x-lion-cannot-find-cstdint
Please let me know if this helps.