leptonica icon indicating copy to clipboard operation
leptonica copied to clipboard

Installing leptonica on Windows failed with reason prompt 'SW' not found

Open liyuan1206010227 opened this issue 8 months ago • 2 comments

The specific error content is as follows:

CMake Error at CMakeLists.txt:216 (find_package):
  By not providing "FindSW.cmake" in CMAKE_MODULE_PATH this project has asked
  CMake to find a package configuration file provided by "SW", but CMake did
  not find one.

  Could not find a package configuration file provided by "SW" with any of
  the following names:

    SWConfig.cmake
    sw-config.cmake

  Add the installation prefix of "SW" to CMAKE_PREFIX_PATH or set "SW_DIR" to
  a directory containing one of the above files.  If "SW" provides a separate
  development package or SDK, be sure it has been installed.

What library or dependency does "SW" specifically refer to? How do I need to install "SW" to solve this problem?

liyuan1206010227 avatar May 31 '24 08:05 liyuan1206010227