Bitcoin Forum
May 09, 2024, 06:05:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [dev] git master branch doesn't compile (linux, wx 2.9, gcc 4.4.5)  (Read 1371 times)
regis (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


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$
1715277946
Hero Member
*
Offline Offline

Posts: 1715277946

View Profile Personal Message (Offline)

Ignore
1715277946
Reply with quote  #2

1715277946
Report to moderator
1715277946
Hero Member
*
Offline Offline

Posts: 1715277946

View Profile Personal Message (Offline)

Ignore
1715277946
Reply with quote  #2

1715277946
Report to moderator
1715277946
Hero Member
*
Offline Offline

Posts: 1715277946

View Profile Personal Message (Offline)

Ignore
1715277946
Reply with quote  #2

1715277946
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715277946
Hero Member
*
Offline Offline

Posts: 1715277946

View Profile Personal Message (Offline)

Ignore
1715277946
Reply with quote  #2

1715277946
Report to moderator
1715277946
Hero Member
*
Offline Offline

Posts: 1715277946

View Profile Personal Message (Offline)

Ignore
1715277946
Reply with quote  #2

1715277946
Report to moderator
regis (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!