Pages:
Author

Topic: [50 BTC total bounty] for Groupcoin development and help - page 3. (Read 26257 times)

hero member
Activity: 756
Merit: 500
Thank you.

I am trying to compile devcoin and I get

Code:

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::basic_string(const wxString&)'
ui.h:36:56: note: candidates are:
/usr/include/c++/4.6/bits/basic_string.h:528:36: note: template 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, _Alloc = std::allocator, 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, _Alloc = std::allocator]
/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, _Alloc = std::allocator, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string]
/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& {aka const std::basic_string&}'
/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, _Alloc = std::allocator]
/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&'
/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, _Alloc = std::allocator]
/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::basic_string(const wxString&)'
ui.h:36:86: note: candidates are:
/usr/include/c++/4.6/bits/basic_string.h:528:36: note: template 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, _Alloc = std::allocator, 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, _Alloc = std::allocator]
/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, _Alloc = std::allocator, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string]
/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& {aka const std::basic_string&}'
/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, _Alloc = std::allocator]
/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&'
/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, _Alloc = std::allocator]
/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::basic_string(const wxString&)'
ui.h:37:52: note: candidates are:
/usr/include/c++/4.6/bits/basic_string.h:528:36: note: template 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, _Alloc = std::allocator, 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, _Alloc = std::allocator]
/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, _Alloc = std::allocator, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string]
/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& {aka const std::basic_string&}'
/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, _Alloc = std::allocator]
/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&'
/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, _Alloc = std::allocator]
/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::basic_string(const wxString&)'
ui.h:37:82: note: candidates are:
/usr/include/c++/4.6/bits/basic_string.h:528:36: note: template 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, _Alloc = std::allocator, 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, _Alloc = std::allocator]
/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, _Alloc = std::allocator, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string]
/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& {aka const std::basic_string&}'
/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, _Alloc = std::allocator]
/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&'
/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, _Alloc = std::allocator]
/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*&, , 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}' 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}' 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}' 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}' 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}' to 'const wxStdString& {aka const std::basic_string&}'
/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}' 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}' 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}' 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}' 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}' 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}' 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}' 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}' 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}' to 'const wxStdString& {aka const std::basic_string&}'
/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}' 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}' 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}' 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}' 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}' 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::basic_string(wxString)'
ui.h:316:73: note: candidates are:
/usr/include/c++/4.6/bits/basic_string.h:528:36: note: template 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, _Alloc = std::allocator, 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, _Alloc = std::allocator]
/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, _Alloc = std::allocator, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string]
/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& {aka const std::basic_string&}'
/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, _Alloc = std::allocator]
/usr/include/c++/4.6/bits/basic_string.tcc:179:5: note:   no known conversion for argument 1 from 'wxString' to 'const std::allocator&'
/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, _Alloc = std::allocator]
/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::basic_string(wxString)'
ui.h:317:73: note: candidates are:
/usr/include/c++/4.6/bits/basic_string.h:528:36: note: template 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, _Alloc = std::allocator, 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, _Alloc = std::allocator]
/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, _Alloc = std::allocator, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string]
/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& {aka const std::basic_string&}'
/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, _Alloc = std::allocator]
/usr/include/c++/4.6/bits/basic_string.tcc:179:5: note:   no known conversion for argument 1 from 'wxString' to 'const std::allocator&'
/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, _Alloc = std::allocator]
/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::basic_string(wxString)'
ui.h:318:73: note: candidates are:
/usr/include/c++/4.6/bits/basic_string.h:528:36: note: template 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, _Alloc = std::allocator, 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, _Alloc = std::allocator]
/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, _Alloc = std::allocator, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string, 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string]
/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& {aka const std::basic_string&}'
/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, _Alloc = std::allocator]
/usr/include/c++/4.6/bits/basic_string.tcc:179:5: note:   no known conversion for argument 1 from 'wxString' to 'const std::allocator&'
/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, _Alloc = std::allocator]
/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)
/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)
/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}' 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, _Alloc = std::allocator, std::basic_string<_CharT, _Traits, _Alloc> = std::basic_string]' [-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)
hero member
Activity: 935
Merit: 1015
Devcoin is ready for preliminary testing.  Which means devcoin has not had problems for several days, but if new problems develop it may still be necessary to reload the client and/or daemon and/or restart the blockchain.

