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

native windows build #29

Open
delta1 opened this issue Jan 3, 2022 · 4 comments
Open

native windows build #29

delta1 opened this issue Jan 3, 2022 · 4 comments

Comments

@delta1
Copy link

delta1 commented Jan 3, 2022

Hi @afilini

I'm trying to get native windows build working. I managed to use cmake for libevent source but the Tor source does not have CMakeLists.txt.

I see it has a Makefile.nmake but it refers to non-existent folders and fails.

Do you know how to compile Tor on windows?

@afilini
Copy link
Member

afilini commented Jan 6, 2022

I usually cross-compile from linux, which as far as i know is also the recommended way for the tor daemon itself (not just this library).

I can keep this issue open in case somebody knows how to do that, but I'm afraid it's gonna require some major refactoring of our build.rs.

@delta1
Copy link
Author

delta1 commented Jan 6, 2022

Thanks for the feedback.

Yes the Tor project does cross compile for windows as well.

I did start down the route of modifying build.rs - using cmake for libevent - but compiling Tor will require cygwin/mingw/msys2 which I'd rather not force on our windows developers just for one dependency.

Might be worth keep this issue open for others to find. Thanks @afilini

@MCBEPluginModer
Copy link

Is it possible to use libtor in msvc?

@delta1
Copy link
Author

delta1 commented Oct 22, 2023

@MCBEPluginModer not in its current state

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

3 participants