I'm a newbie Tor programmer and I've just edited source code for first time, but I simply can't compile it in my Windows environment. Could someone help me or, if possible, compile it for me, since I've followed lots of guides(failing)? Source Code: tor-

P.s.: Forgive my horrible English.

EDIT: Ok, I compiled Tor and run it, everything seems doing well and it doesn't show errors. And now... why doesn't Tor Browser open? Did I do anything wrong or I just have to install it separately? **EDIT(2)**For Example, can I download Tor Browser and make it run using my custom Tor? Thanks.

closed as unclear what you're asking by pabouk, Jens Kubieziel Sep 16 '14 at 21:43

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Can you elaborate on what's going wrong? What have you tried? What errors do you get? – Stig Atle Steffensen Sep 13 '14 at 18:09
  • 1
    The tor browser bundle is composed of many software packages. Tor itself can be run standalone, but the bundle is a different thing, based on firefox portable amongst other things. Compiling tor alone does not produce the browser bundle. For building the bundle there is scripts here: gitweb.torproject.org/torbrowser.git/tree/HEAD:/build-scripts – Stig Atle Steffensen Sep 14 '14 at 19:46
  • So,what does Tor core actually do? Does it just create a connection? If so, can I use any browser or I have to compile other programs? – samuelemarro Sep 14 '14 at 21:44

The problem is that that you are not compiling the browser, you are compiling the Tor proxy that the browser communicates with. Therefor, you need to set a browser to communicate with the socks5 proxy that Tor builds.

  • Ok... how can I do that with, for example, Tor Browser? Do I need to modify torrc? – samuelemarro Sep 15 '14 at 17:36
  • or with Firefox? – samuelemarro Sep 15 '14 at 18:35
  • Nevermind. I compile it so you folks answered. I 'll ask it on another post. – samuelemarro Sep 16 '14 at 11:23

In order to compile for from source you will need a seperate compiler program. In windows there is one called Visual Basic . It's usually much easier and free to use Linux gcc compiler. One option might be to install a Linux distro as a vm using virtual of and then installing gcc.

It compiles really fast in a Linux development environment. You mention you would like someone to compile it for you but then why not just use the precompiled binaries on the for project website? I doubt from your question compiling it yourself is really necessary. What modifications to the source code are you trying to make?

  • 1
    I modified it to use only 2 nodes (yes, I know it's not as safe as 3 nodes but I'll take the risk). About Visual Basic , do you know if the compiler is included in Visual Studio Suite? And how can I use it? Thanks. – samuelemarro Sep 13 '14 at 20:34
  • 1
    Tor is not written in visual basic, visual basic is a language, and visual studio's compiler supports that too alongside a lot of other languages. And typically you use Mingw Compiler for cross-platform c++ development. There is a guide here: trac.torproject.org/projects/tor/attachment/ticket/4520/… It's often more tricky to compile software like this on windows, in my own experience OpenSuse is great for cross-platform development like this, so I use that in a virtual machine. – Stig Atle Steffensen Sep 14 '14 at 10:51

Not the answer you're looking for? Browse other questions tagged or ask your own question.