Bitcoin Forum
December 10, 2016, 05:04:06 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [dev] git master branch doesn't compile (linux, wx 2.9, gcc 4.4.5)  (Read 1183 times)
regis
Newbie
*
Offline Offline

Activity: 16


View Profile
August 17, 2011, 09:21:03 AM
 #1

I'm not sure if it's "newbie" but I cannot post to developers Tongue
I cloned git repo from github, but master doesnt compile (log below)
What's wrong with that? I have installed wxWidget 2.9,  ubuntu 10.10, gcc 4.4.5

seems that someone is using wx method which doesn't exists.. which version of wx are you using?

regis@lap:~/bit/bitcoin/src$ git fetch origin
regis@lap:~/bit/bitcoin/src$ git rebase origin/master
Current branch master is up to date.
regis@lap:~/bit/bitcoin/src$ make -j4 -f makefile.unix bitcoin
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DUSE_SSL -DUSE_UPNP=0 -I/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -D__WXDEBUG__ -D__WXGTK__ -pthread -DGUI -o obj/ui.o ui.cpp
ui.cpp: In function ‘bool GetWalletPassphrase()’:
ui.cpp:262: error: ‘class wxString’ has no member named ‘ToStdString’
ui.cpp: In member function ‘virtual void CMainFrame::OnIconize(wxIconizeEvent&)’:
ui.cpp:448: warning: ‘bool wxIconizeEvent::Iconized() const’ is deprecated (declared at /usr/local/include/wx-2.9/wx/event.h:1950)
ui.cpp:456: warning: ‘bool wxIconizeEvent::Iconized() const’ is deprecated (declared at /usr/local/include/wx-2.9/wx/event.h:1950)
ui.cpp: In member function ‘virtual void CMainFrame::OnMenuOptionsEncryptWallet(wxCommandEvent&)’:
ui.cpp:1183: error: ‘class wxString’ has no member named ‘ToStdString’
ui.cpp:1200: error: ‘class wxString’ has no member named ‘ToStdString’
ui.cpp: In member function ‘virtual void CMainFrame::OnMenuOptionsChangeWalletPassphrase(wxCommandEvent&)’:
ui.cpp:1248: error: ‘class wxString’ has no member named ‘ToStdString’
ui.cpp:1274: error: ‘class wxString’ has no member named ‘ToStdString’
ui.cpp:1294: error: ‘class wxString’ has no member named ‘ToStdString’
make: *** [obj/ui.o] Error 1
regis@lap:~/bit/bitcoin/src$
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
regis
Newbie
*
Offline Offline

Activity: 16


View Profile
August 18, 2011, 08:02:15 AM
 #2

SOLVED!  doc is wrong,   wxWidget 2.9.0 doesn't work. need 2.9.2
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!