HearthSim / decrunch

Python wrapper around Crunch DXTc decompressor
https://hearthsim.info
zlib License
14 stars 23 forks source link

mac error #16

Closed QiuleiWang closed 4 years ago

QiuleiWang commented 4 years ago

Building wheel for decrunch (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-z9iclf2b/decrunch/setup.py'"'"'; file='"'"'/private/tmp/pip-install-z9iclf2b/decrunch/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/tmp/pip-wheel-pevo03av --python-tag cp36 cwd: /private/tmp/pip-install-z9iclf2b/decrunch/ Complete output (12 lines): running bdist_wheel running build running build_ext building 'decrunch' extension creating build creating build/temp.macosx-10.6-intel-3.6 /usr/local/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -Icrunch -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c crn_decomp.cpp -o build/temp.macosx-10.6-intel-3.6/crn_decomp.o -std=c++11 crn_decomp.cpp:3:10: fatal error: 'string.h' file not found

include

       ^~~~~~~~~~

1 error generated. error: command '/usr/local/bin/clang' failed with exit status 1

ERROR: Failed building wheel for decrunch