pdf-diff icon indicating copy to clipboard operation
pdf-diff copied to clipboard

fatal error: 'limits' file not found

Open WangXin93 opened this issue 5 years ago • 0 comments

I tried to build this project on macOS Mojave 10.14.5 18F132 x86_64, Kernel: 18.6.0, but it pops a fatal error like:

Processing dependencies for pdf-diff==0.9.1
Searching for diff_match_patch_python
Reading https://pypi.org/simple/diff_match_patch_python/
Downloading https://files.pythonhosted.org/packages/a3/16/704cc1a8840eac28bd5d269b133adccecab7dc0d8df733ff50605c67ba50/diff_match_patch_python-1.0.2.tar.gz#sha256=5a833417344def272ad7dee7c5d455cf3aaf4fb0ffb58029d73e29512dd3ed48
Best match: diff-match-patch-python 1.0.2
Processing diff_match_patch_python-1.0.2.tar.gz
Writing /tmp/easy_install-khsewntz/diff_match_patch_python-1.0.2/setup.cfg
Running diff_match_patch_python-1.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-khsewntz/diff_match_patch_python-1.0.2/egg-dist-tmp-jha1diff
warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on
      the command line to use the libc++ standard library instead
      [-Wstdlibcxx-not-found]
In file included from interface.cpp:3:
./diff-match-patch-cpp-stl/diff_match_patch.h:26:10: fatal error: 'limits' file
      not found
#include <limits>
         ^~~~~~~~
1 warning and 1 error generated.
error: Setup script exited with error: command 'gcc' failed with exit status 1

Has anybody met this problem? Thanks to any suggestion!

WangXin93 avatar Aug 22 '19 00:08 WangXin93