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

I tried to build something, but this error came and I couldn't get SW also #102

Closed
Arthurfogo7 opened this issue Sep 5, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Arthurfogo7
Copy link

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 I am trying to build is leptonica, but I can't do it without having there .cmake files, and I have no idea how I can get them. Building SW failed miserably for me too.

@Arthurfogo7 Arthurfogo7 added the bug Something isn't working label Sep 5, 2022
@egorpugin
Copy link
Contributor

Run sw setup then re-run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants