Jeremy O'Donoghue | 1 Apr 12:32 2008

ANN: wxHaskell 0.10.3

The wxHaskell development team is pleased to announce the release of
wxHaskell 0.10.3, a Haskell binding
for the wxWidgets GUI library. 

The Haskell support is built on a reasonably complete C language
binding, which
could be used as the basis for wxWidgets support on other
languages/platforms
which do not have easy mechanisms for linking with C++ code. 

The feature set is the same as wxHaskell 0.10.3 rc1 and rc2, with a
number of
additional bugfixes.

This is the first full release since June 2005, and is the result of a
great deal of work by a new team of contributors.

Highlights of 0.10.3 include:

- Support for Unicode builds of wxWidgets
- Support for additional widgets including calendar, toolbar divider,
  styled text control (wxScintilla), media control
- Support for clipboard, drag and drop
- Support for 64bit (Linux) targets
- Support for wxWidgets 2.6.x (support for wxWidgets 2.4.2 if 
  you compile from source). wxWidgets 2.8 is not yet supported
- Support for building with GHC 6.6.x and 6.8.x
- Parts of wxHaskell are now built with Cabal
- New test cases
- Removed support GHC version < 6.4
(Continue reading)

Jeremy O'Donoghue | 1 Apr 12:35 2008
Picon

ANN: wxHaskell 0.10.3

The wxHaskell development team is pleased to announce the release of
wxHaskell 0.10.3, a Haskell binding
for the wxWidgets GUI library.

The Haskell support is built on a reasonably complete C language
binding, which
could be used as the basis for wxWidgets support on other
languages/platforms
which do not have easy mechanisms for linking with C++ code.

The feature set is the same as wxHaskell 0.10.3 rc1 and rc2, with a
number of
additional bugfixes.

This is the first full release since June 2005, and is the result of a
great deal of work by a new team of contributors.

Highlights of 0.10.3 include:

- Support for Unicode builds of wxWidgets
- Support for additional widgets including calendar, toolbar divider,
  styled text control (wxScintilla), media control
- Support for clipboard, drag and drop
- Support for 64bit (Linux) targets
- Support for wxWidgets 2.6.x (support for wxWidgets 2.4.2 if
  you compile from source). wxWidgets 2.8 is not yet supported
- Support for building with GHC 6.6.x and 6.8.x
- Parts of wxHaskell are now built with Cabal
- New test cases
- Removed support GHC version < 6.4
(Continue reading)

Adrian Neumann | 5 Apr 19:09 2008
Picon
Picon

Installation on Windows, DLL can't be loaded

Hi,

I just installed ghc6.8, wxWidgets2.6 and wxHaskell10.3. I tried to run 
the HelloWorld program from the samples directory, but ghci gives me

C:\ghc\wxhaskell-0.10.3\samples\wx>ghci -package wx HelloWorld.hs
GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Loading package old-locale-1.0.0.0 ... linking ... done.
Loading package old-time-1.0.0.0 ... linking ... done.
Loading package filepath-1.1.0.0 ... linking ... done.
Loading package directory-1.0.0.0 ... linking ... done.
Loading package random-1.0.0.0 ... linking ... done.
Loading package process-1.0.0.0 ... linking ... done.
Loading package array-0.1.0.0 ... linking ... done.
Loading package haskell98 ... linking ... done.
Loading package wxcore-0.10.3 ... : can't load .so/.DLL for: 
wxc-msw2.6.4-0.10.3
  (addDLL: unknown error)

That's strange, since the DLL is in Windows/system32, which is naturally 
in my PATH.

I googled, but to no avail. Nobody seems to share my problem. Does 
anybody on this mailing-list know what to do?

Adrian

(Continue reading)

Eric Y. Kow | 5 Apr 22:34 2008
Picon

Re: Installation on Windows, DLL can't be loaded

On Sat, Apr 05, 2008 at 19:09:27 +0200, Adrian Neumann wrote:
> Loading package wxcore-0.10.3 ... : can't load .so/.DLL for: 
> wxc-msw2.6.4-0.10.3
>  (addDLL: unknown error)

If you do find an answer, could you please update the wiki?
http://www.haskell.org/haskellwiki/WxHaskell/Install#Troubleshooting

--

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
José Miguel Vilaça | 6 Apr 16:52 2008
Picon

Re: Installation on Windows, DLL can't be loaded

Hi ADrian,

Did you tried to compile that?
ghc -package wx Helloword.hs

And running Helloword.exe is ok?

Best
Miguel Vilaça

-----Mensagem original-----
De: wxhaskell-users-bounces@...
[mailto:wxhaskell-users-bounces@...] Em nome de Adrian
Neumann
Enviada: sábado, 5 de Abril de 2008 18:09
Para: wxhaskell-users@...
Assunto: [wxhaskell-users] Installation on Windows, DLL can't be loaded

Hi,

I just installed ghc6.8, wxWidgets2.6 and wxHaskell10.3. I tried to run 
the HelloWorld program from the samples directory, but ghci gives me

