First, you should make sure for yourself that wxWidgets 2.9 is well installed, for that you can try to build the wxwidgets' examples<div><pre style="background-color:rgb(247,247,247);border:0px;margin-top:0px;margin-bottom:24px;padding:1.5em;vertical-align:baseline;font-family:'Courier 10 Pitch',Courier,monospace;color:rgb(34,34,34);line-height:21px;overflow:auto;font-size:15px">
cd c:\wx\samples\minimal
mingw32-make -f makefile.gcc BUILD=debug<span style="background-color:transparent"> </span></pre></div><div>Then, I can think that it is just a problem of configuring and installing wxhaskell.</div><div><br></div><div>For the paths you have to set, probably the wxc is not installed on your pc yet, and probably that's why you couldn't find. But you should follow the way setting those paths and put the right versions of the libraries you are installing.</div>
<div><br></div><div>Best wishes, Carlos Gomez</div><div><br><div class="gmail_quote">On 6 June 2012 12:52, Gregory Guthrie <span dir="ltr"><<a href="mailto:guthrie@mum.edu" target="_blank">guthrie@mum.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No, I am not sure of this - I followed the instructions at:<br>
<a href="http://www.haskell.org/haskellwiki/WxHaskell/Windows#wxWidgets_2.9_and_wxHaskell_0.90.x" target="_blank">http://www.haskell.org/haskellwiki/WxHaskell/Windows#wxWidgets_2.9_and_wxHaskell_0.90.x</a><br>
<br>
The describe the "install" as the wxWidgets install of source code, and then how to compile it, and then just to do cabal installs, which is what is failing.<br>
<br>
The cabal install error describes some configuration options, but I don't know where or how they are intended to be used.<br>
<div class="im"> This problem can usually be solved by installing the system packages that<br>
provide these libraries (you may need the "-dev" versions). If the libraries<br>
are already installed but in a non-standard location then you can use the<br>
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.<br>
<br>
</div>I see in my cabal directory that it has files :<br>
Wx-0.12.1.6,<br>
Wxcore-0.12.1.7<br>
Wxdirect-0.12.1.4<br>
Wxdirect-0.90.0.1<br>
<br>
I also notice that these instructions require a bunch of PATH fiddling that I never had to do before for wxWidgets /wxHaskell 2.8.<br>
Also that it asks to install a path pointer to the cabal directory to \wxc-%WXC_VERSION%\%GHC_VERSION% which file does not exist on my system. ??<br>
<div class="im"><br>
> -----Original Message-----<br>
> Subject: Re: [Haskell-beginners] wxHaskell install errors<br>
</div><div class="im">> To: <a href="mailto:beginners@haskell.org">beginners@haskell.org</a><br>
> > C: >cabal install wx<br>
> > Resolving dependencies...<br>
</div><div class="im">...<br>
> > setup\setup.exe ...<br>
> > Configuring wxc-0.90.0.3...<br>
> > Configuring wxc to build against wxWidgets 2.9<br>
> ><br>
> > setup.exe: Missing dependencies on foreign libraries:<br>
</div>...<br>
<div class="im HOEnZb">> Are you sure that you installed wxWidgets 2.9 and didn't just compile it from source? It<br>
> looks like cabal can't find the wxWidgets libraries on your system.<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div>