Opened 13 years ago
Last modified 13 years ago
#33032 closed defect
tesseract: Bad character in line 1 of tesseract-3.01/ccutil/strngs.h — at Version 1
Reported by: | jlg89 | Owned by: | emer@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | tesseract |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The strngs.h file in this build (at least for the PPC version) has an invisible first character that kills the compile. A "set list" in vi won't show the invisible first character, but if you cat the file you should be able to see it. I fixed it by copying the contents of strngs.h and pasting into a new file, then renaming the new file to strngs.h.
The log errors will look like:
:info:build strngs.h:1: error: stray '\239' in program :info:build strngs.h:1: error: stray '\187' in program :info:build strngs.h:1: error: stray '\191' in program
Change History (1)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | strngs.h:1: error: stray '\191' in program removed |
Owner: | changed from macports-tickets@… to emer@… |
Port: | 3.0.1 removed |
Summary: | Bad character in line 1 of tesseract-3.01/ccutil/strngs.h → tesseract: Bad character in line 1 of tesseract-3.01/ccutil/strngs.h |
Note: See
TracTickets for help on using
tickets.