C:\ghc\wxhaskell-0.10.3\samples\wx>ghci -package wx HelloWorld.hs
GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Loading package old-locale-1.0.0.0 ... linking ... done.
Loading package old-time-1.0.0.0 ... linking ... done.
Loading package filepath-1.1.0.0 ... linking ... done.
Loading package directory-1.0.0.0 ... linking ... done.
(Continue reading)

Adrian Neumann | 7 Apr 08:17 2008
Picon
Picon

Re: Installation on Windows, DLL can't be loaded

I did. Windows throws an error. Something like "program cannot be 
initialized". The same thing I assume.

Adrian

José Miguel Vilaça schrieb:
> Hi ADrian,
> 
> Did you tried to compile that?
> ghc -package wx Helloword.hs
> 
> And running Helloword.exe is ok?
> 
> Best
> Miguel Vilaça
> 
> 
> -----Mensagem original-----
> De: wxhaskell-users-bounces@...
> [mailto:wxhaskell-users-bounces@...] Em nome
de Adrian
> Neumann
> Enviada: sábado, 5 de Abril de 2008 18:09
> Para: wxhaskell-users@...
> Assunto: [wxhaskell-users] Installation on Windows, DLL can't be loaded
> 
> Hi,
> 
> I just installed ghc6.8, wxWidgets2.6 and wxHaskell10.3. I tried to run 
> the HelloWorld program from the samples directory, but ghci gives me
(Continue reading)

shelarcy | 9 Apr 15:52 2008
Picon

Re: Installation on Windows, DLL can't be loaded

Hi Adrian,

On Mon, 07 Apr 2008 15:17:46 +0900, Adrian Neumann <aneumann <at> inf.fu-berlin.de> wrote:
> I did. Windows throws an error. Something like "program cannot be
> initialized". The same thing I assume.

Pleas check error number. Is your error same this one?

http://www.mail-archive.com/wxhaskell-users <at> lists.sourceforge.net/msg00441.html

If so, you can fix problem by installing Microsoft Visual C++ 2005
SP1 Redistributable Package.

http://www.mail-archive.com/wxhaskell-users <at> lists.sourceforge.net/msg00457.html
http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647&DisplayLang=en

> José Miguel Vilaça schrieb:
>> Hi ADrian,
>>
>> Did you tried to compile that?
>> ghc -package wx Helloword.hs
>>
>> And running Helloword.exe is ok?

Best Regards,

--

-- 
shelarcy <shelarcy    hotmail.co.jp>
http://page.freett.com/shelarcy/

(Continue reading)

Eric Kow | 18 Apr 12:23 2008
Picon

Re: .so/.DLL

Sorry to be unhelpful, but I've updated the wiki with a placeholder,
should you ever find a solution for this
  http://www.haskell.org/haskellwiki/WxHaskell/Install

Also, Adrian Neumann and Conal Elliot have experienced the same
problem (see list archives), so you're not alone.  If you're reading
this, Conal, did you ever sort it out?

I've tried googling "ghci adddll unknown error" and noticed that
people using other libraries seem to have a similar problem.   I
wonder if this is related:

http://www.mail-archive.com/haskell-cafe-HC+Z4NTRIlBAfugRpC6u6w <at> public.gmane.org/msg32740.html

Could prefixing that wxc-msw with a 'lib' do the trick?

--

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
Jaap van der Woude | 18 Apr 11:51 2008
Picon
Picon

Re: .so/.DLL

Dear Jeremy

Thanks for your prompt reply.
I'm sorry to bother you again, but the wish to use wxHaskell exceeds the
reluctance to steal your time you with my ignorance.

I did check the package.conf and everything is allright
(directly and using your "decribe"-trick).
The directories and libraries are there and the registration succeeded
perfectly (for path-names without spaces, so the directory "program
files" is off limits). Changing drives, directories, even library-names
did not change anything: Still GHCi complains about  not being able to
load the .dll for wxc-msw2.6.4-0.10.3, (not about finding it)
(addDLL:unknown error).

I hope you or any of the other readers of this message can solve this
problem. (it is also mentioned on the fa.haskell "forum", directly after
you announcing the new wxHaskell being released.)

best regards
Jaap

On Thu, 2008-04-17 at 18:54 +0100, Jeremy O'Donoghue wrote:
> Dear Jaap,
> 
> On Thu, 17 Apr 2008 13:25:43 +0200, "Woude, J.C.S.P. van der"
> <J.C.S.P.v.d.Woude@...> said:
> > 
> > After some trouble with paths with spaces in their names I got it
> > registered
(Continue reading)

Eric Y. Kow | 23 Apr 21:37 2008
Picon

wxWidgets 2.8 support

Just a little heads up: I've pushed in set of patches from Jeremy
O'Donoghue which should make it possible to use wxhaskell with
wxWidgets 2.8.

For MacOS X Leopard users, yes, this means that you can run the darcs
version wxhaskell (it runs fine on my machine).

Unfortunately, this means breaking support for prior versions of
wxWidgets.  We are working out what to do about this...

--

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

Gmane