Devcoin is an ethical currency where 90% of the generation goes to open source developers and 10% to the miners:
https://github.com/Unthinkingbit/charity/wiki/Devcoin-Description

Groupcoin was just a stepping stone to devcoin and a fallback in case devcoin didn't work.  Now that devcoin does work, groupcoin is no longer needed.

There were no posts about devcoin while it was being developed because if you post that there is a new blockchain, even if you repeatedly say that the alternate currency is only a prototype and it is likely you will have to restart the blockchain, some will mine the new blockchain anyways and complain if and when you must restart it.  At this point, devcoin has been running without problem for several days.  If there is a new problem, it may still have to restarted and/or people will have to reload a new version, however the chances of that are lower than they were last week when devcoin was a prototype.

The client is called devcoin-qt and the daemon is called devcoin.  They are at:
http://sourceforge.net/projects/galacticmilieu/files/

Pick the latest release of the program you want, then download it and unpack it.  Then follow the instructions in the INSTALL file, and post the results.

Of the 90% of the generation that goes to open source developers, part of that will go to bounties.  Here are the bounties for testing devcoin.

The first five people who download the devcoin-qt client and/or devcoin daemon and make a minimal post about getting it working will get one hundred thousand devcoins.  A minimal report looks like this:

"I got the devcoin working on ."

For example:

"I got the devcoin-qt client working on my Linux / Ubuntu system."

Beyond that, the first five people who download devcoin and make an informative post about getting it working will get an additional one hundred thousand devcoins.  There is no objective definition of an informative post, because some people will game a word count or other objective definition.  So I will reward the informative post bounties at my absolute discretion.  Below is an example of a post that would qualify for the award.

"I installed the QT libraries on my Ubuntu system.  Then I downloaded the latest devcoin-qt client release from:
http://sourceforge.net/projects/galacticmilieu/files/

then I unpacked the tar file, clicked on devcoin-qt.pro which brought up the Qt Creator program, then I clicked on the run triangle and after about ten minutes the program finished compiling and ran.  However, the client didn't connect to any peers, so I closed the client and ran it again two hours later, this time it did connect and the blockchain up to block 4,372 was downloaded."

The number of devcoins offered is large because the generation is fifty thousand per block, one thousand times the initial bitcoin generation rate.  The value of a devcoin will eventually be set by the market.  A devcoin market does not exist at the time of this post and because devcoin is a preliminary blockchain which may be restarted, devcoin is not ready for a market at the time of this post.  The value will vary and there is no way to predict with certainty what the value will be in the future.

The closest type of coin to devcoin is namecoin.  The value of namecoin when the namecoin market started was in the neighbourhood of 0.005 BTC, according to:
http://www.nmcwatch.com/index.php?c=bpx&tf=1d

Since devcoin generation is one thousand times greater than bitcoin or namecoin generation, the equivalent neighbourhood would be 0.000005 DVC/BTC, giving a reciprocal of 200,000 DVC/BTC.  This does no mean you can rely or even estimate that devcoin will have that value, this is just a reminder of how namecoin started.
hero member
Activity: 756
Merit: 500
So can someone please write a quick guide on how to start mining on the groupcoin existing network or its testnet?

I have tried to work this out by going back and reading posts but I am a bit confused. I am using a Linux coin harddrive install and have compiled multicoin.
newbie
Activity: 42
Merit: 0
I have a fairly complex proposal for a new currency which addresses numerous flaws in bitcoin.
Is there an alternate venue to discuss crpytocurrencies which is not forum.bitcoin.org?

