From: Oliver O. <Oli...@ne...> - 2007-02-27 15:19:34
|
Hi, I get the output below when compiling rsgedit on my system (Mac OS X). (I can have a look, but not now). cheers Oliver if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/ruby/1.8/ universal-darwin8.0 -I/usr/lib/wx/include/mac-unicode-debug-2.5 -I/ usr/include/wx-2.5 -D__WXDEBUG__ -D__WXMAC__ -D_FILE_OFFSET_BITS=64 - D_LARGE_FILES -DNO_GCC_PRAGMA -I/opt/local/include/simspark -I/opt/ local/include -I/opt/local/include/simspark -I/opt/local/include -I/ opt/local/include/simspark -I/opt/local/include -I/opt/local/include/ simspark -I/opt/local/include -I/opt/local/include/simspark -I/opt/ local/include -I/opt/local/include -g -O2 -MT mainframe.o -MD -MP - MF "$depbase.Tpo" -c -o mainframe.o mainframe.cpp; \ then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi mainframe.cpp: In member function 'void mainframe::UpdateTitle()': mainframe.cpp:173: error: conversion from 'const char [9]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp:176: error: ambiguous overload for 'operator+' in '" <" + ((mainframe*)this)->mainframe::mSimFName' /usr/include/wx-2.5/wx/string.h:1513: note: candidates are: wxString operator+(const wxString&, const wxString&) <near match> /usr/include/wx-2.5/wx/string.h:1514: note: wxString operator+(const wxString&, wxChar) <near match> /usr/include/wx-2.5/wx/string.h:1515: note: wxString operator+(wxChar, const wxString&) <near match> /usr/include/wx-2.5/wx/string.h:1516: note: wxString operator+(const wxString&, const wxChar*) <near match> /usr/include/wx-2.5/wx/string.h:1524: note: wxString operator+(const wxWCharBuffer&, const wxString&) <near match> mainframe.cpp: In member function 'void mainframe::SplitHor()': mainframe.cpp:187: error: 'class wxSplitterWindow' has no member named 'SetSashGravity' mainframe.cpp: In member function 'void mainframe::SplitVert()': mainframe.cpp:196: error: 'class wxSplitterWindow' has no member named 'SetSashGravity' mainframe.cpp: In member function 'bool mainframe::OpenSimulation (const wxString&)': mainframe.cpp:619: error: no matching function for call to 'zeitgeist::ScriptServer::Run(const wxChar*)' /opt/local/include/simspark/zeitgeist/scriptserver/scriptserver.h:84: note: candidates are: bool zeitgeist::ScriptServer::Run(const std::string&) /opt/local/include/simspark/zeitgeist/scriptserver/scriptserver.h:87: note: bool zeitgeist::ScriptServer::Run (boost::shared_ptr<salt::RFile>) mainframe.cpp: In member function 'void mainframe::OnFileOpen (wxCommandEvent&)': mainframe.cpp:652: error: conversion from 'const char [28]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp:653: error: conversion from 'const char [6]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp:654: error: conversion from 'const char [1]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp:655: error: conversion from 'const char [1]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp:656: error: conversion from 'const char [25]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp: In member function 'void mainframe::OnHelpAbout (wxCommandEvent&)': mainframe.cpp:682: error: conversion from 'const char [15]' to 'const wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp: In member function 'void mainframe::OnAgentOpen (wxCommandEvent&)': mainframe.cpp:688: error: conversion from 'const char [34]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp:689: error: conversion from 'const char [2]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp:690: error: conversion from 'const char [1]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp:691: error: conversion from 'const char [1]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> mainframe.cpp:692: error: conversion from 'const char [32]' to 'wxString' is ambiguous /usr/include/wx-2.5/wx/string.h:659: note: candidates are: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.5/wx/string.h:649: note: wxString::wxString(int) <near match> make[2]: *** [mainframe.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 -- Oliver Obst ES208 form follows function (Louis Sullivan). Fon: +61 2 492 16175 http://oliver.obst.eu/ Uni Newcastle School of Electrical Engineering and Computer Science |