aMule Forum

English => Compilation problems => Topic started by: orinoco on March 13, 2006, 09:01:25 AM

Title: CVS 2006-03-09 don't compile in Windows XP
Post by: orinoco on March 13, 2006, 09:01:25 AM
Hello,

I compiled successfully on Linux Debian Wxwidgets 2.7.0 (latest CVS) and aMuled CVS 2006-03-09. But I want to compile GUI for Windows XP to control remotely this aMuled deamon in Debian. I did this like in this page:

http://www.amule.org/wiki/index.php/HowTo_compile_on_Win32

using the CVS of aMuled and CVS of Wxwidgets (the same versions that in Linux). But compilation of aMule GUI fails :/ So, I downloaded and compiled this wxwidgets 2.6.1 like in this HOWTO, but compilation still fails and the error is the same like in CVS 2.7.0:

==================================================
C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:83: undefined reference to `wxGenericImageList::GetImageCount() const'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x175):C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:84: undefined reference to `wxGenericImageList::Add(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x1d9):C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:85: undefined reference to `wxGenericImageList::Add(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x23d):C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:86: undefined reference to `wxGenericImageList::Add(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x2a1):C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:87: undefined reference to `wxGenericImageList::Add(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x578): In function `ZN13CMuleListCtrlC1EP8wxWindowiRK7wxPointRK6wxSizelRK11wxValidatorRK8wxString':
C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:83: undefined reference to `wxGenericImageList::GetImageCount() const'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x5ad):C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:84: undefined reference to `wxGenericImageList::Add(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x611):C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:85: undefined reference to `wxGenericImageList::Add(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x675):C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:86: undefined reference to `wxGenericImageList::Add(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x6d9):C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:87: undefined reference to `wxGenericImageList::Add(wxBitmap const&)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x41e0): In function `Z41__static_initialization_and_destruction_0ii':
C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:73: undefined reference to `wxGenericImageList::wxGenericImageList(int, int, bool, int)'
./libmuleappgui.a(libmuleappgui_a-MuleListCtrl.o)(.text+0x41fb):C:/msys/1.0/home/amule-cvs/src/MuleListCtrl.cpp:73: undefined reference to `wxGenericImageList::~wxGenericImageList()'
collect2: ld returned 1 exit status
make[3]: *** [amulegui.exe] Error 1
make[3]: Leaving directory `/home/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amule-cvs'
make: *** [all] Error 2
==================================================

Is this bug or what?
Title: Re: CVS 2006-03-09 don't compile in Windows XP
Post by: Radek on March 13, 2006, 09:21:55 AM
The compilation (or, to be exact, the binding) under MingW/Win32 fails since 20060210, as far as I remember. I'm trying more or less every snapshot since then and none got through the compilation successfully.

So - not your fault...
Title: Re: CVS 2006-03-09 don't compile in Windows XP
Post by: orinoco on March 13, 2006, 09:38:53 AM
So, how can I compile aMule remote GUI on Windows?
Title: Re: CVS 2006-03-09 don't compile in Windows XP
Post by: thedude0001 on March 13, 2006, 12:35:06 PM
That's the point: until somebody fixes it you simply can't...
Title: Re: CVS 2006-03-09 don't compile in Windows XP
Post by: Kry on March 13, 2006, 12:47:21 PM
I have it fixed locally. Aditionally, I'll close the post. Blame the original poster for mailing me about the thread. I look at the threads when I have time and no thread is more important than any other. I don't need spam on my mailbox about it.