Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
liyuan1206010227 opened this issue May 31, 2024 · 2 comments

Comments

@liyuan1206010227
Copy link

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?

@zdenop
Copy link
Collaborator

zdenop commented May 31, 2024

Did you read and follow Readme.md? Or wiki?

@liyuan1206010227
Copy link
Author

Did you read and follow Readme.md? Or wiki?

My mistake, I just checked the README file and found an explanation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants