Bitcoin Forum
November 12, 2024, 08:08:41 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trouble running and compiling on Linux  (Read 10434 times)
gue5tgue5t (OP)
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.
The Madhatter
Hero Member
*****
Offline Offline

Activity: 490
Merit: 511


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: 2384


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!