eMule icon indicating copy to clipboard operation
eMule copied to clipboard

windows on arm(woa, arm64) support

Open busylog opened this issue 1 year ago • 1 comments

with the msbuild script modified from https://github.com/itlezy/eMule-build I can finally do arm64 build for 0.60d and 0.70a with vs2022 v143 toolchain.

I have to delete some function in order to build, so this is only a draft pr.

busylog avatar Jul 10 '24 02:07 busylog

Thanks for this proof of concept. Proper build is even simpler: 0.70b code was untouched, only projects and the solution modified.

Native ARM builds were discussed a while ago, but WOA systems are rare and the hardware is not at hand. Now, basic tests of the executable could be done in a virtual machine with ARM emulation. Then possibility of ARM64 build in the next release might be considered.

irwir avatar Sep 16 '24 11:09 irwir

Hi there is a way to get the whole emule project zip ready to be built? i'm fighting for weeks trying to handle visual studio to compile the project due to tens of errors during compiling with libs and other contents. Sorry but i cannot find a way to contact you or in the forum to know how to handle this.

Neogene avatar Jul 28 '25 05:07 Neogene

itlezy’s 0.60 build is a good start for x64 build, just edit toolchain for every sub project to your installed one. if 0.60 builds successfully, backup the sln files (should be mainly for search path things)cryptopp needs disable asm flags, and remove rdrand if you copied x64 build conf to arm64.after this draft pr, irwir added tls 1.3 for mbedtls or something in 0.70b, if you dont need those features, you can overwrite with old ver to avoid upgrading libs. but maybe new ver already resolved win arm64 issues or you can easily vcpkg install. but I didnt follow that path.On Jul 28, 2025, at 13:29, Neogene @.***> wrote:Neogene left a comment (irwir/eMule#5) Hi there is a way to get the whole emule project zip ready to be built? i'm fighting for weeks trying to handle visual studio to compile the project due to tens of errors during compiling with libs and other contents.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

busylog avatar Jul 28 '25 07:07 busylog

@busylog yes i tried with the itlezy scripts without success, eg: ID3LIB was missing vsxproject etc and got tens of errors in vs2019 and moved to the original source.

Neogene avatar Jul 29 '25 05:07 Neogene

itlezy/eMule-id3lib: Origin: https://sourceforge.net/projects/id3lib/ (stable is 3.9.1)github.comit is clearly in the 001 git clone script, and project file is under libprj(v3.9.1 branch)On Jul 29, 2025, at 13:24, Neogene @.***> wrote:Neogene left a comment (irwir/eMule#5) @busylog yes i tried with the itlezy scripts without success, eg: ID3LIB was missing vsxproject etc and got tens of errors in vs2019 and moved to the original source.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

busylog avatar Jul 29 '25 05:07 busylog

for crypto i got hundred of errors regaring psa_*_init: c linkage function cannot return c++ class '-- which is inside mbedtls eg:

Severity Code Description Project File Line Suppression State Error C2526 'psa_key_attributes_init': C linkage function cannot return C++ class 'psa_key_attributes_s' emule C:\Users\student\Desktop\eMule0.70b-Sources\mbedtls\include\psa\crypto.h 110

Neogene avatar Jul 30 '25 04:07 Neogene