Open linxzhang opened 8 years ago
@linxzhang Hi, I met the exact same error, have you solved this problem?
Thanks
equationdetect.cpp(251): error C3688: invalid literal suffix '銆'; literal operator or literal operator template 'operator ""銆' not found
Hi All, I met below compile error (ccmain\equationdetect.cpp(251)):
1>Done Building Project "D:\tmp\openalpr\windows\tesseract-ocr\src\vs2010\libtesseract\libtesseract.vcxproj" (Rebuild target(s)) -- FAILED.
d FAILED.
"D:\tmp\openalpr\windows\tesseract-ocr\src\vs2010\libtesseract\libtesseract.vcxproj" (Rebuild target) (1) -> (ClCompile target) -> ....\api\pdfrenderer.cpp(532): warning C4477: '_snprintf_s' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'std::size_t' [D:\tmp\openalpr\windows\tesserac t-ocr\src\vs2010\libtesseract\libtesseract.vcxproj] ....\ccmain\equationdetect.cpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\tmp\o penalpr\windows\tesseract-ocr\src\vs2010\libtesseract\libtesseract.vcxproj] ....\wordrec\language_model.cpp(36): warning C4273: 'log2': inconsistent dll linkage [D:\tmp\openalpr\windows\tesseract-ocr\src\vs2010\libtesseract\libtesseract.vcxproj] ....\ccstruct\linlsq.cpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\tmp\openalp r\windows\tesseract-ocr\src\vs2010\libtesseract\libtesseract.vcxproj] ....\ccmain\paragraphs.cpp(45): warning C4312: 'reinterpret_cast': conversion from 'unsigned int' to 'ParagraphModel ' of greater size [D:\tmp\openalpr\windows\tesseract-ocr\src\vs2010\libtesseract\ libtesseract.vcxproj] ....\ccmain\paragraphs.cpp(47): warning C4312: 'reinterpret_cast': conversion from 'unsigned int' to 'ParagraphModel ' of greater size [D:\tmp\openalpr\windows\tesseract-ocr\src\vs2010\libtesseract\ libtesseract.vcxproj] ....\ccutil\scanutils.cpp(144): warning C4146: unary minus operator applied to unsigned type, result still unsigned [D:\tmp\openalpr\windows\tesseract-ocr\src\vs2010\libtesseract\libtesseract.vcxproj ]
"D:\tmp\openalpr\windows\tesseract-ocr\src\vs2010\libtesseract\libtesseract.vcxproj" (Rebuild target) (1) -> (ClCompile target) -> ....\ccmain\equationdetect.cpp(251): error C3688: invalid literal suffix '銆'; literal operator or literal operator template 'operator ""銆' not found [D:\tmp\openalpr\windows\tesseract-ocr\src\vs2010
libtesseract\libtesseract.vcxproj]
7 Warning(s) 1 Error(s)
Elapsed 00:03:02.88
: C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe returned a non-zero exit code :\tmp\openalpr\windows\build.ps1:194 char:9 Die ("{0} returned a non-zero exit code" -f $Filename)