SoftwareNetwork / sw

Software Manager. Build System, Build System Generator and Package Manager. C/C++ and other languages. Tools and libraries for Software Management.
https://software-network.org
Other
115 stars 23 forks source link

windows tesseract build error (the error is on the SW side) #123

Closed vadiks2003 closed 7 months ago

vadiks2003 commented 7 months ago

Describe the bug when building https://github.com/tesseract-ocr/tesseract i get an error error.txt

Expected behavior i expect for tesseract to compile without errors

To Reproduce Steps to reproduce the behavior:

  1. download https://github.com/tesseract-ocr/tesseract
  2. download sw NOT a gui version for windows
  3. either put a sw.exe inside tesseract folder or have it in one of PATH folders
  4. sw build
  5. error

Information:

egorpugin commented 7 months ago

Hi,

The latest VS (or VS Build Tools) is required for sw to work.

It seems you have VS2019 or early VS2022. Try to upgrade it or install latest VS Build Tools (they are probably free).

vadiks2003 commented 7 months ago

i do have VS2019 an unupdated one, even. my bad oops