The particular solution to my gcc/g++ issue was found at https://github.com/pyenv/pyenv/issues/2862 <https://github.com/tesseract-ocr/tessdata/issues/url>. In short, I had to remove `/opt/homebrew/opt/binutils/bin` from my `PATH` so that the system version of the utility could take over and avoid a GNU-specific issue.
On Sunday, May 19, 2024 at 11:14:54 PM UTC-4 Yaofu Zhou wrote: > Dear Community, > > Has anyone using M1 Macbook or a similar ARM architecture been able to > compile Tesseract from the latest source code from GitHub? If so, could you > share with me the process? > > Just to clarify, I have been running the official binary with Homebrew, > but I really want to be able to build the project from the source code > because of the hacks needed - > > 1. I wish to adjust the batch size during the training process, which > seems to be accessible only via the source code. Feel free to correct me if > otherwise. > > 2. I wish to enable more parallel computing by either enabling OpenMP with > gcc/g++, or by enabling TensorFlow (with GNU or X-code c/c++ compiler). > Each attempt resulted in errors during the compiling process. > > Thanks! > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/291bb499-54f8-452f-8d90-e802d546d0fbn%40googlegroups.com.

