|
From: Eric Y. K. <Eri...@lo...> - 2005-11-22 10:37:49
|
Hi,
On Mon, Nov 21, 2005 at 21:39:06 -0800, Deling Ren wrote:
> Hi there, is there anyone out there having luck with compiling =20
> wxHaskell from source on Debian? My Debian version is 3.1, ghc 6.4.1 =20
> from sid. wxWidgets 2.6.3. wxHaskell version is 0.9.4. gcc version is =20
> 4.0.3. I got the following error messages when trying to run "make".
> (*)(void*, void*), int (*)(void*, int, const void*))':
> wxc/include/wrapper.h:173: error: no matching function for call to `
> wxDataObjectSimple::wxDataObjectSimple(char*&)'
This looks like a Unicode issue. You need to either
1. compile your wxWidgets by hand with --disable-unicode=20
(and either uninstall the debian wxWidgets,=20
or be careful pass the correct wx-config=3D flag to configure)
2. OR try the following patch to make wxhaskell use unicode:
http://www.loria.fr/~kow/download/patch-wxhaskell-unicode-05
=20
patch -p1 from the wxhaskell directory
Cheers,
=20
--=20
Eric Kow http://www.loria.fr/~kow
PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais.
|