The forum is generally hostile to posts that point out problems with bitcoin and propose possible solutions.
A new discussion platform would be a good first step to generating a sustained flow of innovative ideas.
The new platform doesn't need to tied to any particular project, but it should not be focused on new projects rather than bitcoin.

Is there anything like this around yet?

In the meantime, I will work on a blog to introduce my own proposal in moderate detail (not done yet).

This sounds like a workable site to host such a thing: http://www.freeforums.org/.
legendary
Activity: 1050
Merit: 1003
Most variants are simply different, they exist not because bitcoin has flaws but because bitcoin works just fine thus they hope that variants will also work. Is it really necessary to take the position that bitcoin is flaws in order to "justify" a variant?

-MarkM-


Yes, in my opinion. But we don't have to agree on that.
legendary
Activity: 2940
Merit: 1090
Most variants are simply different, they exist not because bitcoin has flaws but because bitcoin works just fine thus they hope that variants will also work. Is it really necessary to take the position that bitcoin is flaws in order to "justify" a variant?

-MarkM-
legendary
Activity: 1050
Merit: 1003
I have a fairly complex proposal for a new currency which addresses numerous flaws in bitcoin.
Is there an alternate venue to discuss crpytocurrencies which is not forum.bitcoin.org?

The forum is generally hostile to posts that point out problems with bitcoin and propose possible solutions.
A new discussion platform would be a good first step to generating a sustained flow of innovative ideas.
The new platform doesn't need to tied to any particular project, but it should not be focused on new projects rather than bitcoin.

Is there anything like this around yet?

In the meantime, I will work on a blog to introduce my own proposal in moderate detail (not done yet).
legendary
Activity: 2940
Merit: 1090
Currently we have I think about two to four people with clients online listening on port 51333 so that other clients have someone to connect to.

We have people lurking on the #groupcoin channel in Freenode IRC.

We have tested some of the feaures DEVcoin is to have; DEVcoin will be starting from scratch once we have deeloed and tested the code for the desired features.

I have now set the four byte hello sequences for GRouPcoin that wll prevent it fro mtalking to bitcoin, testnet, namecoin etc if it happens to stumble across such a client, best come to the IRC channel for co-ordination in switching to that system all at once to minimise time of not being able to connect.

I have been testing new code privately without affecting the real GRouPcoin blockchain, which should not need any "restart" unless for some reason we are unable to develop DEVcoin (on which development seems to be proceeding okay).

See you at #groupcoin ?

-MarkM-
legendary
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
Can someone post up a brief overview/summary of where the groupcoin project is currently and approx. when it will be available for use?

Thanks
legendary
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
Approximate release date?
legendary
Activity: 2940
Merit: 1090
That seems to be working. Smiley

-MarkM-
hero member
Activity: 935
Merit: 1015
The basic file reading address code is now at:
https://raw.github.com/Unthinkingbit/charity/master/receiver.h

Please download it into the folder which includes the CreateBlock file.  Then, add the following include at the top of the CreateBlock file:

#include "receiver.h"

then in the CreateBlock function, replace:

std::string payTo = "2hix2ZoA175cC1aF6fFwnyt3XuwqQMKPg9M";

with:

std::string payTo = getCoinAddressString(std::string("receiver.csv"), (int)pindexPrev->nHeight+1);


If all works, the miner should send to the receivers in your receiver_0.csv file.
hero member
Activity: 935
Merit: 1015
Using C++ instead of python is probably the least-hackish way to go though of course.

Eventually, we'd have to move to C++ for speed in any case.  I'm starting to port over receiver.py, but not all pluribusunum at first.  So at the beginning it would just read from a file on disk, later it would get internet files and so on.

It will take at least a day to get something useful.  In the meantime, as I make a function, I might post it, like the function below:

