Mac 安装tesserocr error: command 'gcc' failed with exit status 1

    /usr/local/include/tesseract/host.h:28:10: fatal error: 'cstdint' file not found

    #include <cstdint>      // int32_t, ...

             ^~~~~~~~~

    1 error generated.

    error: command 'gcc' failed with exit status 1

按你的路径 将host.h文件中的include<cstdint>为include<stdint.h>

猜你喜欢

转载自blog.csdn.net/qq_37566910/article/details/82946276