Yes, I did just this. Using your flags all of wxWidgets compile, and all samples run.
But I note that the wiki page for wxHaskell says to have a cabal/wxc-xxx/ghcversion On the path, but I don't have any such directory in my cabal (although I did set the path...). There is a wxdirect-0.90.0.1 installed there, nothing else new of "wx*". Trying to do the cabal installs, I used the version 21 of wx-config, and still get these errors: E:\Plang\Libraries\wxWidgets2.9>cabal install wxc Resolving dependencies... [1 of 1] Compiling Main ( C:\Users\guthrie\AppData\Local\Temp\wxc-0. 90.0.3-11300\wxc-0.90.0.3\Setup.hs, C:\Users\guthrie\AppData\Local\Temp\wxc-0.90 .0.3-11300\wxc-0.90.0.3\dist\setup\Main.o ) Linking C:\Users\guthrie\AppData\Local\Temp\wxc-0.90.0.3-11300\wxc-0.90.0.3\dist\setup\setup.exe ... Configuring wxc-0.90.0.3... Configuring wxc to build against wxWidgets 2.9 setup.exe: Missing dependencies on foreign libraries: * Missing C libraries: wxmsw29ud_all, wxmsw29ud This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are. cabal: Error: some packages failed to install: wxc-0.90.0.3 failed during the configure step. The exception was: ExitFailure 1 Using your FLAGS did help in the build of wxWidgets, now all of the samples compile and run. Upgrading to version 26 of wx-config changes the errors to this: C:\Users\guthrie\AppData\Roaming\cabal\bin>cabal install wxc Resolving dependencies... <command line>: cannot satisfy -package Cabal-18.104.22.168: Cabal-22.214.171.124-db589dd5d526d3111ac2fde0f9ab986c is unusable due to missing or recursive dependencies: array-0.3.0.2-8e9cd0144e87fa9cc86cc9031631c4f3 base-126.96.36.199-f520cd232cc386 346843c4a12b63f44b containers-0.4.0.0-18deac99a132f04751d862b77aab136e directory -188.8.131.52-3a2367d72569467a8af8a231656ff1b8 filepath-184.108.40.206-f132e9f7703da4e20a47f f2b9acf1ea1 old-time-220.127.116.11-445ce39cbcebd38069c25c0f383b728d pretty-18.104.22.168-abc 7c632374e50e1c1927987c2651f0f process-22.214.171.124-b3dded8e54a2e13d22af410bdcfafff4 (use -v for more information) cabal: Error: some packages failed to install: wxc-0.90.0.3 failed during the configure step. The exception was: ExitFailure 1 Trying to resolve them: C:\Users\guthrie\AppData\Roaming\cabal\bin>cabal install base Resolving dependencies... cabal: internal error: impossible C:\Users\guthrie\AppData\Roaming\cabal\bin>cabal install array Resolving dependencies... No packages to be installed. All the requested packages are already installed. If you want to reinstall anyway then use the --reinstall flag. C:\Users\guthrie\AppData\Roaming\cabal\bin>cabal install process Resolving dependencies... No packages to be installed. All the requested packages are already installed. If you want to reinstall anyway then use the --reinstall flag. Etc... ??? ------------------------------------------- > -----Original Message----- > From: Fabian Binz [mailto:fabianb...@yahoo.de] > Sent: Thursday, June 07, 2012 12:37 PM > To: email@example.com > Subject: Re: [wxhaskell-users] problems buiding wxHaskell on Windows > > > Does anyone run WxHaskell 2.9 on Windows? > Yes. > > > library files: gcc_mswuddll & gcc_mswudll > It should create a wxmsw293u_gcc_custom.dll (and maybe a > wxmsw293u_gl_gcc_custom.dll > for OpenGL support). > > Do you run "cabal install wxc" from Msys-Bash or from cmd.exe? You should use > the latter. > Also, which make flags did you use? I compiled wxWidgets-2.9.3 with the > following command > (from msys-bash): > > cd your-wxWidgets-2.9.3-dir/build/msw > mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 > > Then, with the wx-config.exe from the wiki page in PATH, I open cmd.exe and > type: > cabal install wxc > > I hope this helps. > > Regards, > Fabian > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ wxhaskell-users mailing list firstname.lastname@example.org https://lists.sourceforge.net/lists/listinfo/wxhaskell-users