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: windows compilation  (Read 15037 times)

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: windows compilation
« Reply #15 on: April 11, 2005, 09:53:27 PM »

The problem is, that on MSW wx uses the native listctrl by default. You can override this if you use the universal widget set (configure wx with --with-msw --enable-universal --disable-debugreport <-- this is needed because of a bug in wx), and in MuleListCtrl.h & MuleListCtrl.cpp you need to change the

Code: [Select]
#ifdef __WXMSW__lines to

Code: [Select]
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)This should work ... but it doesn't, at least for me. The MinGW compiler fails to understand correctly the MuleExtern:: namespace, and so it doesn't compile.

I have already created a "namespace-free" version of the patched listcontrol and tried it out, but, unsurprisingly, it doesn't work well... (At least much better then the unpathced native one).

So, it just seems to me that you have to wait until I can patch the native listcontol to use owner-drawn items... :(
Logged
concordia cum veritate

Sethur

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: windows compilation
« Reply #16 on: April 12, 2005, 01:57:08 PM »

I see, that's why I had the problem with undeclared MuleExtern::xxxx objects. Well, if you already claim that the source code changes that should work refuse to, I'll not try it myself and just wait, until you patched the native listctrl.

Thanks for the info!
Logged

Sethur

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: windows compilation
« Reply #17 on: April 20, 2005, 08:14:27 PM »

What's up with the windows adapted build? Still no developer industrious enough?

Greets,

Sethur
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: windows compilation
« Reply #18 on: April 20, 2005, 08:51:46 PM »

I'll take a look at it later today or tomorrow.
Logged

Sethur

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Compliled successfull
« Reply #19 on: May 06, 2005, 12:45:21 PM »

At last, i was able to compile version 2.0.0 final using wxMSW 2.6.0. Thanks for all your efforts.
By the way, it didn't compile with wxMSW 2.4.2 (I think some funktion regarding the tray icon expected a different argument). Perhaps you should adapt you configure script to not accept version 2.4.2 any more.
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: windows compilation
« Reply #20 on: May 06, 2005, 07:06:26 PM »

Agreed, the same goes for Mac also.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: windows compilation
« Reply #21 on: May 07, 2005, 12:56:55 AM »

And for linux
Logged
Pages: 1 [2]