caston
|
|
August 03, 2011, 01:58:03 AM Last edit: August 03, 2011, 02:32:19 AM by caston |
|
Thank you. I am trying to compile devcoin and I get make -f makefile.unix g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=0 -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -DGUI -o obj/util.o util.cpp In file included from headers.h:93:0, from util.cpp:4: util.h: In function 'void ExitThread(unsigned int)': util.h:653:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] In file included from headers.h:99:0, from util.cpp:4: ui.h: At global scope: ui.h:30:142: error: default argument for 'const wxString& caption' has type 'const char [8]' ui.h: In function 'int MyMessageBox(const wxString&, const wxString&, int, wxWindow*, int, int)': ui.h:36:56: error: no matching function for call to 'std::basic_string<char>::basic_string(const wxString&)' ui.h:36:56: note: candidates are: /usr/include/c++/4.6/bits/basic_string.h:528:36: note: template<class _InputIterator> std::basic_string::basic_string(_InputIterator, _InputIterator, const _Alloc&) /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: no known conversion for argument 1 from 'const wxString' to 'const char*' /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: candidate expects 4 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>] /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: no known conversion for argument 1 from 'const wxString' to 'const std::basic_string<char>& {aka const std::basic_string<char>&}' /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: no known conversion for argument 1 from 'const wxString' to 'const std::allocator<char>&' /usr/include/c++/4.6/bits/basic_string.h:432:7: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.h:432:7: note: candidate expects 0 arguments, 1 provided ui.h:36:86: error: no matching function for call to 'std::basic_string<char>::basic_string(const wxString&)' ui.h:36:86: note: candidates are: /usr/include/c++/4.6/bits/basic_string.h:528:36: note: template<class _InputIterator> std::basic_string::basic_string(_InputIterator, _InputIterator, const _Alloc&) /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: no known conversion for argument 1 from 'const wxString' to 'const char*' /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: candidate expects 4 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>] /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: no known conversion for argument 1 from 'const wxString' to 'const std::basic_string<char>& {aka const std::basic_string<char>&}' /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: no known conversion for argument 1 from 'const wxString' to 'const std::allocator<char>&' /usr/include/c++/4.6/bits/basic_string.h:432:7: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.h:432:7: note: candidate expects 0 arguments, 1 provided ui.h:37:52: error: no matching function for call to 'std::basic_string<char>::basic_string(const wxString&)' ui.h:37:52: note: candidates are: /usr/include/c++/4.6/bits/basic_string.h:528:36: note: template<class _InputIterator> std::basic_string::basic_string(_InputIterator, _InputIterator, const _Alloc&) /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: no known conversion for argument 1 from 'const wxString' to 'const char*' /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: candidate expects 4 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>] /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: no known conversion for argument 1 from 'const wxString' to 'const std::basic_string<char>& {aka const std::basic_string<char>&}' /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: no known conversion for argument 1 from 'const wxString' to 'const std::allocator<char>&' /usr/include/c++/4.6/bits/basic_string.h:432:7: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.h:432:7: note: candidate expects 0 arguments, 1 provided ui.h:37:82: error: no matching function for call to 'std::basic_string<char>::basic_string(const wxString&)' ui.h:37:82: note: candidates are: /usr/include/c++/4.6/bits/basic_string.h:528:36: note: template<class _InputIterator> std::basic_string::basic_string(_InputIterator, _InputIterator, const _Alloc&) /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: no known conversion for argument 1 from 'const wxString' to 'const char*' /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: candidate expects 4 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>] /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: no known conversion for argument 1 from 'const wxString' to 'const std::basic_string<char>& {aka const std::basic_string<char>&}' /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: no known conversion for argument 1 from 'const wxString' to 'const std::allocator<char>&' /usr/include/c++/4.6/bits/basic_string.h:432:7: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.h:432:7: note: candidate expects 0 arguments, 1 provided ui.h: At global scope: ui.h:180:62: error: default argument for parameter of type 'const wxString&' has type 'const char [1]' ui.h: In constructor 'CGetTextFromUserDialog::CGetTextFromUserDialog(wxWindow*, const string&, const string&, const string&, const string&, const string&)': ui.h:293:118: error: no matching function for call to 'CGetTextFromUserDialogBase::CGetTextFromUserDialogBase(wxWindow*&, <anonymous enum>, const string&)' ui.h:293:118: note: candidates are: uibase.h:416:3: note: CGetTextFromUserDialogBase::CGetTextFromUserDialogBase(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int) uibase.h:416:3: note: no known conversion for argument 3 from 'const string {aka const std::basic_string<char>}' to 'const wxString&' uibase.h:392:7: note: CGetTextFromUserDialogBase::CGetTextFromUserDialogBase(const CGetTextFromUserDialogBase&) uibase.h:392:7: note: candidate expects 1 argument, 3 provided ui.h:297:51: error: no matching function for call to 'wxStaticText::SetLabel(const string&)' ui.h:297:51: note: candidate is: /usr/include/wx-2.8/wx/gtk/stattext.h:38:10: note: virtual void wxStaticText::SetLabel(const wxString&) /usr/include/wx-2.8/wx/gtk/stattext.h:38:10: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxString&' ui.h:298:40: error: no matching function for call to 'wxTextCtrl::SetValue(const string&)' ui.h:298:40: note: candidate is: /usr/include/wx-2.8/wx/textctrl.h:303:18: note: virtual void wxTextCtrlBase::SetValue(const wxString&) /usr/include/wx-2.8/wx/textctrl.h:303:18: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxString&' ui.h:299:34: error: no matching function for call to 'wxString::wxString(const string&)' ui.h:299:34: note: candidates are: /usr/include/wx-2.8/wx/string.h:1283:3: note: wxString::wxString(const void*, const void*) /usr/include/wx-2.8/wx/string.h:1283:3: note: candidate expects 2 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:1280:3: note: wxString::wxString(const wxString&, size_t, size_t) /usr/include/wx-2.8/wx/string.h:1280:3: note: candidate expects 3 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:722:3: note: wxString::wxString(const wxWCharBuffer&) /usr/include/wx-2.8/wx/string.h:722:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxWCharBuffer&' /usr/include/wx-2.8/wx/string.h:720:3: note: wxString::wxString(const char*, const wxMBConv&, size_t) /usr/include/wx-2.8/wx/string.h:720:3: note: candidate expects 3 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:714:3: note: wxString::wxString(const wxStdString&) /usr/include/wx-2.8/wx/string.h:714:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxStdString& {aka const std::basic_string<wchar_t>&}' /usr/include/wx-2.8/wx/string.h:702:3: note: wxString::wxString(const wxChar*, const wxMBConv&, size_t) /usr/include/wx-2.8/wx/string.h:702:3: note: candidate expects 3 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:700:3: note: wxString::wxString(const wxChar*, size_t) /usr/include/wx-2.8/wx/string.h:700:3: note: candidate expects 2 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:698:3: note: wxString::wxString(const wxChar*) /usr/include/wx-2.8/wx/string.h:698:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxChar* {aka const wchar_t*}' /usr/include/wx-2.8/wx/string.h:694:3: note: wxString::wxString(size_t, wxChar) /usr/include/wx-2.8/wx/string.h:694:3: note: candidate expects 2 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) /usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'wxChar {aka wchar_t}' /usr/include/wx-2.8/wx/string.h:690:3: note: wxString::wxString(const wxString&) /usr/include/wx-2.8/wx/string.h:690:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxString& {aka const wxString&}' /usr/include/wx-2.8/wx/string.h:689:3: note: wxString::wxString(const wxStringBase&) /usr/include/wx-2.8/wx/string.h:689:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxStringBase& {aka const wxStringBase&}' /usr/include/wx-2.8/wx/string.h:687:3: note: wxString::wxString() /usr/include/wx-2.8/wx/string.h:687:3: note: candidate expects 0 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) /usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'int' ui.h:303:55: error: no matching function for call to 'wxStaticText::SetLabel(const string&)' ui.h:303:55: note: candidate is: /usr/include/wx-2.8/wx/gtk/stattext.h:38:10: note: virtual void wxStaticText::SetLabel(const wxString&) /usr/include/wx-2.8/wx/gtk/stattext.h:38:10: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxString&' ui.h:305:44: error: no matching function for call to 'wxTextCtrl::SetValue(const string&)' ui.h:305:44: note: candidate is: /usr/include/wx-2.8/wx/textctrl.h:303:18: note: virtual void wxTextCtrlBase::SetValue(const wxString&) /usr/include/wx-2.8/wx/textctrl.h:303:18: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxString&' ui.h:306:43: error: no matching function for call to 'wxString::wxString(const string&)' ui.h:306:43: note: candidates are: /usr/include/wx-2.8/wx/string.h:1283:3: note: wxString::wxString(const void*, const void*) /usr/include/wx-2.8/wx/string.h:1283:3: note: candidate expects 2 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:1280:3: note: wxString::wxString(const wxString&, size_t, size_t) /usr/include/wx-2.8/wx/string.h:1280:3: note: candidate expects 3 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:722:3: note: wxString::wxString(const wxWCharBuffer&) /usr/include/wx-2.8/wx/string.h:722:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxWCharBuffer&' /usr/include/wx-2.8/wx/string.h:720:3: note: wxString::wxString(const char*, const wxMBConv&, size_t) /usr/include/wx-2.8/wx/string.h:720:3: note: candidate expects 3 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:714:3: note: wxString::wxString(const wxStdString&) /usr/include/wx-2.8/wx/string.h:714:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxStdString& {aka const std::basic_string<wchar_t>&}' /usr/include/wx-2.8/wx/string.h:702:3: note: wxString::wxString(const wxChar*, const wxMBConv&, size_t) /usr/include/wx-2.8/wx/string.h:702:3: note: candidate expects 3 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:700:3: note: wxString::wxString(const wxChar*, size_t) /usr/include/wx-2.8/wx/string.h:700:3: note: candidate expects 2 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:698:3: note: wxString::wxString(const wxChar*) /usr/include/wx-2.8/wx/string.h:698:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxChar* {aka const wchar_t*}' /usr/include/wx-2.8/wx/string.h:694:3: note: wxString::wxString(size_t, wxChar) /usr/include/wx-2.8/wx/string.h:694:3: note: candidate expects 2 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) /usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'wxChar {aka wchar_t}' /usr/include/wx-2.8/wx/string.h:690:3: note: wxString::wxString(const wxString&) /usr/include/wx-2.8/wx/string.h:690:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxString& {aka const wxString&}' /usr/include/wx-2.8/wx/string.h:689:3: note: wxString::wxString(const wxStringBase&) /usr/include/wx-2.8/wx/string.h:689:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'const wxStringBase& {aka const wxStringBase&}' /usr/include/wx-2.8/wx/string.h:687:3: note: wxString::wxString() /usr/include/wx-2.8/wx/string.h:687:3: note: candidate expects 0 arguments, 1 provided /usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) /usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const string {aka const std::basic_string<char>}' to 'int' ui.h: In member function 'std::string CGetTextFromUserDialog::GetValue()': ui.h:316:73: error: no matching function for call to 'std::basic_string<char>::basic_string(wxString)' ui.h:316:73: note: candidates are: /usr/include/c++/4.6/bits/basic_string.h:528:36: note: template<class _InputIterator> std::basic_string::basic_string(_InputIterator, _InputIterator, const _Alloc&) /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: no known conversion for argument 1 from 'wxString' to 'const char*' /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: candidate expects 4 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>] /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: no known conversion for argument 1 from 'wxString' to 'const std::basic_string<char>& {aka const std::basic_string<char>&}' /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: no known conversion for argument 1 from 'wxString' to 'const std::allocator<char>&' /usr/include/c++/4.6/bits/basic_string.h:432:7: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.h:432:7: note: candidate expects 0 arguments, 1 provided ui.h: In member function 'std::string CGetTextFromUserDialog::GetValue1()': ui.h:317:73: error: no matching function for call to 'std::basic_string<char>::basic_string(wxString)' ui.h:317:73: note: candidates are: /usr/include/c++/4.6/bits/basic_string.h:528:36: note: template<class _InputIterator> std::basic_string::basic_string(_InputIterator, _InputIterator, const _Alloc&) /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: no known conversion for argument 1 from 'wxString' to 'const char*' /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: candidate expects 4 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>] /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: no known conversion for argument 1 from 'wxString' to 'const std::basic_string<char>& {aka const std::basic_string<char>&}' /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: no known conversion for argument 1 from 'wxString' to 'const std::allocator<char>&' /usr/include/c++/4.6/bits/basic_string.h:432:7: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.h:432:7: note: candidate expects 0 arguments, 1 provided ui.h: In member function 'std::string CGetTextFromUserDialog::GetValue2()': ui.h:318:73: error: no matching function for call to 'std::basic_string<char>::basic_string(wxString)' ui.h:318:73: note: candidates are: /usr/include/c++/4.6/bits/basic_string.h:528:36: note: template<class _InputIterator> std::basic_string::basic_string(_InputIterator, _InputIterator, const _Alloc&) /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:221:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:214:5: note: no known conversion for argument 1 from 'wxString' to 'const char*' /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:207:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:195:5: note: candidate expects 4 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>, std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int] /usr/include/c++/4.6/bits/basic_string.tcc:185:5: note: candidate expects 3 arguments, 1 provided /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>] /usr/include/c++/4.6/bits/basic_string.tcc:171:5: note: no known conversion for argument 1 from 'wxString' to 'const std::basic_string<char>& {aka const std::basic_string<char>&}' /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.tcc:179:5: note: no known conversion for argument 1 from 'wxString' to 'const std::allocator<char>&' /usr/include/c++/4.6/bits/basic_string.h:432:7: note: std::basic_string<_CharT, _Traits, _Alloc>::basic_string() [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/include/c++/4.6/bits/basic_string.h:432:7: note: candidate expects 0 arguments, 1 provided util.cpp: In function 'void PrintException(std::exception*, const char*)': util.cpp:579:64: error: conversion from 'char [10000]' to 'const wxString' is ambiguous util.cpp:572:10: note: candidates are: /usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match> /usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'char [10000]' to 'wxChar {aka wchar_t}' /usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match> /usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'char [10000]' to 'int' ui.h:30:12: error: initializing argument 1 of 'int MyMessageBox(const wxString&, const wxString&, int, wxWindow*, int, int)' util.cpp: In function 'void AddTimeData(unsigned int, int64)': util.cpp:867:41: error: conversion from 'const wxChar* {aka const wchar_t*}' to non-scalar type 'std::string {aka std::basic_string<char>}' requested util.cpp: In function 'std::string FormatFullVersion()': util.cpp:901:14: error: invalid conversion from 'const wxChar* {aka const wchar_t*}' to 'char' [-fpermissive] /usr/include/c++/4.6/bits/basic_string.h:942:7: error: initializing argument 1 of 'std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator+=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string<char>]' [-fpermissive] make: *** [obj/util.o] Error 1
I'm just compiling version 2.9 of wxwidgets and after that will try again. OK that's done but it looks like I have berkley db 4.8 dpkg -l | grep libdb ii libdb++-dev 5.1.4 Berkeley Database Libraries for C++ [development] ii libdb4.8 4.8.30-9 Berkeley v4.8 Database Libraries [runtime] ii libdb5.1 5.1.25-11 Berkeley v5.1 Database Libraries [runtime] ii libdb5.1++ 5.1.25-11 Berkeley v5.1 Database Libraries for C++ [runtime] ii libdb5.1++-dev 5.1.25-11 Berkeley v5.1 Database Libraries for C++ [development] ii libdb5.1-dev 5.1.25-11 Berkeley v5.1 Database Libraries [development] ii libdbd-mysql-perl 4.019-1 Perl5 database interface to the MySQL database ii libdbi-perl 1.616-1+b1 Perl Database Interface (DBI) ii libdbus-1-3 1.4.12-2 simple interprocess messaging system (library) ii libdbus-glib-1-2 0.94-2 simple interprocess messaging system (GLib-based shared library)
|