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

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

Closed Arthurfogo7 closed 1 year ago

Arthurfogo7 commented 1 year ago

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.

egorpugin commented 1 year ago

Run sw setup then re-run.