|
From: Daan L. <daa...@xs...> - 2004-03-29 09:15:05
|
On Sat, 27 Mar 2004 16:16:53 -0300, Gonzalo Tarantola <gon...@so...> wrote:
> Hi. Can anybody help me?
>
> I'm trying to install wxHaskell 0.6, but when I type make I get the
> following:
Hi Gonzalo,
It is hard to guess what causes your problems. I think though that you
are trying to use wxHaskell 0.6 with wxGTK 2.5.1? In that case,
there are two solutions:
1) use wxGTK 2.4.2 (instead of 2.5.1)
2) use the latest wxHaskell from CVS and configure wxGTK with
the "--disable-shared" flag. (see <http://wxhaskell.sf.net/building.html>)
I hope this helps,
All the best,
Daan.
>
> ~/Sources/wxHaskell/wxhaskell-0.6>make
> c++ -c wxc/src/ewxw_main.cpp -o out/wxc/ewxw_main.o -MD
> -I/usr/local/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iwxc/include
> In file included from wxc/src/ewxw_main.cpp:1:
> wxc/include/wrapper.h: In constructor `
> ELJDragDataObject::ELJDragDataObject(void*, char*, int (*)(void*), int
> (*)(void*, void*), int (*)(void*, int, const void*))':
> wxc/include/wrapper.h:172: error: no matching function for call to `
> wxDataObjectSimple::wxDataObjectSimple(char*&)'
> /usr/local/include/wx/dataobj.h:193: error: candidates are:
> wxDataObjectSimple::wxDataObjectSimple(const wxDataObjectSimple&)
> /usr/local/include/wx/dataobj.h:198: error:
> wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat& =
> wxFormatInvalid)
> wxc/include/wrapper.h: In constructor `
> ELJTextValidator::ELJTextValidator(void*, void*, void*, long int)':
> wxc/include/wrapper.h:256: error: ambiguous overload for `wxString& = const
> char*&' operator
> /usr/local/include/wx/string.h:278: error: candidates are: wxString&
> wxString::operator=(int) <near match>
> /usr/local/include/wx/string.h:519: error: wxString&
> wxString::operator=(const wxString&) <near match>
> /usr/local/include/wx/string.h:521: error: wxString&
> wxString::operator=(wchar_t) <near match>
> /usr/local/include/wx/string.h:527: error: wxString&
> wxString::operator=(const wxWCharBuffer&) <near match>
> wxc/include/wrapper.h: At global scope:
> wxc/include/wrapper.h:330: error: conflicting return type specified for `
> virtual char* ELJConnection::OnRequest(const wxString&, const wxString&,
> int*, wxIPCFormat)'
> /usr/local/include/wx/ipcbase.h:86: error: overriding `virtual wxChar*
> wxConnectionBase::OnRequest(const wxString&, const wxString&, int*,
> wxIPCFormat)'
> wxc/include/wrapper.h: In constructor
> `ELJConnection::ELJConnection(char*, int)
> ':
> wxc/include/wrapper.h:300: error: no matching function for call to `
> wxTCPConnection::wxTCPConnection(char*&, int&)'
> /usr/local/include/wx/sckipc.h:60: error: candidates are:
> wxTCPConnection::wxTCPConnection(wxTCPConnection&)
> /usr/local/include/wx/sckipc.h:65: error:
> wxTCPConnection::wxTCPConnection()
> /usr/local/include/wx/sckipc.h:64: error:
> wxTCPConnection::wxTCPConnection(wxChar*, int)
> wxc/include/wrapper.h: In constructor `ELJPrintout::ELJPrintout(void*,
> void*,
> void*, void*, void*, void*, void*, void*, void*, void*)':
> wxc/include/wrapper.h:412: error: conversion from `char*' to `const
> wxString'
> is ambiguous
> /usr/local/include/wx/string.h:306: error: candidates are:
> wxString::wxString(wchar_t, unsigned int = 1) <near match>
> /usr/local/include/wx/string.h:284: error:
> wxString::wxString(int) <near match>
> wxc/include/wrapper.h: In constructor
> `ELJPreviewFrame::ELJPreviewFrame(void*,
> void*, void*, void*, void*, void*, void*, int, int, int, int, int)':
> wxc/include/wrapper.h:474: error: conversion from `char*' to `const
> wxString'
> is ambiguous
> /usr/local/include/wx/string.h:306: error: candidates are:
> wxString::wxString(wchar_t, unsigned int = 1) <near match>
> /usr/local/include/wx/string.h:284: error:
> wxString::wxString(int) <near match>
> wxc/include/wrapper.h: At global scope:
> wxc/include/wrapper.h:533: error: invalid type `const char[11]' for default
> argument to `const wxString&'
> make: *** [out/wxc/ewxw_main.o] Error 1
>
>
> It looks to me like some type errors. How do I fix them? I tried with
> wxhaskell 0.5 and I got the same result.
>
>
> If it helps, the compiler version is
> ~/Sources/wxHaskell/wxhaskell-0.6>c++ --version
> c++ (GCC) 3.3 20030226 (prerelease) (SuSE Linux)
>
> Thanks in advance,
>
> Gonzalo Tarantola
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> wxhaskell-users mailing list
> wxh...@li...
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>
|