Bitcoin Forum
December 04, 2021, 05:43:11 AM *
News: Latest Bitcoin Core release: 22.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trouble running and compiling on Linux  (Read 10378 times)
gue5tgue5t
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 25, 2010, 09:41:48 PM
 #1

The binary depends on libpng12, which is long outdated. Please update it so it can be used more easily by people with current software.
The makefile is constructed brittly as well. It assumes /usr/local instead of using both /usr/local/ and /usr/. It also uses hard-coded paths for wxWidgets includes/libs/flags instead of using wx-config where appropriate. This means I had to spend twenty minutes working out how to fix it to get the right library and include paths in a general case.

Once I tweaked the makefile enough to get it started compiling, it gave a compile error. Actually a bloody load of them.

It would appear you can't implicitly convert a C++ string to a wxWidgets string on Linux. I hacked on ui.h until it compiled (though it probably has bugs with utf-8 strings given that I fixed it quickly and without knowing much of wxWidgets) and then realized this error is all over in the source code and gave up.

This software is an interesting idea, and I'd like to see it work properly on a normal linux install. Hopefully these problems can be fixed.
1638596591
Hero Member
*
Offline Offline

Posts: 1638596591

View Profile Personal Message (Offline)

Ignore
1638596591
Reply with quote  #2

1638596591
Report to moderator
1638596591
Hero Member
*
Offline Offline

Posts: 1638596591

View Profile Personal Message (Offline)

Ignore
1638596591
Reply with quote  #2

1638596591
Report to moderator
There are several different types of Bitcoin clients. EWallets such as Coinbase are like banks -- a central organization has complete control over your money. You shouldn't put much money in EWallets.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1638596591
Hero Member
*
Offline Offline

Posts: 1638596591

View Profile Personal Message (Offline)

Ignore
1638596591
Reply with quote  #2

1638596591
Report to moderator
1638596591
Hero Member
*
Offline Offline

Posts: 1638596591

View Profile Personal Message (Offline)

Ignore
1638596591
Reply with quote  #2

1638596591
Report to moderator
1638596591
Hero Member
*
Offline Offline

Posts: 1638596591

View Profile Personal Message (Offline)

Ignore
1638596591
Reply with quote  #2

1638596591
Report to moderator
The Madhatter
Hero Member
*****
Offline Offline

Activity: 490
Merit: 504


My avatar pic says it all


View Profile
April 26, 2010, 12:59:03 AM
 #2

Try the SVN version with wxwidgets 2.9. It compiles cleanly for me this way. Smiley
laszlo
Full Member
***
Offline Offline

Activity: 199
Merit: 906


View Profile
April 26, 2010, 01:37:01 PM
 #3

The problem is with the way you (or whoever built your binary package) built wxWidgets.. if you use --with-stl when you configure it, the std::string<> thing won't be a problem.  If you read that post you linked to it's just someone not using it correctly; it's just an option in wxWidgets.



BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
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!