Bitcoin Forum
February 26, 2017, 03:34:30 AM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Trouble running and compiling on Linux  (Read 1818 times)
Offline Offline

Activity: 1

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

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.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
The Madhatter
Hero Member
Offline Offline

Activity: 490

My avatar pic says it all

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

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

Activity: 199

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

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]
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!