pyhdc icon indicating copy to clipboard operation
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

Open emfhasan opened this issue 3 years ago • 1 comments

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 ^~~~~~~~~ 1 error generated. error: command 'gcc' failed with exit status 1

I installed gcc and Std libraries, but it does not work. Any advice?

emfhasan avatar Mar 22 '21 12:03 emfhasan

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.

ncos avatar Mar 27 '21 04:03 ncos