[Haskell-cafe] DLL on Windows

2010-02-16 Thread Serguey Zefirov
I tried the way described in http://www.haskell.org/ghc/docs/latest/html/users_guide/win32-dlls.html and i got this error message: ghc -shared -o test.dll --make test.hs [1 of 1] Compiling Test

Re: [Haskell-cafe] DLL on Windows

2010-02-16 Thread Neil Mitchell
Hi Serguey, I notice you are using GHC 6.10.3, I suggest you try 6.10.4 which I know does work. I rewrote that section of the manual recently. I haven't had time to merge it back in, but it might give you more help: http://neilmitchell.blogspot.com/2009/11/haskell-dlls-on-windows.html Thanks, N

Re: [Haskell-cafe] DLL on Windows

2010-02-16 Thread Serguey Zefirov
I'd like to, but I cannot. My code is tied to gtk2hs, which supports either 6.10.1 or 6.10.3. I put it another way: could I build DLL using ghc 6.12.*? If I can, I'll use 6.10.3 for gtk2hs code and 6.12 for all new stuff. 2010/2/16 Neil Mitchell : > Hi Serguey, > > I notice you are using GHC 6.1

Re: [Haskell-cafe] DLL on Windows

2010-02-16 Thread Neil Mitchell
Hi Serguey, A GHC 6.10.4 version of Gtk2hs: http://www.mail-archive.com/gtk2hs-de...@lists.sourceforge.net/msg00340.html I used to recommend Gtk2hs over wxHaskell for GUI development as there was always a version that worked on Windows with the latest GHC release. I think I might have to switch

Re: [Haskell-cafe] DLL on Windows

2010-02-16 Thread Serguey Zefirov
Thank you very much. How do you use C# for GUI development? Do you use hs-dotnet? 2010/2/16 Neil Mitchell : > Hi Serguey, > > A GHC 6.10.4 version of Gtk2hs: > > http://www.mail-archive.com/gtk2hs-de...@lists.sourceforge.net/msg00340.html > > I used to recommend Gtk2hs over wxHaskell for GUI deve

Re: [Haskell-cafe] DLL on Windows

2010-02-16 Thread Neil Mitchell
Oh no, I just give up on Haskell and use C# entirely - I'd much rather program in Haskell, but if all you are doing is a simple Windows app then a nice GUI is easy in C# with the form designer. Thanks, Neil On Tue, Feb 16, 2010 at 6:01 PM, Serguey Zefirov wrote: > Thank you very much. > > How do

GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-02-16 Thread Henk-Jan van Tuyl
On Tue, 16 Feb 2010 18:57:20 +0100, Neil Mitchell wrote: I used to recommend Gtk2hs over wxHaskell for GUI development as there was always a version that worked on Windows with the latest GHC release. I think I might have to switch back to recommending C# for GUI development... The latest r

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-02-16 Thread Thomas DuBuisson
On Tue, Feb 16, 2010 at 3:48 PM, Henk-Jan van Tuyl wrote: > On Tue, 16 Feb 2010 18:57:20 +0100, Neil Mitchell > wrote: > >> I used to recommend Gtk2hs over wxHaskell for GUI development as there >> was always a version that worked on Windows with the latest GHC >> release. I think I might have to

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-02-17 Thread Jeremy O'Donoghue
You're probably correct about the dependencies. I have never tried to compile wxHaskell against GHC 6.12.1 I'm waiting for Haskell Platform to be released to make the required changes since (working primarily on Windows) I just don't have time to create a complete GHC 6.12 installation with most o

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-02-17 Thread Thomas DuBuisson
On Wed, Feb 17, 2010 at 3:17 AM, Jeremy O'Donoghue wrote: > You're probably correct about the dependencies. I have never tried to > compile wxHaskell against GHC 6.12.1 > > I'm waiting for Haskell Platform to be released to make the required > changes since (working primarily on Windows) I just do

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-02-26 Thread Daniel Fischer
Am Mittwoch 17 Februar 2010 12:17:10 schrieb Jeremy O'Donoghue: > You're probably correct about the dependencies. I have never tried to > compile wxHaskell against GHC 6.12.1 > > I'm waiting for Haskell Platform to be released to make the required > changes since (working primarily on Windows) I ju

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-02-26 Thread Jeremy O'Donoghue
Hi Daniel, On Fri, 26 Feb 2010 15:31 +0100, "Daniel Fischer" wrote: > Am Mittwoch 17 Februar 2010 12:17:10 schrieb Jeremy O'Donoghue: > > You're probably correct about the dependencies. I have never tried to > > compile wxHaskell against GHC 6.12.1 [snip] > > Beating a dead horse, but today I de

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-04-18 Thread Neil Mitchell
Hi, I thought this thread suggested that a cabal install wx would now work? I just tried it and got: ... generated 2439 constant definitions ok. setup.exe: wx-config: does not exist cabal: Error: some packages failed to install: wx-0.12.1.4 depends on wxcore-0.12.1.4 which failed to install. wxco

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-04-18 Thread Daniel Fischer
Am Sonntag 18 April 2010 20:59:25 schrieb Neil Mitchell: > Hi, > > I thought this thread suggested that a cabal install wx would now > work? It does, as far as I can tell. > I just tried it and got: > > ... > generated 2439 constant definitions > ok. > setup.exe: wx-config: does not exist That's

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-04-18 Thread Daniel Fischer
Am Sonntag 18 April 2010 21:41:06 schrieb Daniel Fischer: > wx-config should have been installed as part of the wxWidgets package. > Is that not included in the windows-installer of wxWidgets? Seems it's not so. http://www.haskell.org/haskellwiki/WxHaskell/Building says "Windows users should also

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-04-18 Thread Ivan Miljenovic
On 19 April 2010 06:06, Daniel Fischer wrote: >> > If wxHaskell could be installed with one cabal command that would be >> > incredibly cool :-) > > Well, it's just one cabal command if you have all non-Haskell requirements > installed as needed. Exactly; it's unreasonable to suggest/assume that

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-04-18 Thread Jeremy O'Donoghue
On 18/04/2010, Daniel Fischer wrote: > Am Sonntag 18 April 2010 21:41:06 schrieb Daniel Fischer: >> wx-config should have been installed as part of the wxWidgets package. >> Is that not included in the windows-installer of wxWidgets? > > Seems it's not so. > http://www.haskell.org/haskellwiki/WxHa

Re: GUI (was: Re: [Haskell-cafe] DLL on Windows)

2010-04-20 Thread Neil Mitchell
:-( - it seems that cabal install wx isn't how you install it on Windows, not by a long shot. I'm currently a Gtk2hs user. If wx got to the point where cabal install wx either installed wx, including all it's non-Haskell dependencies, or printed out a message "you're a windows user who hasn't inst