Code:
// Get the entire text of a file.
std::string getFileText(const std::string& fileName)
{
std::ifstream fileStream(fileName.c_str());
if (!fileStream.is_open())
{
return std::string();
}
std::string fileText;
fileStream.seekg(0, std::ios::end);
fileText.reserve(fileStream.tellg());
fileStream.seekg(0, std::ios::beg);
fileText.assign((std::istreambuf_iterator(fileStream)), std::istreambuf_iterator());
return fileText;
}
legendary
Activity: 2940
Merit: 1090
I tried it your way too. Still get memory corruption. Notice it happens 4 times. Maybe you are correct about it being the thread-safe problem.

Code:
Running BitcoinMiner with 2 transactions in block
Running BitcoinMiner with 2 transactions in block
Running BitcoinMiner with 2 transactions in block
Running BitcoinMiner with 2 transactions in block
07/14/11 05:15 hashmeter   4 CPUs   1343 khash/s
BitcoinMiner:
proof-of-work found  
  hash: 000000000d2655bd92fe0c45a1aa5176324ab7a07ae7b1fa60ac324e4a96a02b  
target: 0000000014c1a700000000000000000000000000000000000000000000000000
CBlock(hash=000000000d2655bd92fe, ver=1, hashPrevBlock=00000000140c7f022ff7, hashMerkleRoot=bcda71509c, nTime=1310620588, nBits=1c14c1a7, nNonce=411743883, vtx=2)
  CTransaction(hash=54eba8ca6e, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, -1), coinbase 04a7c1141c0111)
    CTxOut(nValue=50.00000000, scriptPubKey=04ef6abceb89cf2c0bb444cb55157d)
  CTransaction(hash=b80248d783, ver=1, vin.size=1, vout.size=2, nLockTime=0)
    CTxIn(COutPoint(2b12e8a5e1, 0), scriptSig=3046022100fb67b8e49b74b5)
    CTxOut(nValue=25.23880000, scriptPubKey=OP_DUP OP_HASH160 e148bc3e1d31)
    CTxOut(nValue=0.02000000, scriptPubKey=OP_DUP OP_HASH160 59504bfa9821)
  vMerkleTree: 54eba8ca6e b80248d783 bcda71509c
07/14/11 05:16 generated 50.00
keypool keep 1679
WalletUpdateSpent found spent coin 25.2688bc 2b12e8a5e165923c8ad80946f2538f940ae1a95339bb94296ee972e31e96476d
AddToWallet 54eba8ca6e  new
AddToWallet b80248d783  new
SetBestChain: new best=000000000d2655bd92fe  height=5112  work=92619461300770
ProcessBlock: ACCEPTED
sending: inv (37 bytes)
*** glibc detected *** /home/bitcoin/bitcoin/groupcoind-PRIVNET: malloc(): memory corruption: 0x00007f5d0c56e010 ***
received: getdata (37 bytes)
received getdata for: block 000000000d2655bd92fe
sending: block (474 bytes)
*** glibc detected *** /home/bitcoin/bitcoin/groupcoind-PRIVNET: malloc(): memory corruption: 0x00007f5d0c56b010 ***
*** glibc detected *** /home/bitcoin/bitcoin/groupcoind-PRIVNET: malloc(): memory corruption: 0x00007f5d0c571010 ***
*** glibc detected *** /home/bitcoin/bitcoin/groupcoind-PRIVNET: malloc(): memory corruption: 0x00007f5d0c569010 ***
keypool added key 1901, size=101
keypool reserve 1801
^C

I don't know if I can run only one thread on demand other than by running it on a single-CPU machine, both of which are 32 bit Fedora 14 not the 64 bit Fedora 15 I have been running these tests on so far. I will have to move the code to the 32-bit compiling-machine and try.

If the thing is not thread safe then maybe we can just do some kind of semaphore around it, that example you linked to seemed to be using some kind of bracketing of the endangered area with some kind of signal to keep the threads from trying to all use it at the same time by the look of it.

Using C++ instead of python is probably the least-hackish way to go though of course.

-MarkM-
legendary
Activity: 2940
Merit: 1090
I moved the declarations of the crucial items to the very top of the file, just inside the critical block identifier:

