[Haskell] Problem with installing wxHaskell

nlv nlv at lab321.ru
Tue Oct 28 11:18:51 EDT 2008


Hello.

I cannot install wxHaskell.
I've installed wxX11-2.8.8 and tried to install wxcore-0.10.5.
But on "make" I've got:

wxc/include/wrapper.h:151: error: invalid use of undefined type ‘struct 
wxDropTarget’
/usr/local/include/wx-2.8/wx/window.h:60: error: forward declaration of 
‘struct wxDropTarget’
wxc/include/wrapper.h:170: error: ‘wxDragResult’ does not name a type
wxc/include/wrapper.h:172: error: ‘wxDragResult’ does not name a type
wxc/include/wrapper.h:173: error: ‘wxDragResult’ does not name a type
wxc/include/wrapper.h: In constructor ‘ELJDropTarget::ELJDropTarget(void*)’:
wxc/include/wrapper.h:161: error: type ‘wxDropTarget’ is not a direct 
base of ‘ELJDropTarget’
wxc/include/wrapper.h: At global scope:
wxc/include/wrapper.h:199: error: expected class-name before ‘{’ token
wxc/include/wrapper.h:222: error: ‘wxDragResult’ does not name a type
wxc/include/wrapper.h:224: error: ‘wxDragResult’ does not name a type
wxc/include/wrapper.h:225: error: ‘wxDragResult’ does not name a type
wxc/include/wrapper.h: In constructor 
‘ELJTextDropTarget::ELJTextDropTarget(void*, int (*)(void*, long int, 
long int, void*))’:
wxc/include/wrapper.h:209: error: class ‘ELJTextDropTarget’ does not 
have any field named ‘wxTextDropTarget’
wxc/include/wrapper.h: At global scope:
wxc/include/wrapper.h:236: error: expected class-name before ‘{’ token
wxc/include/wrapper.h:259: error: ‘wxDragResult’ does not name a type
wxc/include/wrapper.h:261: error: ‘wxDragResult’ does not name a type
wxc/include/wrapper.h:262: error: ‘wxDragResult’ does not name a type
wxc/include/wrapper.h: In constructor 
‘ELJFileDropTarget::ELJFileDropTarget(void*, int (*)(void*, long int, 
long int, void*, int))’:
wxc/include/wrapper.h:246: error: class ‘ELJFileDropTarget’ does not 
have any field named ‘wxFileDropTarget’

Can anyone help me?


More information about the Haskell mailing list