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

pkg-config + external msys2 = package not found #2169

Closed
YellowOnion opened this issue May 20, 2016 · 3 comments
Closed

pkg-config + external msys2 = package not found #2169

YellowOnion opened this issue May 20, 2016 · 3 comments

Comments

@YellowOnion
Copy link

This part of stack seems to be very poorly documented

$ pacman -Ss mingw-w64-x86_64-SDL2
mingw64/mingw-w64-x86_64-SDL2 2.0.4-1 [installed]
    A library for portable low-level access to a video framebuffer, audio
    output, mouse, and keyboard (Version 2) (mingw-w64)

$ stack install sdl2
<snip>
    Configuring sdl2-2.1.1...
    setup-Simple-Cabal-1.22.5.0-ghc-7.10.3.exe: The pkg-config package 'sdl2'
    version >=2.0.3 is required but it could not be found.

trying with --no-msys

$ stack --skip-msys install sdl2
<snip>
    Configuring sdl2-2.1.1...
    setup-Simple-Cabal-1.22.5.0-ghc-7.10.3.exe: The pkg-config package 'sdl2'
    version >=2.0.3 is required but it could not be found.

How would I proceed installing sdl2 bindings?

@mgsloan
Copy link
Contributor

mgsloan commented May 21, 2016

Yes, things like this are still frustrating on windows. Dupe of #1714

@YellowOnion
Copy link
Author

@mgsloan Sorry for late reply, but I cannot for the life of me figure out using the solution in the other thread to work around the issue in my case, is there a work around to getting my project to build sdl2?

@mgsloan
Copy link
Contributor

mgsloan commented Jun 4, 2016

Not sure, sorry :/ Windows isn't my specialty.

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

No branches or pull requests

2 participants