//
// Global state
//

CCriticalSection cs_main;

    const int pyResultLength = 8192;
    char pyResult[pyResultLength];




and I changed the routine a little to accomodate that:

std::string getPythonResult(const std::string& argumentString)
{
    FILE *filePointer;

    filePointer = popen((std::string("python ") + argumentString).c_str(), "r");

    while (fgets(pyResult, pyResultLength, filePointer) != NULL)

    int status = pclose(filePointer);
    return std::string(pyResult);
}

This time all four threads ran. But I still got memory errors. I am not confident though that I am not still confusing pointers and arrays. I got compile errors trying to use &pyResult but am not sure just plain old pyResult is actually the same thing as &pyResult. Been a long time since I used C a lot. Gotta think hard on this.

Could be you are right though about it being a thread problem.

-MarkM-
hero member
Activity: 935
Merit: 1015
EDIT: the string you are returning from your getPythonResult routine is allocated inside that routine, thus is a local variable of that routine. It would need to be copied into some larger-scope allocated memory to survive beyond the invocation of the routine. That might be the memory problem. Do std::string objects auto-allocate space for themselves or do you have to do that explicitly like in C ?

Well, it's worth a try.  Try using the code below.

Code:
    int pathLength = 8192;
    char path[pathLength];
    std::ostringstream heightStream;
    heightStream << pindexPrev->nHeight+1;
    std::string heightString = heightStream.str();
    getPythonResult(std::string("receiver.py -step 100000 -height ") + heightString, path, pathLength)
    std::string payTo = std::string(path);

Code:
void getPythonResult(const std::string& argumentString, char* path, int pathLength)
{
    FILE *filePointer;

    filePointer = popen((std::string("python ") + argumentString).c_str(), "r");

    while (fgets(path, pathLength, filePointer) != NULL)

    int status = pclose(filePointer);
}

Quote
EDIT AGAIN: I don't understand C++ scope..

I don't understand it either, I just keep playing around with a trivial test case till it works.

EDIT2:  I just updated the code. deleting the return variable.  Path is only passed through now, it is converted to a std:string outside.
legendary
Activity: 2940
Merit: 1090
Threads might turn out to be a problem, but might it simply be that the memory you allocated for the result of your getPythonResult routine gets de-allocated when that routine ends, thus leaving the char* pointers referring to it pointing at de-allocated memory?

In other words did you see my edit above:

EDIT: the string you are returning from your getPythonResult routine is allocated inside that routine, thus is a local variable of that routine. It would need to be copied into some larger-scope allocated memory to survive beyond the invocation of the routine. That might be the memory problem. Do std::string objects auto-allocate space for themselves or do you have to do that explicitly like in C ?

EDIT AGAIN: I don't understand C++ scope, I tried moving the returned string's allocation to just above the function so it would exist outside the function, but then inside the function claimed it was not in scope! So I guess I have no idea how to use variables that exist outside a function from inside the function. Weird as surely lots of functions are using variables declared outside them, I just haven't figured out how they decide which ones they can use and which ones they will decide are "out of scope"...

-MarkM-
hero member
Activity: 935
Merit: 1015
Yes, that gives memory errors:
..

On the bright side though, the other machine did receive the 0.02 Smiley

Since there were no python errors posted and the other machine received coins, that probably means receiver.py is working correctly.

Code:
ThreadBitcoinMiner exiting, 3 threads remaining
..

Memory errors and a thread dying indicate it could be a popen thread problem.  Popen is apparently not thread safe:
http://lists.uclibc.org/pipermail/uclibc-cvs/2011-May/029585.html

So please try running the miner with only one thread.  If that fixes the error, then unfortunately, the only certain way I can see to fix the problem is to port all of receiver.py and pluribusunum to C++ in devcoin.  Otherwise, maybe there is some thread safe way of calling python code from a multithreaded C++ application.
legendary
Activity: 2940
Merit: 1090
Yes, that gives memory errors:

