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]

Author Topic: compiling amule, and use zlibs...  (Read 21853 times)

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amule, and use zlibs...
« Reply #15 on: August 29, 2005, 10:12:22 AM »

looks like wx-problem to me

did you do a clean install of wxGTK-2.6.1?
what options did you use to compile it? did you also enable unicode?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compiling amule, and use zlibs...
« Reply #16 on: August 29, 2005, 10:14:09 AM »

maybe you installed wxbase instead of wxmsw (which includes wxbase)?
Logged

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
wxWidgets 2.6.0
« Reply #17 on: August 29, 2005, 10:17:37 AM »

i had compiled wxMSW-2.6.0 with --without-checklistbox --disable-shared --disable-compat22 --disable-wave --disable-fraction --disable-mdi --disable-joystick

probably i must upgrade to 2.6.1...?

i dont know...
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compiling amule, and use zlibs...
« Reply #18 on: August 29, 2005, 10:40:45 AM »

yes, try with 2.6.1

and follow this guide, please: http://www.amule.org/wiki/index.php/HowTo_compile_on_Win32
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amule, and use zlibs...
« Reply #19 on: August 29, 2005, 11:20:32 AM »

and if you want uft8.systray dont forget to --enable-unicode!!!
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compiling amule, and use zlibs...
« Reply #20 on: August 29, 2005, 01:08:16 PM »

stefanero:

i believe utf8 in systray is always enabled with wx25/wx26.
and is --enable-unicode in wx26 still necessary? i thought it was enabled default
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amule, and use zlibs...
« Reply #21 on: August 29, 2005, 01:38:44 PM »

nope its not default, only gtk2 is defualt under linux, unicode not

about utf8 systry being default with wx-2.5 and wx-26 I dont think so aswell, since it my configure summary its always "no"
also making it default does not make a lot of sence, since when you use gtk1 you cant have unicode
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
compiling fine
« Reply #22 on: August 29, 2005, 02:00:10 PM »

the problem of my compiling process was the wxMSW-2.6.0, now with new version works fine, when i had installed tools in the guide there was old version of wx...(Jacobo221: i have followed the guide since start...)

now i have compiled wx without --enable-unicode, and i have used --enable-utf8-systray in amule...i don't understand what --utf8-systray for..; i have enabled it because in windows the systray use make a crash of the gui..., now i must recompile wx for really using utf8-systray?please cleary to me wath systray for..


thank u, now aMule compile :)
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compiling amule, and use zlibs...
« Reply #23 on: August 29, 2005, 02:39:47 PM »

stefanero: ok, thanks very much :)

lennynero: I compiled wx with no unicode support and didn't enable utf8 supoprt systray in aMule. It works fine.

The crash you may experience might be an amule.conf bug which makes aMule crash on every startup. To avoid this, edit C:\Documents and Settings\sensi\.aMule\amule.conf and set [Razor_Preferences]/MAIN_X_SIZE=800 and [Razor_Preferences]/MAIN_Y_SIZE=600

You might  have to do this every time you start aMule :S

Or just edit src/amuleDlg.cpp:

if (!override_size) {
      if (x2 > 0 && y2 > 0) {
         SetSize(0, 200);
      } else {
#ifndef __WXGTK__

make it:

if (!override_size) {
      if (x2 > 0 && y2 > 0) {
      //   SetSize(x2, y2);
      } else {
#ifndef __WXGTK__

So that it doesn't crash at startup, though the size of aMule's window will not be saved then. If you find this too annoying, try setting the line to "SetSize(800, 600);"

greets!
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amule, and use zlibs...
« Reply #24 on: August 29, 2005, 05:50:03 PM »

is this also used by remote-gui jacobo? I am not sure about that...since I can restart and stop my remote-gui as much as I want, and its no problem....
havent tryed real mule on win32 tho
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
thank u so much
« Reply #25 on: August 30, 2005, 01:30:50 AM »

i must thank u the comunity, you are the best, your support is unconditioned and you are very patients...i make many questions, but there is every day someone that answer...

now im testing the gui and it's a little slow..:(, in my lan the speed is acceptable, but with my adsl from the internet is very slow..(i have 15-16kB of bandwidth, now i only wait for a increasing of tecnology and hope in a faster connection between daemon and gui(and of my upload too).
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: compiling amule, and use zlibs...
« Reply #26 on: August 30, 2005, 04:51:46 AM »

C:/Programmi/MSys-1.0/local/lib/libwx_base-2.6.a(baselib_zipstrm.o)(.
data$_ZTI20wxArchiveInputStream[typeinfo for wxArchiveInputStream]+0x0):zipstrm.cpp: multiple definition of `typeinfo for wxArchiveInputStream'
amulegui-FileFunctions.o(.rdata$_ZTI20wxArchiveInputStream[typeinfo for wxArchiveInputStream]+0x0):FileFunctions.cpp: first defined here

Hum, seems to me that you are linking against wxBase, and probably against wxWidgets full, which includes wxBase already. So you have repeated code and the linker is complaining. Find where is that you specify wxBase in the link command and remove it.

Cheers!
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compiling amule, and use zlibs...
« Reply #27 on: August 30, 2005, 05:27:05 AM »

stefanero: so amulegui works for you on win32? I can't make it connect to my aMule ...

lennynero: you're wellcome ;) check phoenix's post
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amule, and use zlibs...
« Reply #28 on: August 30, 2005, 08:12:33 AM »

well I guess his problem is gone now anyways...

@Jacobo
well yeah it works fine...have you got the same svn snapshot from linux and on win32 ?
only other thing could be that the pass and the EC port are not right configured...but other then that...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compiling amule, and use zlibs...
« Reply #29 on: August 31, 2005, 12:15:34 AM »

well, i believe i know how to configure EC now... ;P though we could check when I'm back to the Windows box.

and ye, same snapshot. but not linux vs Windows: Windows aMuleGUI connecting to Windows aMule ;)
Logged
Pages: 1 [2]