amule-project / amule

'All-platform' P2P client based on eMule
1k stars 222 forks source link

Compilation error under MinGW #279

Open Akira45-0 opened 3 years ago

Akira45-0 commented 3 years ago

No idea what to do with this. I can't compile aMule 2.3.3 on mingw. The error is as such:

Compiling amule.rc
Linking amule.exe
amule-GenericClientListCtrl.o:GenericClientListCtrl.cpp:(.text+0x1dca): undefined reference to `CChatWnd::SendMessageA(wxString const&, wxString const&, unsigned long long)'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [amule.exe] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I tried with wxwidgets 3.0.5 and the previous stable version, but it makes no difference.

Please help as I can't find any precompiled binaries of 2.3.3 for windows.

``

minnyres commented 3 years ago

I compiled amule 2.3.3 for windows with Mingw-w64. Just have a try. https://github.com/minnyres/amule-win32

minnyres commented 3 years ago

You may cross compile amule for windows on a Linux machine. https://github.com/minnyres/amule-win32/blob/main/scripts/amule-2.3.3.sh

tbo47 commented 3 years ago

That is very useful. Don't you want to add this to here https://github.com/amule-project/amule/tree/master/docs I can make a PR for you if you want.

minnyres commented 3 years ago

That is very useful. Don't you want to add this to here https://github.com/amule-project/amule/tree/master/docs I can make a PR for you if you want.

Sure you can help make a PR