You could also look at the powershell scripts I have here.  

https://github.com/cessationoftime/wxHaskell-Windows-Builder

They are designed to build wxWidgets and wxHaskell on Windows. And there are 32 
and 64 bit versions of them.  The 64 bit version uses MinGW-w64 without issue.  
They have only been tested on Windows 7 though.  I don't think I modified the 
flags in config.gcc for 64 bits though, so I may just have two alternate ways 
to build 32 bits.



-----Original Message-----
From: Henk-Jan van Tuyl [mailto:hjgt...@chello.nl] 
Sent: Saturday, March 28, 2015 10:09 AM
To: wxhaskell-users@lists.sourceforge.net; Andrew Butterfield
Subject: Re: [wxhaskell-users] installation problem on Win 8.1, WXCFG

On Thu, 26 Mar 2015 22:52:14 +0100, Andrew Butterfield 
<andrew.butterfi...@scss.tcd.ie> wrote:

:
> Configuring wxc-0.92.0.0...
>
> Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll\mswud)
> or set the environment variable WXCFG (as in WXCFG=gcc_dll\mswud)
> to specify which configuration exactly you want to use.
> readProcess failed: readProcess: wx-config "--version" (exit 1): failed
> setup.exe: failed
> cabal: Error: some packages failed to install:
> wxc-0.92.0.0 failed during the configure step. The exception was:
> ExitFailure 1
> ------ log extract pause ------
>
> How do I fix this? What is going on?
>
> Installed 32-bit Haskell Platform on 64-bit Win 8.1
> (I did that because the instructions talk about mingw32-make)

Did you set WXWIN to the correct value, something like:
   WXWIN=C:\Libs\wxWidgets\3.0.2
?

Another reason why the compilation failed, might be that the configuration  
file specifies a debug build, instead of a release build.

You can build a 64 bit wxHaskell, even though there is a 32 in the name  
mingw32-make; take care that you build wxWidgets with the same bitness. To  
build wxWidgets as 64 bits DLLs, I changed some values in  
build\msw\config.gcc to:

   # Standard flags for CC
   CFLAGS ?= -m64

   # Standard flags for C++
   CXXFLAGS ?= -m64

   # Standard preprocessor flags (common for CC and CXX)
   CPPFLAGS ?= -D_M_AMD64


Regards,
Henk-Jan van Tuyl


-- 
Folding@home
What if you could share your unused computer power to help find a cure? In  
just 5 minutes you can join the world's biggest networked computer and get  
us closer sooner. Watch the video.
https://urldefense.proofpoint.com/v2/url?u=http-3A__folding.stanford.edu_&d=AwICAg&c=4sF48jRmVAe_CH-k9mXYXEGfSnM3bY53YSKuLUQRxhA&r=uHa3P-6nCCMTSWKo6SVyf8SYFCvf99SptA09bTieRUEy2SyD4nufBTQADRVKI_1M&m=ip2ITmeH8JjeaVOP6S7dvYkPY6AK--8BeNlljxOFhbI&s=N1TYQLMct-l6TOc3bOAQE0vc9Yc9drWY5cFKUYGQTm8&e=
 


https://urldefense.proofpoint.com/v2/url?u=http-3A__Van.Tuyl.eu_&d=AwICAg&c=4sF48jRmVAe_CH-k9mXYXEGfSnM3bY53YSKuLUQRxhA&r=uHa3P-6nCCMTSWKo6SVyf8SYFCvf99SptA09bTieRUEy2SyD4nufBTQADRVKI_1M&m=ip2ITmeH8JjeaVOP6S7dvYkPY6AK--8BeNlljxOFhbI&s=F29qCastd4COdxcCiSqWiE3WgvZRUVMIpUQ1JT3n_hc&e=
 
https://urldefense.proofpoint.com/v2/url?u=http-3A__members.chello.nl_hjgtuyl_tourdemonad.html&d=AwICAg&c=4sF48jRmVAe_CH-k9mXYXEGfSnM3bY53YSKuLUQRxhA&r=uHa3P-6nCCMTSWKo6SVyf8SYFCvf99SptA09bTieRUEy2SyD4nufBTQADRVKI_1M&m=ip2ITmeH8JjeaVOP6S7dvYkPY6AK--8BeNlljxOFhbI&s=MTQnPb5MaHzo76s0T5xQRyCQr884T1puiAtJjMyh-2g&e=
 
Haskell programming
--

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. 
https://urldefense.proofpoint.com/v2/url?u=http-3A__goparallel.sourceforge.net_&d=AwICAg&c=4sF48jRmVAe_CH-k9mXYXEGfSnM3bY53YSKuLUQRxhA&r=uHa3P-6nCCMTSWKo6SVyf8SYFCvf99SptA09bTieRUEy2SyD4nufBTQADRVKI_1M&m=ip2ITmeH8JjeaVOP6S7dvYkPY6AK--8BeNlljxOFhbI&s=FyCdFkCLS4eHm9rBk1b8PYSnzOVGMVBWtaM6gBqUw7M&e=
 
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_wxhaskell-2Dusers&d=AwICAg&c=4sF48jRmVAe_CH-k9mXYXEGfSnM3bY53YSKuLUQRxhA&r=uHa3P-6nCCMTSWKo6SVyf8SYFCvf99SptA09bTieRUEy2SyD4nufBTQADRVKI_1M&m=ip2ITmeH8JjeaVOP6S7dvYkPY6AK--8BeNlljxOFhbI&s=H09v2CGTefNe4Dh3d7S5nFJCHEjffCj1M0uigVqstWw&e=
 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to