I am sorry, but I have feel like playing seek and hide. Why you do not provide the full output of all steps you did??? Including configuration and setting of compiling environment?
E.g. your error comes from 'nano_sleep' but when I check the svutil.cpp <https://github.com/tesseract-ocr/tesseract/blob/d8d63fd71b8d56f73469f7db41864098f087599c/src/viewer/svutil.cpp> (I needed to guess based on the error message you try build tesseract version 5) there is no function nano_sleep. Also, I see you try to build a static library. Do you have enough experience for that? I guess that nano_sleep is related to that. Also, this is the first time I see that you built the tesseract with mingw32. It should be possible <https://github.com/tesseract-ocr/tesseract/runs/5168556146?check_suite_focus=true>, but why did not use the installer provided by UB Mannheim <https://github.com/UB-Mannheim/tesseract/wiki>? What are your intentions? Zdenko pi 11. 2. 2022 o 14:46 Alberto Ramirez <alberto88...@gmail.com> napĂsal(a): > And this is the output i get > > [ 73%] Building CXX object > CMakeFiles/libtesseract.dir/src/api/wordstrboxrenderer.cpp.obj > [ 74%] Building CXX object > CMakeFiles/libtesseract.dir/src/arch/dotproduct.cpp.obj > [ 74%] Building CXX object > CMakeFiles/libtesseract.dir/src/arch/simddetect.cpp.obj > [ 74%] Building CXX object > CMakeFiles/libtesseract.dir/src/arch/intsimdmatrix.cpp.obj > [ 75%] Building CXX object > CMakeFiles/libtesseract.dir/src/arch/dotproductavx.cpp.obj > C:\Users\UserName\Documents\Qt_Projects\tesseract-main\src\arch\dotproductavx.cpp: > In function 'double tesseract::DotProductAVX(const double*, const double*, > int)': > C:\Users\UserName\Documents\Qt_Projects\tesseract-main\src\arch\dotproductavx.cpp:74:27: > warning: requested alignment 32 is larger than 16 [-Wattributes] > alignas(32) double tmp[4]; > ^ > [ 75%] Building CXX object > CMakeFiles/libtesseract.dir/src/arch/intsimdmatrixavx2.cpp.obj > [ 75%] Building CXX object > CMakeFiles/libtesseract.dir/src/arch/dotproductfma.cpp.obj > C:\Users\UserName\Documents\Qt_Projects\tesseract-main\src\arch\dotproductfma.cpp: > In function 'double tesseract::DotProductFMA(const double*, const double*, > int)': > C:\Users\UserName\Documents\Qt_Projects\tesseract-main\src\arch\dotproductfma.cpp:78:27: > warning: requested alignment 32 is larger than 16 [-Wattributes] > alignas(32) double tmp[4]; > ^ > [ 76%] Building CXX object > CMakeFiles/libtesseract.dir/src/arch/dotproductsse.cpp.obj > [ 76%] Building CXX object > CMakeFiles/libtesseract.dir/src/arch/intsimdmatrixsse.cpp.obj > [ 77%] Linking CXX static library libtesseract50.a > [ 77%] Built target libtesseract > [ 77%] Building CXX object CMakeFiles/tesseract.dir/src/tesseract.cpp.obj > [ 78%] Linking CXX executable bin\tesseract.exe > libtesseract50.a(svutil.cpp.obj):svutil.cpp:(.text+0xfa2): undefined > reference to `nano_sleep' > collect2.exe: error: ld returned 1 exit status > mingw32-make[2]: *** [CMakeFiles\tesseract.dir\build.make:109: > bin/tesseract.exe] Error 1 > mingw32-make[1]: *** [CMakeFiles\Makefile2:162: > CMakeFiles/tesseract.dir/all] Error 2 > mingw32-make: *** [Makefile:135: all] Error 2 > > -- > 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 tesseract-ocr+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/925b53b3-945a-4ae9-ad90-f6dcf3449b71n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/925b53b3-945a-4ae9-ad90-f6dcf3449b71n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8wqWArr5YkgQ2rU8qZkbF%3DJYN9mQfM8sAUx3557%2BQm_RQ%40mail.gmail.com.