Code:
ThreadBitcoinMiner exiting, 3 threads remaining
Running BitcoinMiner with 2 transactions in block
Running BitcoinMiner with 2 transactions in block
Running BitcoinMiner with 2 transactions in block
received: verack (0 bytes)
received: getaddr (0 bytes)
received: getblocks (805 bytes)
getblocks -1 to 00000000000000000000 limit 500
sending: addr (6451 bytes)
No valid UPnP IGDs found
07/14/11 04:04 hashmeter   3 CPUs   1373 khash/s
keypool reserve 1687
BitcoinMiner:
proof-of-work found  
  hash: 0000000010f5a34386a950f513f882e267a7b209a06d12b3c9a5c62b12230956  
target: 0000000014c1a700000000000000000000000000000000000000000000000000
CBlock(hash=0000000010f5a34386a9, ver=1, hashPrevBlock=00000000124e9fdb6c96, hashMerkleRoot=3e5d46afd4, nTime=1310616451, nBits=1c14c1a7, nNonce=3761439628, vtx=2)
  CTransaction(hash=2346014636, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, -1), coinbase 04a7c1141c0135)
    CTxOut(nValue=50.00000000, scriptPubKey=049bbea080bd5b23ae401f6d1763ba)
  CTransaction(hash=6d3e0083a2, ver=1, vin.size=1, vout.size=2, nLockTime=0)
    CTxIn(COutPoint(394bf27d17, 0), scriptSig=304502200e7ebd73e2375a9d)
    CTxOut(nValue=25.26880000, scriptPubKey=OP_DUP OP_HASH160 ce4a95fb61d2)
    CTxOut(nValue=0.02000000, scriptPubKey=OP_DUP OP_HASH160 d4d5b4cae13b)
  vMerkleTree: 2346014636 6d3e0083a2 3e5d46afd4
07/14/11 04:07 generated 50.00
keypool keep 1687
WalletUpdateSpent found spent coin 25.2888bc 394bf27d17ed6799ef16f5f853ad79e3673997b4ae53a13812dc1d07402acdf8
AddToWallet 2346014636  new
AddToWallet 6d3e0083a2  new
SetBestChain: new best=0000000010f5a34386a9  height=5111  work=92566489266000
ProcessBlock: ACCEPTED
sending: inv (37 bytes)
*** glibc detected *** /home/bitcoin/bitcoin/groupcoind-PRIVNET: malloc(): memory corruption: 0x00007f701409a010 ***
received: getdata (37 bytes)
received getdata for: block 0000000010f5a34386a9
sending: block (473 bytes)
*** glibc detected *** /home/bitcoin/bitcoin/groupcoind-PRIVNET: malloc(): memory corruption: 0x00007f7014097010 ***
*** glibc detected *** /home/bitcoin/bitcoin/groupcoind-PRIVNET: malloc(): memory corruption: 0x00007f701409c010 ***
keypool reserve 1799
07/14/11 04:07:40 Flushing wallet.dat
^C

Notice also that for some reason one of my four CPU's threads was stopped right at the start.

(Maybe though that could be caused by the miner connecting, maybe it drops one of its CPU mining threads in favour of feeding getwork to the miner? Hmm not sure.)

On the bright side though, the other machine did receive the 0.02 Smiley

EDIT: the string you are returning from your getPythonResult routine is allocated inside that routine, thus is a local variable of that routine. It would need to be copied into some larger-scope allocated memory to survive beyond the invocation of the routine. That might be the memory problem. Do std::string objects auto-allocate space for themselves or do you have to do that explicitly like in C ?

-MarkM-
hero member
Activity: 935
Merit: 1015
EDIT: oops, I had generator_0.csv instead of receiver_0.csv !

Trying again...

Still got errors, plus it made few more receiver-#.csv files with bitcoin addresses instead of groupcoin addresses in them

Did you see the edit and try replacing:

"receiver.py "

with:

"receiver.py -step 100000 -height "
Pages:
Jump to: