<div dir="ltr"><div><div><div><div><div><div><div><div>It's impossible to say why the results are different in this case without more information. For example:<br><br></div>* Where did you install wxWidgets?<br></div>* How did you modify PATH? Did you modify any other env vars?<br></div>* How did you install Cabal and GHC?<br></div>* How are you setting env vars? Are you sure Stack is seeing the same values as cabal?<br></div>* Are you using the same versions of libraries and compilers with Stack and Cabal?<br></div>* What error message are you seeing?<br><br></div>I can't say that I've personally installed wxWidgets recently (on any OS actually), so I don't have personal experience to back it up. But with other libraries (like libicu), I've found that the easiest thing with Stack is to use msys2 and pacman to install the system libraries. As an example, see this tweet[1].<br><br></div>Michael<br><br>[1] <a href="https://twitter.com/snoyberg/status/638359459304239104">https://twitter.com/snoyberg/status/638359459304239104</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 4, 2017 at 4:03 PM, Yotam Ohad <span dir="ltr"><<a href="mailto:yotam2206@gmail.com" target="_blank">yotam2206@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex"><div dir="rtl"><div dir="ltr">Hello cafe,</div><div dir="ltr">Lately, I wanted to try wxHaskell, so I downloaded and install wxWidgets and added the necessary paths to %PATH%. The problem was that when trying to build, cabal would have no problem at all, while stack sends me into battle with my path, complaining about missing header and executable files and so on.</div><div dir="ltr"><br></div><div dir="ltr">I don't understand why stack is having such a hard time when cabal has no trouble at all. I know that they are not the same, but I still think that it is weird that stack is acting like that.</div><div dir="ltr"><br></div><div dir="ltr">Thanks for your help,</div><div dir="ltr">Yotam</div></div>
<br>______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.<br></blockquote></div><br></div>