Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use MSVC to compile aria2? #2163

Closed
izdbrave opened this issue Jan 18, 2024 · 2 comments
Closed

How to use MSVC to compile aria2? #2163

izdbrave opened this issue Jan 18, 2024 · 2 comments

Comments

@izdbrave
Copy link

I hope to use the libaria2 dynamic library in programs compiled with MSVC, but the official compilation method is to cross-compile the libaria2 dynamic library using gcc in Linux. Since the dynamic library compiled by gcc is not compatible with MSVC, I cannot use it. Is there a way to compile it using MSVC on Windows?

@Gaoyifei1011
Copy link

I hope to use the libaria2 dynamic library in programs compiled with MSVC, but the official compilation method is to cross-compile the libaria2 dynamic library using gcc in Linux. Since the dynamic library compiled by gcc is not compatible with MSVC, I cannot use it. Is there a way to compile it using MSVC on Windows?

You could see reference Mile.Aria2
image

@izdbrave
Copy link
Author

I hope to use the libaria2 dynamic library in programs compiled with MSVC, but the official compilation method is to cross-compile the libaria2 dynamic library using gcc in Linux. Since the dynamic library compiled by gcc is not compatible with MSVC, I cannot use it. Is there a way to compile it using MSVC on Windows?

You could see reference Mile.Aria2 image

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants