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

cmake configure failed on MSYS2 MINGW64 #50

Open
ghost opened this issue Apr 24, 2023 · 3 comments
Open

cmake configure failed on MSYS2 MINGW64 #50

ghost opened this issue Apr 24, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 24, 2023

$ cmake ..
-- Building for: Ninja
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error at putils/CMakeLists.txt:49 (find_package):
  Could not find a package configuration file provided by "scn" with any of
  the following names:

    scnConfig.cmake
    scn-config.cmake

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


-- Configuring incomplete, errors occurred!

Note: the repo was cloned with --recursive as the guide said.

@phisko
Copy link
Owner

phisko commented Apr 24, 2023

Hi,

You need to install the scn library, or alternatively use vcpkg to automatically install all dependencies using the provided vcpkg.json.

If you're not familiar with vcpkg, it's a very simple and straightforward package manager. The getting started guide should get you sorted :)

Thanks,
phisko

@ghost
Copy link
Author

ghost commented Apr 24, 2023

@phisko Is this scn? https://github.com/eliaskosunen/scnlib

@phisko
Copy link
Owner

phisko commented Apr 24, 2023

Yes that's it. As said in my message though, vcpkg will make your life much simpler to manage the dependencies

@ghost ghost mentioned this issue Apr 24, 2023
6 tasks
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

1 participant