aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 3 [4] 5

Author Topic: tray icon with dark themes  (Read 23678 times)

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: tray icon with dark themes
« Reply #45 on: September 15, 2010, 06:45:50 PM »

but the wx was found, but I get:
Code: [Select]
checking for wxWidgets version >= 2.8.8 (--unicode=yes)... no
configure: error:
    The requested wxWidgets build couldn't be found.
   
    The configuration you asked for aMule requires a wxWidgets
    build with the following settings:
        --unicode=yes
    but such build is not available.

    To see the wxWidgets builds available on this system, please use
    'wx-config --list' command. To use the default build, returned by
    'wx-config --selected-config', use the options with their 'auto'
    default values.

    If you still get this error, then check that 'wx-config' is
    in path, the directory where wxWidgets libraries are installed
    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
    or equivalent variable and wxWidgets version is 2.8.8 or above.

I'm sure that unicode is enabled, you can check on the previous post.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: tray icon with dark themes
« Reply #46 on: September 15, 2010, 08:57:17 PM »

./configure --with-wx-prefix=/home/fabio/amule/wx
Logged

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: tray icon with dark themes
« Reply #47 on: September 15, 2010, 09:31:35 PM »

installed but crash with this bug:
Code: [Select]
Assertion failed: ./include/wx/strvararg.h:wxArgNormalizer:449: Assertion '(argtype & (wxFormatStringSpecifier<T>::value)) == argtype' failed. format specifier doesn't match argument type


archlinux 64bit
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: tray icon with dark themes
« Reply #48 on: September 15, 2010, 10:01:06 PM »

Logged

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: tray icon with dark themes
« Reply #49 on: September 15, 2010, 10:02:24 PM »

I think I will wait.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: tray icon with dark themes
« Reply #50 on: September 16, 2010, 09:42:43 PM »

I can reproduce the problem. Investigating...
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: tray icon with dark themes
« Reply #51 on: September 16, 2010, 09:51:57 PM »

you mean the segmentation fault?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: tray icon with dark themes
« Reply #52 on: September 16, 2010, 10:30:37 PM »

Yep.
Looks like wx 2.9.1 is not very well tested if bugs like this come up. At least it's known and fixed:
http://trac.wxwidgets.org/ticket/12272

So you have to try wx 2.9 SVN.
svn co http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk

I'll try try it too to see if anything else catastrophic pops up, but not tonight...
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: tray icon with dark themes
« Reply #53 on: September 16, 2010, 10:36:39 PM »

things becoming complicated hehehe
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: tray icon with dark themes
« Reply #54 on: September 18, 2010, 06:38:03 PM »

Even more so. The crash fixed in wx 2.9.2 was a bad Format in wx, there are a lot in aMule too however. I got two crashes just starting and closing it. It always boils down to a wxString::Format("%u", some_64_bit_int) which results in a simple crash with wx 2.9.

I have weeded out a bunch of these in the past, but being good weeds they have grown back mostly, especially in the Kad code. I'm currently running through the code replacing all wxString::Format with CFormat to get rid of the problem once and for all. When this patch is out you can try it again.  :)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: tray icon with dark themes
« Reply #55 on: September 18, 2010, 06:51:47 PM »

wxwidgets 1.9.2 is released? I will be released soon?
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: tray icon with dark themes
« Reply #56 on: September 20, 2010, 12:16:35 PM »

wxwidgets 1.9.2 is released? I will be released soon?
Not officially. The SVN version has the number 2.9.2.

Btw. I couldn't compile aMule by supplying --with-wx-prefix=[path2wx] after compiling the wx SVN version.
@Stu: Is there any special configure parameter that I need to add when I configure wx?
« Last Edit: September 20, 2010, 12:19:02 PM by ^marcell^ »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: tray icon with dark themes
« Reply #57 on: September 20, 2010, 01:29:41 PM »

Btw. I couldn't compile aMule by supplying --with-wx-prefix=[path2wx] after compiling the wx SVN version.
--with-wx-prefix is for installed versions of wx. You'd probably need --with-wxdir (or --with-wx-config, which works with both installed and uninstalled versions)
Logged
concordia cum veritate

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: tray icon with dark themes
« Reply #58 on: September 20, 2010, 11:02:09 PM »

I always install wx after compilation, but always in a home dir (having it configured with --prefix).

The format string issues are fixed since 10289, but I still get a crash after a few minutes in some wx network function. It doesn't run well in 64 bit Linux. In Windows it works much better.  :(

Edit: Today it runs without problems.  :-\
« Last Edit: September 20, 2010, 11:34:16 PM by Stu Redman »
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: tray icon with dark themes
« Reply #59 on: September 21, 2010, 08:25:21 AM »

I always install wx after compilation, but always in a home dir (having it configured with --prefix).
That's what I did too.
Logged
Pages: 1 2 3 [4] 5