Bitcoin Forum
September 27, 2016, 10:26:07 AM *
News: Due to DDoS attacks, there may be periodic downtime.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Trouble running and compiling on Linux  (Read 1734 times)
gue5tgue5t
Newbie
*
Offline Offline

Activity: 1


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.
1474971967
Hero Member
*
Offline Offline

Posts: 1474971967

View Profile Personal Message (Offline)

Ignore
1474971967
Reply with quote  #2

1474971967
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1474971967
Hero Member
*
Offline Offline

Posts: 1474971967

View Profile Personal Message (Offline)

Ignore
1474971967
Reply with quote  #2

1474971967
Report to moderator
1474971967
Hero Member
*
Offline Offline

Posts: 1474971967

View Profile Personal Message (Offline)

Ignore
1474971967
Reply with quote  #2

1474971967
Report to moderator
1474971967
Hero Member
*
Offline Offline

Posts: 1474971967

View Profile Personal Message (Offline)

Ignore
1474971967
Reply with quote  #2

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

Activity: 490


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


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:  

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!